public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Orion Poplawski <orion@nwra.com>
To: git-commits@fedoraproject.org
Subject: [rpms/pyscard] epel10: Update to 2.2.2
Date: Fri, 21 Aug 2026 02:57:00 GMT [thread overview]
Message-ID: <178728102022.1.14277651719159844928.rpms-pyscard-58f3fc7cf2a7@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/pyscard
Branch : epel10
Commit : 58f3fc7cf2a71206c8eaf5b0e84f4fe3b418f4ca
Author : Orion Poplawski <orion@nwra.com>
Date : 2025-07-27T15:44:40-06:00
Stats : +13/-13 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/pyscard/c/58f3fc7cf2a71206c8eaf5b0e84f4fe3b418f4ca?branch=epel10
Log:
Update to 2.2.2
Use pyproject macros (rhbz#2377403)
---
diff --git a/.gitignore b/.gitignore
index d83c51b..2f5cc8b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
/pyscard-1.9.7.tar.gz
/pyscard-2.0.3.tar.gz
/pyscard-2.0.5.tar.gz
+/pyscard-2.2.2.tar.gz
diff --git a/pyscard.spec b/pyscard.spec
index 3d163eb..83f949e 100644
--- a/pyscard.spec
+++ b/pyscard.spec
@@ -1,5 +1,5 @@
Name: pyscard
-Version: 2.0.5
+Version: 2.2.2
Release: %autorelease
Summary: A framework for building smart card aware applications in Python
@@ -25,9 +25,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}}
%description -n python%{python3_pkgversion}-%{name}
The pyscard smartcard library is a framework for building smart card aware
@@ -38,23 +36,24 @@ 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/,"swig"//' pyproject.toml
+
+%generate_buildrequires
+%pyproject_buildrequires
%build
-%py3_build
+%pyproject_wheel
%install
-%py3_install
+%pyproject_install
+%pyproject_save_files -l smartcard
+ls -l %{buildroot}%{python3_sitearch}/smartcard/scard/*.so
chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so
-%files -n python%{python3_pkgversion}-%{name}
-%license LICENSE
+%files -n python%{python3_pkgversion}-%{name} -f %{pyproject_files}
%doc ACKS README.md
-%doc smartcard/doc/*
-%{python3_sitearch}/smartcard/
-%{python3_sitearch}/%{name}-%{version}-py*.egg-info
+%doc src/smartcard/doc/*
%changelog
%autochangelog
diff --git a/sources b/sources
index d149a0a..5bd1c0e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pyscard-2.0.5.tar.gz) = 6fdca175baff2eeb48235059a1595f9d39ad4c495d6506af567bd5db439f633d688d3c1738c8a17f1cd756980b865c9590003b7d5883d42e239838282901d7f6
+SHA512 (pyscard-2.2.2.tar.gz) = 2f5f4bbbdc65c4116ea04a01241c5c714cf62335a65591eb60a400499792749dd2c3408624be374d46885636cdef573db58d72b207512375318069cad3abb187
reply other threads:[~2026-08-21 2:57 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=178728102022.1.14277651719159844928.rpms-pyscard-58f3fc7cf2a7@fedoraproject.org \
--to=orion@nwra.com \
--cc=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