From 5ec32667197ac137e880befeb8301d28b0ecb3a2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 11 Aug 2014 12:35:56 +0000 Subject: [PATCH 01/39] Initial setup of the repo --- .gitignore | 0 sources | 0 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 .gitignore create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/sources b/sources new file mode 100644 index 0000000..e69de29 From 377436586f442f3b9e04535e811d47704ae30b11 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Mon, 11 Aug 2014 14:40:47 +0200 Subject: [PATCH 02/39] Added pyscard --- .gitignore | 1 + pyscard.spec | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 64 insertions(+) create mode 100644 pyscard.spec diff --git a/.gitignore b/.gitignore index e69de29..cb3c80f 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/pyscard-1.6.16.tar.gz diff --git a/pyscard.spec b/pyscard.spec new file mode 100644 index 0000000..6259daa --- /dev/null +++ b/pyscard.spec @@ -0,0 +1,62 @@ +Name: pyscard +Version: 1.6.16 +Release: 2%{?dist} +Summary: A framework for building smart card aware applications in Python + +Group: Development/Libraries + +# The entire source code is LGPLv2+ except for ClassLoader.py (Python), +# and Synchronization.py, Observer.py (CC-BY-SA 3.0), according to +# http://sourceforge.net/p/pyscard/code/619/ + +License: LGPLv2+ and Python and CC-BY-SA +URL: http://ludovicrousseau.blogspot.cz/2014/07/pyscard-unofficial-version-1616.html +Source0: http://ludovic.rousseau.free.fr/softwares/pcsc-lite/%{name}-%{version}.tar.gz + +BuildRequires: python2-devel +BuildRequires: pcsc-lite-devel +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. + +%prep +%setup -q +# license file is CRLF terminated -- prevent a rpmlint warning +sed -i 's/\r//' LICENSE + +%build +CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build + +%install +%{__python} setup.py install -O1 --skip-build --root %{buildroot} +chmod 755 %{buildroot}%{python_sitearch}/smartcard/scard/_scard.so + +%files +%license LICENSE +%doc README +%doc smartcard/doc/* +%{python_sitearch}/smartcard/ +%{python_sitearch}/%{name}-%{version}-py*.egg-info + +%changelog +* Fri Aug 08 2014 Nikos Mavrogiannopoulos 1.6.16-2 +- Clarified licenses. + +* Fri Aug 01 2014 Nikos Mavrogiannopoulos 1.6.16-1 +- New (unofficial) release. + +* Fri Jan 21 2011 Andrew Elwell 1.6.12-4 +- Rebuilt to address comments in package review (bug #663102) + +* Fri Jan 14 2011 Andrew Elwell 1.6.12-3 +- Added missing BuildRequres on swig. + +* Thu Dec 16 2010 Andrew Elwell 1.6.12-2 +- Corrected CFLAGS in build. + +* Tue Dec 14 2010 Andrew Elwell 1.6.12-1 +- Initial package of 1.6.12 from upstream. diff --git a/sources b/sources index e69de29..63f9a07 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +d472530735f24e23e7278e2e6c4f87e4 pyscard-1.6.16.tar.gz From 0bc67477098b242d8d38a2d47b15f2a88a75405d Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sun, 17 Aug 2014 20:42:50 +0000 Subject: [PATCH 03/39] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild --- pyscard.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyscard.spec b/pyscard.spec index 6259daa..68eabea 100644 --- a/pyscard.spec +++ b/pyscard.spec @@ -1,6 +1,6 @@ Name: pyscard Version: 1.6.16 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A framework for building smart card aware applications in Python Group: Development/Libraries @@ -43,6 +43,9 @@ chmod 755 %{buildroot}%{python_sitearch}/smartcard/scard/_scard.so %{python_sitearch}/%{name}-%{version}-py*.egg-info %changelog +* Sun Aug 17 2014 Fedora Release Engineering - 1.6.16-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + * Fri Aug 08 2014 Nikos Mavrogiannopoulos 1.6.16-2 - Clarified licenses. From a5216c8ed5ad7490405b0293cabb049c5ba7fccd Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 18 Jun 2015 18:17:12 +0000 Subject: [PATCH 04/39] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- pyscard.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyscard.spec b/pyscard.spec index 68eabea..8042074 100644 --- a/pyscard.spec +++ b/pyscard.spec @@ -1,6 +1,6 @@ Name: pyscard Version: 1.6.16 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A framework for building smart card aware applications in Python Group: Development/Libraries @@ -43,6 +43,9 @@ chmod 755 %{buildroot}%{python_sitearch}/smartcard/scard/_scard.so %{python_sitearch}/%{name}-%{version}-py*.egg-info %changelog +* Thu Jun 18 2015 Fedora Release Engineering - 1.6.16-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Sun Aug 17 2014 Fedora Release Engineering - 1.6.16-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild From edbc91d921f96cd99fdfe4f34d0394d16cc88195 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Fri, 14 Aug 2015 10:19:24 +0200 Subject: [PATCH 05/39] updated to 1.9.0 and switched to python3 --- .gitignore | 2 ++ pyscard.spec | 24 ++++++++++++++---------- sources | 2 +- 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index cb3c80f..d5e89ee 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ /pyscard-1.6.16.tar.gz +/pyscard-1.7.0.tar.gz +/pyscard-1.9.0.tar.gz diff --git a/pyscard.spec b/pyscard.spec index 8042074..862d1ec 100644 --- a/pyscard.spec +++ b/pyscard.spec @@ -1,6 +1,6 @@ Name: pyscard -Version: 1.6.16 -Release: 4%{?dist} +Version: 1.9.0 +Release: 1%{?dist} Summary: A framework for building smart card aware applications in Python Group: Development/Libraries @@ -10,10 +10,10 @@ Group: Development/Libraries # http://sourceforge.net/p/pyscard/code/619/ License: LGPLv2+ and Python and CC-BY-SA -URL: http://ludovicrousseau.blogspot.cz/2014/07/pyscard-unofficial-version-1616.html -Source0: http://ludovic.rousseau.free.fr/softwares/pcsc-lite/%{name}-%{version}.tar.gz +URL: https://sourceforge.net/projects/pyscard/ +Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz -BuildRequires: python2-devel +BuildRequires: python3-devel BuildRequires: pcsc-lite-devel BuildRequires: swig >= 1.3.31 Requires: pcsc-lite @@ -29,20 +29,24 @@ Python wrapper module. sed -i 's/\r//' LICENSE %build -CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build +CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build %install -%{__python} setup.py install -O1 --skip-build --root %{buildroot} -chmod 755 %{buildroot}%{python_sitearch}/smartcard/scard/_scard.so +%{__python3} setup.py install -O1 --skip-build --root %{buildroot} +chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/_scard.*.so %files %license LICENSE %doc README %doc smartcard/doc/* -%{python_sitearch}/smartcard/ -%{python_sitearch}/%{name}-%{version}-py*.egg-info +%{python3_sitearch}/smartcard/ +%{python3_sitearch}/%{name}-%{version}-py*.egg-info %changelog +* Fri Aug 14 2015 Nikos Mavrogiannopoulos 1.9.0-1 +- New upstream release +- Built with python3 + * Thu Jun 18 2015 Fedora Release Engineering - 1.6.16-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild diff --git a/sources b/sources index 63f9a07..ce97d93 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d472530735f24e23e7278e2e6c4f87e4 pyscard-1.6.16.tar.gz +9ffd8637cf125981e4b2b443009855fe pyscard-1.9.0.tar.gz From 38f79ca2fe09ccc7f56e486c258db6df0b863977 Mon Sep 17 00:00:00 2001 From: Seth Jennings Date: Tue, 1 Sep 2015 10:30:00 -0500 Subject: [PATCH 06/39] New subpackage for python3 build --- pyscard.spec | 41 ++++++++++++++++++++++++++++++++++------- 1 file changed, 34 insertions(+), 7 deletions(-) diff --git a/pyscard.spec b/pyscard.spec index 862d1ec..c28cb9f 100644 --- a/pyscard.spec +++ b/pyscard.spec @@ -1,6 +1,6 @@ Name: pyscard Version: 1.9.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A framework for building smart card aware applications in Python Group: Development/Libraries @@ -13,36 +13,63 @@ License: LGPLv2+ and Python and CC-BY-SA URL: https://sourceforge.net/projects/pyscard/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz +BuildRequires: python2-devel BuildRequires: python3-devel BuildRequires: pcsc-lite-devel 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 +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. + +%package -n python3-%{name} +Summary: A framework for building smart card aware applications in Python +Requires: pcsc-lite + +%description -n python3-%{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. + %prep %setup -q # license file is CRLF terminated -- prevent a rpmlint warning sed -i 's/\r//' LICENSE %build -CFLAGS="$RPM_OPT_FLAGS" %{__python3} setup.py build +%{__python2} setup.py build +%{__python3} setup.py build %install -%{__python3} setup.py install -O1 --skip-build --root %{buildroot} -chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/_scard.*.so +%{__python2} setup.py install --root %{buildroot} +chmod 755 %{buildroot}%{python2_sitearch}/smartcard/scard/*.so +%{__python3} setup.py install --root %{buildroot} +chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so %files %license LICENSE %doc README %doc smartcard/doc/* +%{python2_sitearch}/smartcard/ +%{python2_sitearch}/%{name}-%{version}-py*.egg-info + +%files -n python3-%{name} +%license LICENSE +%doc README +%doc smartcard/doc/* %{python3_sitearch}/smartcard/ -%{python3_sitearch}/%{name}-%{version}-py*.egg-info +%{python3_sitearch}/%{name}-%{version}-py*.egg-info %changelog +* Mon Aug 31 2015 Seth Jennings 1.9.0-2 +- New subpackage for python3 build + * Fri Aug 14 2015 Nikos Mavrogiannopoulos 1.9.0-1 - New upstream release - Built with python3 From cc8b582a76f02b1f33431f6037fa1f5897511fbb Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Tue, 10 Nov 2015 15:00:17 +0000 Subject: [PATCH 07/39] - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 --- pyscard.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyscard.spec b/pyscard.spec index c28cb9f..f198d0e 100644 --- a/pyscard.spec +++ b/pyscard.spec @@ -1,6 +1,6 @@ Name: pyscard Version: 1.9.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A framework for building smart card aware applications in Python Group: Development/Libraries @@ -67,6 +67,9 @@ chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so %{python3_sitearch}/%{name}-%{version}-py*.egg-info %changelog +* Tue Nov 10 2015 Fedora Release Engineering - 1.9.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 + * Mon Aug 31 2015 Seth Jennings 1.9.0-2 - New subpackage for python3 build From d629eaaddfb020c41d838534c5cc6651f88a6819 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 4 Feb 2016 18:48:46 +0000 Subject: [PATCH 08/39] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- pyscard.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyscard.spec b/pyscard.spec index f198d0e..6906abc 100644 --- a/pyscard.spec +++ b/pyscard.spec @@ -1,6 +1,6 @@ Name: pyscard Version: 1.9.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A framework for building smart card aware applications in Python Group: Development/Libraries @@ -67,6 +67,9 @@ chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so %{python3_sitearch}/%{name}-%{version}-py*.egg-info %changelog +* Thu Feb 04 2016 Fedora Release Engineering - 1.9.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Tue Nov 10 2015 Fedora Release Engineering - 1.9.0-3 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 From 1dc6310f4c728b51c9fd881c6b15ac8f00481e17 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 19 Jul 2016 08:38:09 +0000 Subject: [PATCH 09/39] - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages --- pyscard.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyscard.spec b/pyscard.spec index 6906abc..22b9977 100644 --- a/pyscard.spec +++ b/pyscard.spec @@ -1,6 +1,6 @@ Name: pyscard Version: 1.9.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A framework for building smart card aware applications in Python Group: Development/Libraries @@ -67,6 +67,9 @@ chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so %{python3_sitearch}/%{name}-%{version}-py*.egg-info %changelog +* Tue Jul 19 2016 Fedora Release Engineering - 1.9.0-5 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + * Thu Feb 04 2016 Fedora Release Engineering - 1.9.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild From 6ee0d3cd62b7140162fe90b76b6aa1ea171d5513 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 19 Dec 2016 18:20:36 +0100 Subject: [PATCH 10/39] Rebuild for Python 3.6 --- pyscard.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyscard.spec b/pyscard.spec index 22b9977..ddc0c1d 100644 --- a/pyscard.spec +++ b/pyscard.spec @@ -1,6 +1,6 @@ Name: pyscard Version: 1.9.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: A framework for building smart card aware applications in Python Group: Development/Libraries @@ -67,6 +67,9 @@ chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so %{python3_sitearch}/%{name}-%{version}-py*.egg-info %changelog +* Mon Dec 19 2016 Miro Hrončok - 1.9.0-6 +- Rebuild for Python 3.6 + * Tue Jul 19 2016 Fedora Release Engineering - 1.9.0-5 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages From 521ef0e5c9eb7a581e5547241d6d2dd88bbe635a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 11 Feb 2017 08:09:56 +0000 Subject: [PATCH 11/39] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- pyscard.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyscard.spec b/pyscard.spec index ddc0c1d..a1cf9f8 100644 --- a/pyscard.spec +++ b/pyscard.spec @@ -1,6 +1,6 @@ Name: pyscard Version: 1.9.0 -Release: 6%{?dist} +Release: 7%{?dist} Summary: A framework for building smart card aware applications in Python Group: Development/Libraries @@ -67,6 +67,9 @@ chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so %{python3_sitearch}/%{name}-%{version}-py*.egg-info %changelog +* Sat Feb 11 2017 Fedora Release Engineering - 1.9.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Mon Dec 19 2016 Miro Hrončok - 1.9.0-6 - Rebuild for Python 3.6 From 0e513d3d0301e1f516342cd0e3525c3d1f0b1495 Mon Sep 17 00:00:00 2001 From: Seth Jennings Date: Fri, 31 Mar 2017 22:09:19 -0500 Subject: [PATCH 12/39] upstream release 1.9.5 --- .gitignore | 1 + pyscard.spec | 8 ++++---- sources | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index d5e89ee..aff0a85 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /pyscard-1.6.16.tar.gz /pyscard-1.7.0.tar.gz /pyscard-1.9.0.tar.gz +/pyscard-1.9.5.tar.gz diff --git a/pyscard.spec b/pyscard.spec index a1cf9f8..8890ea5 100644 --- a/pyscard.spec +++ b/pyscard.spec @@ -1,6 +1,6 @@ Name: pyscard -Version: 1.9.0 -Release: 7%{?dist} +Version: 1.9.5 +Release: 1%{?dist} Summary: A framework for building smart card aware applications in Python Group: Development/Libraries @@ -9,7 +9,7 @@ Group: Development/Libraries # and Synchronization.py, Observer.py (CC-BY-SA 3.0), according to # http://sourceforge.net/p/pyscard/code/619/ -License: LGPLv2+ and Python and CC-BY-SA +License: LGPLv2+ URL: https://sourceforge.net/projects/pyscard/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz @@ -40,7 +40,7 @@ This is the python3 package. %prep %setup -q # license file is CRLF terminated -- prevent a rpmlint warning -sed -i 's/\r//' LICENSE +#sed -i 's/\r//' LICENSE %build %{__python2} setup.py build diff --git a/sources b/sources index ce97d93..83d8d63 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9ffd8637cf125981e4b2b443009855fe pyscard-1.9.0.tar.gz +SHA512 (pyscard-1.9.5.tar.gz) = a0c5cd4ccbe8437ffd37afcf95c71f7d1d6c3ae364063cf81907095625d2062da8e7335ebfd15d1f952e8a8d9395e990b351b1308ab07fa456a7ee10658db4f9 From 5e61e73d1cd6c156414adc73061afaabaa91e51c Mon Sep 17 00:00:00 2001 From: Seth Jennings Date: Fri, 31 Mar 2017 22:20:06 -0500 Subject: [PATCH 13/39] update changelog --- pyscard.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyscard.spec b/pyscard.spec index 8890ea5..67bc47f 100644 --- a/pyscard.spec +++ b/pyscard.spec @@ -1,6 +1,6 @@ Name: pyscard Version: 1.9.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A framework for building smart card aware applications in Python Group: Development/Libraries @@ -67,6 +67,9 @@ chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so %{python3_sitearch}/%{name}-%{version}-py*.egg-info %changelog +* Fri Mar 31 2017 Seth Jennings - 1.9.5-2 +- upstream release 1.9.5 + * Sat Feb 11 2017 Fedora Release Engineering - 1.9.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild From 97e99d2e1b7db30d1cff40447f30355b7cb4f33d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 27 Jul 2017 09:24:07 +0000 Subject: [PATCH 14/39] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- pyscard.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyscard.spec b/pyscard.spec index 67bc47f..28637b6 100644 --- a/pyscard.spec +++ b/pyscard.spec @@ -1,6 +1,6 @@ Name: pyscard Version: 1.9.5 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A framework for building smart card aware applications in Python Group: Development/Libraries @@ -67,6 +67,9 @@ chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so %{python3_sitearch}/%{name}-%{version}-py*.egg-info %changelog +* Thu Jul 27 2017 Fedora Release Engineering - 1.9.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Fri Mar 31 2017 Seth Jennings - 1.9.5-2 - upstream release 1.9.5 From fcd6b192f9c4689eb48d6b39219a29f0f3622306 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 3 Aug 2017 06:36:06 +0000 Subject: [PATCH 15/39] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild --- pyscard.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyscard.spec b/pyscard.spec index 28637b6..0472a65 100644 --- a/pyscard.spec +++ b/pyscard.spec @@ -1,6 +1,6 @@ Name: pyscard Version: 1.9.5 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A framework for building smart card aware applications in Python Group: Development/Libraries @@ -67,6 +67,9 @@ chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so %{python3_sitearch}/%{name}-%{version}-py*.egg-info %changelog +* Thu Aug 03 2017 Fedora Release Engineering - 1.9.5-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + * Thu Jul 27 2017 Fedora Release Engineering - 1.9.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From 691b869f5be872233169977a36b612224f4229d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 19 Aug 2017 09:39:25 -0400 Subject: [PATCH 16/39] Python 2 binary package renamed to python2-pyscard --- pyscard.spec | 31 +++++++++++++++++++++++-------- 1 file changed, 23 insertions(+), 8 deletions(-) diff --git a/pyscard.spec b/pyscard.spec index 0472a65..a1a0c71 100644 --- a/pyscard.spec +++ b/pyscard.spec @@ -1,6 +1,6 @@ Name: pyscard Version: 1.9.5 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A framework for building smart card aware applications in Python Group: Development/Libraries @@ -17,15 +17,26 @@ BuildRequires: python2-devel BuildRequires: python3-devel BuildRequires: pcsc-lite-devel 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. +%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} Summary: A framework for building smart card aware applications in Python Requires: pcsc-lite @@ -52,7 +63,7 @@ chmod 755 %{buildroot}%{python2_sitearch}/smartcard/scard/*.so %{__python3} setup.py install --root %{buildroot} chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so -%files +%files -n python2-%{name} %license LICENSE %doc README %doc smartcard/doc/* @@ -67,6 +78,10 @@ chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so %{python3_sitearch}/%{name}-%{version}-py*.egg-info %changelog +* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 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 - 1.9.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild From 61c75216170298f116cc542cfb302d98c822c294 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sun, 20 Aug 2017 10:41:29 -0400 Subject: [PATCH 17/39] Add Provides for the old name without %_isa --- pyscard.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pyscard.spec b/pyscard.spec index a1a0c71..e66a35f 100644 --- a/pyscard.spec +++ b/pyscard.spec @@ -1,6 +1,6 @@ Name: pyscard Version: 1.9.5 -Release: 5%{?dist} +Release: 6%{?dist} Summary: A framework for building smart card aware applications in Python Group: Development/Libraries @@ -32,6 +32,7 @@ Summary: %summary Requires: pcsc-lite %{?python_provide:%python_provide python2-%{name}} # Remove before F30 +Provides: pyscard = %{version}-%{release} Provides: pyscard%{?_isa} = %{version}-%{release} Obsoletes: pyscard < %{version}-%{release} @@ -78,6 +79,9 @@ chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so %{python3_sitearch}/%{name}-%{version}-py*.egg-info %changelog +* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek - 1.9.5-6 +- Add Provides for the old name without %%_isa + * Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 1.9.5-5 - Python 2 binary package renamed to python2-pyscard See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 From f5ba0f16336e2be0a2c073c8569d82bf775f2554 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 9 Feb 2018 06:19:01 +0000 Subject: [PATCH 18/39] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- pyscard.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyscard.spec b/pyscard.spec index e66a35f..74eca6b 100644 --- a/pyscard.spec +++ b/pyscard.spec @@ -1,6 +1,6 @@ Name: pyscard Version: 1.9.5 -Release: 6%{?dist} +Release: 7%{?dist} Summary: A framework for building smart card aware applications in Python Group: Development/Libraries @@ -79,6 +79,9 @@ chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so %{python3_sitearch}/%{name}-%{version}-py*.egg-info %changelog +* Fri Feb 09 2018 Fedora Release Engineering - 1.9.5-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek - 1.9.5-6 - Add Provides for the old name without %%_isa From 59d0db2102baa2b99fb12a1a905634f38d3b5a41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 19 Jun 2018 10:51:17 +0200 Subject: [PATCH 19/39] Rebuilt for Python 3.7 --- pyscard.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyscard.spec b/pyscard.spec index 74eca6b..d1ce71f 100644 --- a/pyscard.spec +++ b/pyscard.spec @@ -1,6 +1,6 @@ Name: pyscard Version: 1.9.5 -Release: 7%{?dist} +Release: 8%{?dist} Summary: A framework for building smart card aware applications in Python Group: Development/Libraries @@ -79,6 +79,9 @@ chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so %{python3_sitearch}/%{name}-%{version}-py*.egg-info %changelog +* Tue Jun 19 2018 Miro Hrončok - 1.9.5-8 +- Rebuilt for Python 3.7 + * Fri Feb 09 2018 Fedora Release Engineering - 1.9.5-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From 0d90a1a71ff366ae6509a373e9f2d5222a7a1505 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 10 Jul 2018 15:56:25 +0200 Subject: [PATCH 20/39] add BuildRequires: gcc Reference: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot --- pyscard.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/pyscard.spec b/pyscard.spec index d1ce71f..f398bcc 100644 --- a/pyscard.spec +++ b/pyscard.spec @@ -13,6 +13,7 @@ License: LGPLv2+ URL: https://sourceforge.net/projects/pyscard/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz +BuildRequires: gcc BuildRequires: python2-devel BuildRequires: python3-devel BuildRequires: pcsc-lite-devel From bb7085a1ed60737929e8f6a9de1740471e7b03a7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 23:13:19 +0000 Subject: [PATCH 21/39] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- pyscard.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyscard.spec b/pyscard.spec index f398bcc..3e621ce 100644 --- a/pyscard.spec +++ b/pyscard.spec @@ -1,6 +1,6 @@ Name: pyscard Version: 1.9.5 -Release: 8%{?dist} +Release: 9%{?dist} Summary: A framework for building smart card aware applications in Python Group: Development/Libraries @@ -80,6 +80,9 @@ chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so %{python3_sitearch}/%{name}-%{version}-py*.egg-info %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 1.9.5-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Tue Jun 19 2018 Miro Hrončok - 1.9.5-8 - Rebuilt for Python 3.7 From b81a8931cf7acbac61d1f40b2b3a1f0a20681a45 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Wed, 31 Jan 2018 15:58:51 -0700 Subject: [PATCH 22/39] Support python3 on EPEL --- pyscard.spec | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/pyscard.spec b/pyscard.spec index 3e621ce..7d5c749 100644 --- a/pyscard.spec +++ b/pyscard.spec @@ -1,6 +1,6 @@ Name: pyscard Version: 1.9.5 -Release: 9%{?dist} +Release: 10%{?dist} Summary: A framework for building smart card aware applications in Python Group: Development/Libraries @@ -15,7 +15,7 @@ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar. BuildRequires: gcc BuildRequires: python2-devel -BuildRequires: python3-devel +BuildRequires: python%{python3_pkgversion}-devel BuildRequires: pcsc-lite-devel BuildRequires: swig >= 1.3.31 @@ -39,11 +39,11 @@ Obsoletes: pyscard < %{version}-%{release} %description -n python2-%{name} %_description -%package -n python3-%{name} +%package -n python%{python3_pkgversion}-%{name} Summary: A framework for building smart card aware applications in Python Requires: pcsc-lite -%description -n python3-%{name} +%description -n python%{python3_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. @@ -56,13 +56,13 @@ This is the python3 package. #sed -i 's/\r//' LICENSE %build -%{__python2} setup.py build -%{__python3} setup.py build +%py2_build +%py3_build %install -%{__python2} setup.py install --root %{buildroot} +%py2_install chmod 755 %{buildroot}%{python2_sitearch}/smartcard/scard/*.so -%{__python3} setup.py install --root %{buildroot} +%py3_install chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so %files -n python2-%{name} @@ -72,7 +72,7 @@ chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so %{python2_sitearch}/smartcard/ %{python2_sitearch}/%{name}-%{version}-py*.egg-info -%files -n python3-%{name} +%files -n python%{python3_pkgversion}-%{name} %license LICENSE %doc README %doc smartcard/doc/* @@ -80,6 +80,9 @@ chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so %{python3_sitearch}/%{name}-%{version}-py*.egg-info %changelog +* Fri Nov 16 2018 Orion Poplawski - 1.9.5-10 +- Support python3 on EPEL + * Fri Jul 13 2018 Fedora Release Engineering - 1.9.5-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From 82e0e463d53cb441cdccd63b354659e42163745d Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Fri, 16 Nov 2018 14:35:38 -0700 Subject: [PATCH 23/39] Update to 1.9.7 Drop python2 on Fedora 30+, RHEL 8+ (BZ# 1634871) Support python3 on EPEL (BZ# 1540752) --- .gitignore | 1 + pyscard.spec | 64 +++++++++++++++++++++++++++++++++++++++++++++------- sources | 2 +- 3 files changed, 58 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index aff0a85..54a3f7c 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /pyscard-1.7.0.tar.gz /pyscard-1.9.0.tar.gz /pyscard-1.9.5.tar.gz +/pyscard-1.9.7.tar.gz diff --git a/pyscard.spec b/pyscard.spec index 7d5c749..483126c 100644 --- a/pyscard.spec +++ b/pyscard.spec @@ -1,6 +1,13 @@ +#Drop python2 on Fedora 30+ and RHEL 8+ +%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 +%bcond_with python2 +%else +%bcond_without python2 +%endif + Name: pyscard -Version: 1.9.5 -Release: 10%{?dist} +Version: 1.9.7 +Release: 1%{?dist} Summary: A framework for building smart card aware applications in Python Group: Development/Libraries @@ -14,8 +21,6 @@ URL: https://sourceforge.net/projects/pyscard/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz BuildRequires: gcc -BuildRequires: python2-devel -BuildRequires: python%{python3_pkgversion}-devel BuildRequires: pcsc-lite-devel BuildRequires: swig >= 1.3.31 @@ -28,8 +33,10 @@ This is the python2 package. %description %_description +%if %{with python2} %package -n python2-%{name} Summary: %summary +BuildRequires: python2-devel Requires: pcsc-lite %{?python_provide:%python_provide python2-%{name}} # Remove before F30 @@ -38,10 +45,13 @@ Provides: pyscard%{?_isa} = %{version}-%{release} Obsoletes: pyscard < %{version}-%{release} %description -n python2-%{name} %_description +%endif %package -n python%{python3_pkgversion}-%{name} Summary: A framework for building smart card aware applications in Python +BuildRequires: python%{python3_pkgversion}-devel Requires: pcsc-lite +%{?python_provide:%python_provide python%{python3_pkgversion}-%{name}} %description -n python%{python3_pkgversion}-%{name} The pyscard smartcard library is a framework for building smart card aware @@ -50,38 +60,76 @@ 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 #sed -i 's/\r//' LICENSE %build +%if %{with python2} %py2_build +%endif %py3_build +%if 0%{?python3_other_pkgversion} +%py3_other_build +%endif %install +%if %{with python2} %py2_install chmod 755 %{buildroot}%{python2_sitearch}/smartcard/scard/*.so +%endif %py3_install chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so +%if 0%{?python3_other_pkgversion} +%py3_other_install +%endif +%if %{with python2} %files -n python2-%{name} %license LICENSE -%doc README +%doc ACKS README.md %doc smartcard/doc/* %{python2_sitearch}/smartcard/ %{python2_sitearch}/%{name}-%{version}-py*.egg-info +%endif %files -n python%{python3_pkgversion}-%{name} %license LICENSE -%doc README +%doc ACKS README.md %doc smartcard/doc/* %{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 -* Fri Nov 16 2018 Orion Poplawski - 1.9.5-10 -- Support python3 on EPEL +* Fri Nov 16 2018 Orion Poplawski - 1.9.7-1 +- Update to 1.9.7 +- Drop python2 on Fedora 30+, RHEL 8+ (BZ# 1634871) +- Support python3 on EPEL (BZ# 1540752) * Fri Jul 13 2018 Fedora Release Engineering - 1.9.5-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index 83d8d63..c6aa8a6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyscard-1.9.5.tar.gz) = a0c5cd4ccbe8437ffd37afcf95c71f7d1d6c3ae364063cf81907095625d2062da8e7335ebfd15d1f952e8a8d9395e990b351b1308ab07fa456a7ee10658db4f9 +SHA512 (pyscard-1.9.7.tar.gz) = 339d6efd5fcaa361e30029e736d4e2e98e05acd701c39574b40960b4bcec4782ca9c1d6927cea0b3641c5e6a137d0b9fbd961b58422a4151cfbdfa067dcd4b4a From 28880d205a7fad92d8b4e4f36012192e2f2290ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 15 Jan 2019 11:50:15 +0100 Subject: [PATCH 24/39] Subpackage python2-pyscard has been removed --- pyscard.spec | 54 +++++++++------------------------------------------- 1 file changed, 9 insertions(+), 45 deletions(-) diff --git a/pyscard.spec b/pyscard.spec index 483126c..d98831f 100644 --- a/pyscard.spec +++ b/pyscard.spec @@ -1,13 +1,6 @@ -#Drop python2 on Fedora 30+ and RHEL 8+ -%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 -%bcond_with python2 -%else -%bcond_without python2 -%endif - Name: pyscard Version: 1.9.7 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A framework for building smart card aware applications in Python Group: Development/Libraries @@ -24,28 +17,10 @@ BuildRequires: gcc BuildRequires: pcsc-lite-devel BuildRequires: swig >= 1.3.31 -%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. - -%description %_description - -%if %{with python2} -%package -n python2-%{name} -Summary: %summary -BuildRequires: python2-devel -Requires: pcsc-lite -%{?python_provide:%python_provide python2-%{name}} -# Remove before F30 -Provides: pyscard = %{version}-%{release} -Provides: pyscard%{?_isa} = %{version}-%{release} -Obsoletes: pyscard < %{version}-%{release} - -%description -n python2-%{name} %_description -%endif +%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. %package -n python%{python3_pkgversion}-%{name} Summary: A framework for building smart card aware applications in Python @@ -81,33 +56,18 @@ This is the python3 package. #sed -i 's/\r//' LICENSE %build -%if %{with python2} -%py2_build -%endif %py3_build %if 0%{?python3_other_pkgversion} %py3_other_build %endif %install -%if %{with python2} -%py2_install -chmod 755 %{buildroot}%{python2_sitearch}/smartcard/scard/*.so -%endif %py3_install chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so %if 0%{?python3_other_pkgversion} %py3_other_install %endif -%if %{with python2} -%files -n python2-%{name} -%license LICENSE -%doc ACKS README.md -%doc smartcard/doc/* -%{python2_sitearch}/smartcard/ -%{python2_sitearch}/%{name}-%{version}-py*.egg-info -%endif %files -n python%{python3_pkgversion}-%{name} %license LICENSE @@ -126,6 +86,10 @@ chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so %endif %changelog +* Tue Jan 15 2019 Miro Hrončok - 1.9.7-2 +- Subpackage python2-pyscard has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Fri Nov 16 2018 Orion Poplawski - 1.9.7-1 - Update to 1.9.7 - Drop python2 on Fedora 30+, RHEL 8+ (BZ# 1634871) From d522234281d85b8c1a406c64682f264c6d8f2d33 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Jan 2019 20:18:14 +0100 Subject: [PATCH 25/39] Remove obsolete Group tag References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- pyscard.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/pyscard.spec b/pyscard.spec index d98831f..c4d91ec 100644 --- a/pyscard.spec +++ b/pyscard.spec @@ -3,7 +3,6 @@ Version: 1.9.7 Release: 2%{?dist} Summary: A framework for building smart card aware applications in Python -Group: Development/Libraries # The entire source code is LGPLv2+ except for ClassLoader.py (Python), # and Synchronization.py, Observer.py (CC-BY-SA 3.0), according to From d1cc05aecfb63c544863a2aecfd37d08965bd5ee Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 2 Feb 2019 05:17:44 +0000 Subject: [PATCH 26/39] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- pyscard.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyscard.spec b/pyscard.spec index c4d91ec..5844642 100644 --- a/pyscard.spec +++ b/pyscard.spec @@ -1,6 +1,6 @@ Name: pyscard Version: 1.9.7 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A framework for building smart card aware applications in Python @@ -85,6 +85,9 @@ chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so %endif %changelog +* Sat Feb 02 2019 Fedora Release Engineering - 1.9.7-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Tue Jan 15 2019 Miro Hrončok - 1.9.7-2 - Subpackage python2-pyscard has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal From eb304f31d8f26f04d61d4b2740f2bc9c4abd1875 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 26 Jul 2019 11:48:22 +0000 Subject: [PATCH 27/39] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- pyscard.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyscard.spec b/pyscard.spec index 5844642..edae9b9 100644 --- a/pyscard.spec +++ b/pyscard.spec @@ -1,6 +1,6 @@ Name: pyscard Version: 1.9.7 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A framework for building smart card aware applications in Python @@ -85,6 +85,9 @@ chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so %endif %changelog +* Fri Jul 26 2019 Fedora Release Engineering - 1.9.7-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sat Feb 02 2019 Fedora Release Engineering - 1.9.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 89c0efbd67eab7be691c546c37183d6603bed573 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 19 Aug 2019 10:24:31 +0200 Subject: [PATCH 28/39] Rebuilt for Python 3.8 --- pyscard.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyscard.spec b/pyscard.spec index edae9b9..1de9160 100644 --- a/pyscard.spec +++ b/pyscard.spec @@ -1,6 +1,6 @@ Name: pyscard Version: 1.9.7 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A framework for building smart card aware applications in Python @@ -85,6 +85,9 @@ chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so %endif %changelog +* Mon Aug 19 2019 Miro Hrončok - 1.9.7-5 +- Rebuilt for Python 3.8 + * Fri Jul 26 2019 Fedora Release Engineering - 1.9.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From d82008fc6c563428c0169b7aab562e4322821798 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 3 Oct 2019 13:59:56 +0200 Subject: [PATCH 29/39] Rebuilt for Python 3.8.0rc1 (#1748018) --- pyscard.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyscard.spec b/pyscard.spec index 1de9160..4a84590 100644 --- a/pyscard.spec +++ b/pyscard.spec @@ -1,6 +1,6 @@ Name: pyscard Version: 1.9.7 -Release: 5%{?dist} +Release: 6%{?dist} Summary: A framework for building smart card aware applications in Python @@ -85,6 +85,9 @@ chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so %endif %changelog +* Thu Oct 03 2019 Miro Hrončok - 1.9.7-6 +- Rebuilt for Python 3.8.0rc1 (#1748018) + * Mon Aug 19 2019 Miro Hrončok - 1.9.7-5 - Rebuilt for Python 3.8 From ef400e32f002f34417d72f0640b75520fd33a8ce Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 30 Jan 2020 10:15:47 +0000 Subject: [PATCH 30/39] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- pyscard.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyscard.spec b/pyscard.spec index 4a84590..2c1d6eb 100644 --- a/pyscard.spec +++ b/pyscard.spec @@ -1,6 +1,6 @@ Name: pyscard Version: 1.9.7 -Release: 6%{?dist} +Release: 7%{?dist} Summary: A framework for building smart card aware applications in Python @@ -85,6 +85,9 @@ chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so %endif %changelog +* Thu Jan 30 2020 Fedora Release Engineering - 1.9.7-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Thu Oct 03 2019 Miro Hrončok - 1.9.7-6 - Rebuilt for Python 3.8.0rc1 (#1748018) From 4bd3163e89fd5fad39b28ff83f7c4dce9a15236c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 26 May 2020 02:58:34 +0200 Subject: [PATCH 31/39] Rebuilt for Python 3.9 --- pyscard.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyscard.spec b/pyscard.spec index 2c1d6eb..40f487a 100644 --- a/pyscard.spec +++ b/pyscard.spec @@ -1,6 +1,6 @@ Name: pyscard Version: 1.9.7 -Release: 7%{?dist} +Release: 8%{?dist} Summary: A framework for building smart card aware applications in Python @@ -85,6 +85,9 @@ chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so %endif %changelog +* Tue May 26 2020 Miro Hrončok - 1.9.7-8 +- Rebuilt for Python 3.9 + * Thu Jan 30 2020 Fedora Release Engineering - 1.9.7-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From c952600f6912b751fd4d47023b5af58fac060afa Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jul 2020 23:23:18 +0000 Subject: [PATCH 32/39] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- pyscard.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyscard.spec b/pyscard.spec index 40f487a..8a8c86b 100644 --- a/pyscard.spec +++ b/pyscard.spec @@ -1,6 +1,6 @@ Name: pyscard Version: 1.9.7 -Release: 8%{?dist} +Release: 9%{?dist} Summary: A framework for building smart card aware applications in Python @@ -85,6 +85,9 @@ chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so %endif %changelog +* Tue Jul 28 2020 Fedora Release Engineering - 1.9.7-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Tue May 26 2020 Miro Hrončok - 1.9.7-8 - Rebuilt for Python 3.9 From 827f6ad7004d8cad0fb77fcc9723b08362c39215 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 27 Jan 2021 08:57:21 +0000 Subject: [PATCH 33/39] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- pyscard.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyscard.spec b/pyscard.spec index 8a8c86b..207c684 100644 --- a/pyscard.spec +++ b/pyscard.spec @@ -1,6 +1,6 @@ Name: pyscard Version: 1.9.7 -Release: 9%{?dist} +Release: 10%{?dist} Summary: A framework for building smart card aware applications in Python @@ -85,6 +85,9 @@ chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so %endif %changelog +* Wed Jan 27 2021 Fedora Release Engineering - 1.9.7-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Tue Jul 28 2020 Fedora Release Engineering - 1.9.7-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 29e8ea4d8d87977c0d5bb98c0b0da327501a4cba Mon Sep 17 00:00:00 2001 From: Tomas Hrnciar Date: Mon, 22 Mar 2021 14:43:58 +0100 Subject: [PATCH 34/39] Explicitly BuildRequire setuptools & spec cleanup --- pyscard.spec | 37 ++++++------------------------------- 1 file changed, 6 insertions(+), 31 deletions(-) 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 From 102004afe0658a64805db9e15722bdcb22caa0ec Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 4 Jun 2021 20:17:35 +0200 Subject: [PATCH 35/39] Rebuilt for Python 3.10 --- pyscard.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyscard.spec b/pyscard.spec index 1a201d1..0323234 100644 --- a/pyscard.spec +++ b/pyscard.spec @@ -1,6 +1,6 @@ Name: pyscard Version: 1.9.7 -Release: 11%{?dist} +Release: 12%{?dist} Summary: A framework for building smart card aware applications in Python @@ -56,6 +56,9 @@ chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so %{python3_sitearch}/%{name}-%{version}-py*.egg-info %changelog +* Fri Jun 04 2021 Python Maint - 1.9.7-12 +- Rebuilt for Python 3.10 + * Mon Mar 22 2021 Tomas Hrnciar - 1.9.7-11 - remove %{python3_other_version} ifs - explicitly buildrequire python3-setuptools From c367114da2c98c6fd2aef6dab8a8e1e9201bb9d0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 04:30:37 +0000 Subject: [PATCH 36/39] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- pyscard.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyscard.spec b/pyscard.spec index 0323234..e8cf253 100644 --- a/pyscard.spec +++ b/pyscard.spec @@ -1,6 +1,6 @@ Name: pyscard Version: 1.9.7 -Release: 12%{?dist} +Release: 13%{?dist} Summary: A framework for building smart card aware applications in Python @@ -56,6 +56,9 @@ chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so %{python3_sitearch}/%{name}-%{version}-py*.egg-info %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 1.9.7-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Fri Jun 04 2021 Python Maint - 1.9.7-12 - Rebuilt for Python 3.10 From 923fca1128f2ba80b0bb9b95c2ff28c6b10e4dd5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jan 2022 09:53:11 +0000 Subject: [PATCH 37/39] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- pyscard.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyscard.spec b/pyscard.spec index e8cf253..27f16f0 100644 --- a/pyscard.spec +++ b/pyscard.spec @@ -1,6 +1,6 @@ Name: pyscard Version: 1.9.7 -Release: 13%{?dist} +Release: 14%{?dist} Summary: A framework for building smart card aware applications in Python @@ -56,6 +56,9 @@ chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so %{python3_sitearch}/%{name}-%{version}-py*.egg-info %changelog +* Fri Jan 21 2022 Fedora Release Engineering - 1.9.7-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Jul 23 2021 Fedora Release Engineering - 1.9.7-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 7449444c16eec63ca10036b8ed1c43ec77ec28a3 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Tue, 31 May 2022 16:41:31 -0600 Subject: [PATCH 38/39] Update to 2.0.3 New URL --- .gitignore | 1 + pyscard.spec | 12 ++++++++---- sources | 2 +- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 54a3f7c..349d902 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /pyscard-1.9.0.tar.gz /pyscard-1.9.5.tar.gz /pyscard-1.9.7.tar.gz +/pyscard-2.0.3.tar.gz diff --git a/pyscard.spec b/pyscard.spec index 27f16f0..a2fc791 100644 --- a/pyscard.spec +++ b/pyscard.spec @@ -1,6 +1,6 @@ Name: pyscard -Version: 1.9.7 -Release: 14%{?dist} +Version: 2.0.3 +Release: 1%{?dist} Summary: A framework for building smart card aware applications in Python @@ -9,8 +9,8 @@ Summary: A framework for building smart card aware applications in Python # http://sourceforge.net/p/pyscard/code/619/ License: LGPLv2+ -URL: https://sourceforge.net/projects/pyscard/ -Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz +URL: https://github.com/LudovicRousseau/pyscard +Source0: https://github.com/LudovicRousseau/pyscard/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc BuildRequires: pcsc-lite-devel @@ -56,6 +56,10 @@ chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so %{python3_sitearch}/%{name}-%{version}-py*.egg-info %changelog +* Tue May 31 2022 Orion Poplawski - 2.0.3-1 +- Update to 2.0.3 +- New URL + * Fri Jan 21 2022 Fedora Release Engineering - 1.9.7-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/sources b/sources index c6aa8a6..fa2ab09 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyscard-1.9.7.tar.gz) = 339d6efd5fcaa361e30029e736d4e2e98e05acd701c39574b40960b4bcec4782ca9c1d6927cea0b3641c5e6a137d0b9fbd961b58422a4151cfbdfa067dcd4b4a +SHA512 (pyscard-2.0.3.tar.gz) = b0b9bc152ffcb055a7a29d31affbba4487d48d3003ce46f877f67cd352635f07c26aef5d9f080620581b170ae7833d4205aaa381fa2d3566308ad8bca1d9785f From d908dde62f610fa4f250e102c2e056f80e0fe945 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Mon, 30 Oct 2023 23:48:49 +0300 Subject: [PATCH 39/39] Remove unnecessary files --- sources | 1 - 1 file changed, 1 deletion(-) delete mode 100644 sources diff --git a/sources b/sources deleted file mode 100644 index fa2ab09..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (pyscard-2.0.3.tar.gz) = b0b9bc152ffcb055a7a29d31affbba4487d48d3003ce46f877f67cd352635f07c26aef5d9f080620581b170ae7833d4205aaa381fa2d3566308ad8bca1d9785f