Python 2 binary package renamed to python2-pyscard

epel9
Zbigniew Jędrzejewski-Szmek 8 years ago
parent fcd6b192f9
commit 691b869f5b

@ -1,6 +1,6 @@
Name: pyscard Name: pyscard
Version: 1.9.5 Version: 1.9.5
Release: 4%{?dist} Release: 5%{?dist}
Summary: A framework for building smart card aware applications in Python Summary: A framework for building smart card aware applications in Python
Group: Development/Libraries Group: Development/Libraries
@ -17,15 +17,26 @@ BuildRequires: python2-devel
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: pcsc-lite-devel BuildRequires: pcsc-lite-devel
BuildRequires: swig >= 1.3.31 BuildRequires: swig >= 1.3.31
Requires: pcsc-lite
%description
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.
%global _description\
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 python2 package. This is the python2 package.
%description %_description
%package -n python2-%{name}
Summary: %summary
Requires: pcsc-lite
%{?python_provide:%python_provide python2-%{name}}
# Remove before F30
Provides: pyscard%{?_isa} = %{version}-%{release}
Obsoletes: pyscard < %{version}-%{release}
%description -n python2-%{name} %_description
%package -n python3-%{name} %package -n python3-%{name}
Summary: A framework for building smart card aware applications in Python Summary: A framework for building smart card aware applications in Python
Requires: pcsc-lite Requires: pcsc-lite
@ -52,7 +63,7 @@ chmod 755 %{buildroot}%{python2_sitearch}/smartcard/scard/*.so
%{__python3} setup.py install --root %{buildroot} %{__python3} setup.py install --root %{buildroot}
chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so
%files %files -n python2-%{name}
%license LICENSE %license LICENSE
%doc README %doc README
%doc smartcard/doc/* %doc smartcard/doc/*
@ -67,6 +78,10 @@ chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so
%{python3_sitearch}/%{name}-%{version}-py*.egg-info %{python3_sitearch}/%{name}-%{version}-py*.egg-info
%changelog %changelog
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.9.5-5
- Python 2 binary package renamed to python2-pyscard
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.5-4 * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

Loading…
Cancel
Save