diff --git a/pyscard.spec b/pyscard.spec index 207c684..1a201d1 100644 --- a/pyscard.spec +++ b/pyscard.spec @@ -1,6 +1,6 @@ Name: pyscard Version: 1.9.7 -Release: 10%{?dist} +Release: 11%{?dist} Summary: A framework for building smart card aware applications in Python @@ -24,6 +24,7 @@ Python wrapper module. %package -n python%{python3_pkgversion}-%{name} Summary: A framework for building smart card aware applications in Python BuildRequires: python%{python3_pkgversion}-devel +BuildRequires: python%{python3_pkgversion}-setuptools Requires: pcsc-lite %{?python_provide:%python_provide python%{python3_pkgversion}-%{name}} @@ -34,21 +35,6 @@ Python wrapper module. This is the python3 package. -%if 0%{?python3_other_pkgversion} -%package -n python%{python3_other_pkgversion}-%{name} -Summary: A framework for building smart card aware applications in Python -BuildRequires: python%{python3_other_pkgversion}-devel -Requires: pcsc-lite -%{?python_provide:%python_provide python%{python3_other_pkgversion}-%{name}} - -%description -n python%{python3_other_pkgversion}-%{name} -The pyscard smartcard library is a framework for building smart card aware -applications in Python. The smartcard module is built on top of the PCSC API -Python wrapper module. - -This is the python3 package. -%endif - %prep %setup -q # license file is CRLF terminated -- prevent a rpmlint warning @@ -56,16 +42,10 @@ This is the python3 package. %build %py3_build -%if 0%{?python3_other_pkgversion} -%py3_other_build -%endif %install %py3_install chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so -%if 0%{?python3_other_pkgversion} -%py3_other_install -%endif %files -n python%{python3_pkgversion}-%{name} @@ -75,16 +55,11 @@ chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so %{python3_sitearch}/smartcard/ %{python3_sitearch}/%{name}-%{version}-py*.egg-info -%if 0%{?python3_other_pkgversion} -%files -n python%{python3_other_pkgversion}-%{name} -%license LICENSE -%doc ACKS README.md -%doc smartcard/doc/* -%{python3_other_sitearch}/smartcard/ -%{python3_other_sitearch}/%{name}-%{version}-py*.egg-info -%endif - %changelog +* Mon Mar 22 2021 Tomas Hrnciar - 1.9.7-11 +- remove %{python3_other_version} ifs +- explicitly buildrequire python3-setuptools + * Wed Jan 27 2021 Fedora Release Engineering - 1.9.7-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild