public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pyscard] epel10.2: Python 2 binary package renamed to python2-pyscard
@ 2026-08-21 2:57
0 siblings, 0 replies; only message in thread
From: @ 2026-08-21 2:57 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/pyscard
Branch : epel10.2
Commit : 691b869f5be872233169977a36b612224f4229d6
Author : Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Date : 2017-08-19T09:39:25-04:00
Stats : +23/-8 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/pyscard/c/691b869f5be872233169977a36b612224f4229d6?branch=epel10.2
Log:
Python 2 binary package renamed to python2-pyscard
---
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 <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
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
^ 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: Python 2 binary package renamed to python2-pyscard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox