Subpackage python2-uritemplate has been removed
This commit is contained in:
parent
97bf934fd9
commit
6fc67a28dc
@ -5,7 +5,7 @@
|
||||
|
||||
Name: python-%{modname}
|
||||
Version: 3.0.0
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
Summary: Simple python library to deal with URI Templates (RFC 6570)
|
||||
|
||||
License: BSD
|
||||
@ -17,20 +17,6 @@ BuildArch: noarch
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%package -n python2-%{modname}
|
||||
Summary: %{summary}
|
||||
Conflicts: python2-uri-templates
|
||||
%{?python_provide:%python_provide python2-%{modname}}
|
||||
%{?python_provide:%python_provide python2-%{altname}}
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python2-setuptools
|
||||
BuildRequires: python2-pytest
|
||||
|
||||
%description -n python2-%{modname}
|
||||
%{summary}.
|
||||
|
||||
Python 2 version.
|
||||
|
||||
%package -n python3-%{modname}
|
||||
Summary: %{summary}
|
||||
Conflicts: python3-uri-templates
|
||||
@ -49,32 +35,26 @@ Python 3 version.
|
||||
%autosetup -n uritemplate-%{version}
|
||||
|
||||
%build
|
||||
%py2_build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%py2_install
|
||||
%py3_install
|
||||
|
||||
%check
|
||||
#py.test-%{python2_version} -v
|
||||
#py.test-%{python3_version} -v
|
||||
PYTHONPATH=%{buildroot}%{python2_sitelib} py.test-%{python2_version} -v
|
||||
PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} -v
|
||||
|
||||
%files -n python2-%{modname}
|
||||
%license LICENSE
|
||||
%doc HISTORY.rst README.rst
|
||||
%{python2_sitelib}/%{modname}-*.egg-info
|
||||
%{python2_sitelib}/%{modname}/
|
||||
|
||||
%files -n python3-%{modname}
|
||||
%license LICENSE
|
||||
%doc HISTORY.rst README.rst
|
||||
%{python3_sitelib}/%{modname}-*.egg-info
|
||||
%{python3_sitelib}/%{modname}-*.egg-info/
|
||||
%{python3_sitelib}/%{modname}/
|
||||
|
||||
%changelog
|
||||
* Wed Jul 31 2019 Miro Hrončok <mhroncok@redhat.com> - 3.0.0-7
|
||||
- Subpackage python2-uritemplate has been removed
|
||||
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user