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

            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

^ 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: Update to 2.2.2 Orion Poplawski

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