public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pyscard] epel10.2: updated to 1.9.0 and switched to python3
@ 2026-08-21  2:57 Nikos Mavrogiannopoulos
  0 siblings, 0 replies; only message in thread
From: Nikos Mavrogiannopoulos @ 2026-08-21  2:57 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/pyscard
Branch : epel10.2
Commit : edbc91d921f96cd99fdfe4f34d0394d16cc88195
Author : Nikos Mavrogiannopoulos <nmav@redhat.com>
Date   : 2015-08-14T10:39:51+02:00
Stats  : +17/-11 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/pyscard/c/edbc91d921f96cd99fdfe4f34d0394d16cc88195?branch=epel10.2

Log:
updated to 1.9.0 and switched to python3

---
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 <nmav@redhat.com> 1.9.0-1
+- New upstream release
+- Built with python3
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-21  2:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-21  2:57 [rpms/pyscard] epel10.2: updated to 1.9.0 and switched to python3 Nikos Mavrogiannopoulos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox