From 631ba7091b273fb7bc90ca5601ace33b21f1b3f7 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 20 Jan 2018 09:59:38 +0100 Subject: [PATCH] =?UTF-8?q?python%{python3=5Fpkgversion}=20=E2=86=92=20pyt?= =?UTF-8?q?hon3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package doesn't support epel anyway.. Signed-off-by: Igor Gnatenko --- python-setuptools_scm.spec | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/python-setuptools_scm.spec b/python-setuptools_scm.spec index 65f1723..4df5a6c 100644 --- a/python-setuptools_scm.spec +++ b/python-setuptools_scm.spec @@ -35,17 +35,17 @@ BuildRequires: python2-pytest Setuptools_scm handles managing your python package versions in scm metadata. It also handles file finders for the suppertes scms. -%package -n python%{python3_pkgversion}-%{srcname} +%package -n python3-%{srcname} Summary: %{summary} -BuildRequires: python%{python3_pkgversion}-devel -BuildRequires: python%{python3_pkgversion}-setuptools +BuildRequires: python3-devel +BuildRequires: python3-setuptools %if %{with tests} -BuildRequires: python%{python3_pkgversion}-pytest +BuildRequires: python3-pytest %endif -%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}} +%{?python_provide:%python_provide python3-%{srcname}} 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. 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}-*.egg-info/ -%files -n python%{python3_pkgversion}-%{srcname} +%files -n python3-%{srcname} %license LICENSE %doc CHANGELOG.rst README.rst %{python3_sitelib}/%{srcname}/