Remove usage of python3_pkgversion macro

epel8
Carl George 4 years ago
parent 8b553d6b99
commit 1b50d52edf

@ -32,21 +32,21 @@ BuildArch: noarch
%description %{common_description}
%package -n python%{python3_pkgversion}-%{pkgname}
%package -n python3-%{pkgname}
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: python%{python3_pkgversion}-pyOpenSSL
BuildRequires: python%{python3_pkgversion}-service-identity
BuildRequires: python%{python3_pkgversion}-cryptography
BuildRequires: python%{python3_pkgversion}-idna
BuildRequires: python3-pytest
BuildRequires: python3-pyOpenSSL
BuildRequires: python3-service-identity
BuildRequires: python3-cryptography
BuildRequires: python3-idna
%endif
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pkgname}}
%{?python_provide:%python_provide python3-%{pkgname}}
%description -n python%{python3_pkgversion}-%{pkgname} %{common_description}
%description -n python3-%{pkgname} %{common_description}
%prep
@ -68,7 +68,7 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} --verbose
%endif
%files -n python%{python3_pkgversion}-%{pkgname}
%files -n python3-%{pkgname}
%license LICENSE LICENSE.MIT LICENSE.APACHE2
%doc README.rst
%{python3_sitelib}/%{libname}

Loading…
Cancel
Save