python%{python3_pkgversion} → python3
Package doesn't support epel anyway.. Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
c50a8bc8e3
commit
631ba7091b
@ -35,17 +35,17 @@ BuildRequires: python2-pytest
|
|||||||
Setuptools_scm handles managing your python package versions in scm metadata.
|
Setuptools_scm handles managing your python package versions in scm metadata.
|
||||||
It also handles file finders for the suppertes scms.
|
It also handles file finders for the suppertes scms.
|
||||||
|
|
||||||
%package -n python%{python3_pkgversion}-%{srcname}
|
%package -n python3-%{srcname}
|
||||||
Summary: %{summary}
|
Summary: %{summary}
|
||||||
BuildRequires: python%{python3_pkgversion}-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python%{python3_pkgversion}-setuptools
|
BuildRequires: python3-setuptools
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: python%{python3_pkgversion}-pytest
|
BuildRequires: python3-pytest
|
||||||
%endif
|
%endif
|
||||||
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
|
%{?python_provide:%python_provide python3-%{srcname}}
|
||||||
Obsoletes: platform-python-%{srcname} < %{version}-%{release}
|
Obsoletes: platform-python-%{srcname} < %{version}-%{release}
|
||||||
|
|
||||||
%description -n python%{python3_pkgversion}-%{srcname}
|
%description -n python3-%{srcname}
|
||||||
Setuptools_scm handles managing your python package versions in scm metadata.
|
Setuptools_scm handles managing your python package versions in scm metadata.
|
||||||
It also handles file finders for the suppertes scms.
|
It also handles file finders for the suppertes scms.
|
||||||
|
|
||||||
@ -72,7 +72,7 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} -vv
|
|||||||
%{python2_sitelib}/%{srcname}/
|
%{python2_sitelib}/%{srcname}/
|
||||||
%{python2_sitelib}/%{srcname}-*.egg-info/
|
%{python2_sitelib}/%{srcname}-*.egg-info/
|
||||||
|
|
||||||
%files -n python%{python3_pkgversion}-%{srcname}
|
%files -n python3-%{srcname}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc CHANGELOG.rst README.rst
|
%doc CHANGELOG.rst README.rst
|
||||||
%{python3_sitelib}/%{srcname}/
|
%{python3_sitelib}/%{srcname}/
|
||||||
|
Loading…
Reference in New Issue
Block a user