public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/pyscard] epel10: Subpackage python2-pyscard has been removed
Date: Fri, 21 Aug 2026 02:56:45 GMT	[thread overview]
Message-ID: <178728100581.1.5579536548217598207.rpms-pyscard-28880d205a7f@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/pyscard
Branch : epel10
Commit : 28880d205a7fad92d8b4e4f36012192e2f2290ef
Author : Miro Hrončok <miro@hroncok.cz>
Date   : 2019-01-15T11:51:32+01:00
Stats  : +9/-45 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/pyscard/c/28880d205a7fad92d8b4e4f36012192e2f2290ef?branch=epel10

Log:
Subpackage python2-pyscard has been removed

---
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 <mhroncok@redhat.com> - 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 <orion@nwra.com> - 1.9.7-1
 - Update to 1.9.7
 - Drop python2 on Fedora 30+, RHEL 8+ (BZ# 1634871)

                 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=178728100581.1.5579536548217598207.rpms-pyscard-28880d205a7f@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