public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/pyscard] epel10: Python 2 binary package renamed to python2-pyscard
Date: Fri, 21 Aug 2026 02:56:41 GMT	[thread overview]
Message-ID: <178728100192.1.10091922914693812186.rpms-pyscard-691b869f5be8@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/pyscard
Branch : epel10
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

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
 

                 reply	other threads:[~2026-08-21  2:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178728100192.1.10091922914693812186.rpms-pyscard-691b869f5be8@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox