public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pyscard] epel10: Explicitly BuildRequire setuptools & spec cleanup
@ 2026-08-21 2:56 Tomas Hrnciar
0 siblings, 0 replies; only message in thread
From: Tomas Hrnciar @ 2026-08-21 2:56 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/pyscard
Branch : epel10
Commit : 29e8ea4d8d87977c0d5bb98c0b0da327501a4cba
Author : Tomas Hrnciar <thrnciar@redhat.com>
Date : 2021-03-22T14:43:58+01:00
Stats : +6/-31 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/pyscard/c/29e8ea4d8d87977c0d5bb98c0b0da327501a4cba?branch=epel10
Log:
Explicitly BuildRequire setuptools & spec cleanup
---
diff --git a/pyscard.spec b/pyscard.spec
index 207c684..1a201d1 100644
--- a/pyscard.spec
+++ b/pyscard.spec
@@ -1,6 +1,6 @@
Name: pyscard
Version: 1.9.7
-Release: 10%{?dist}
+Release: 11%{?dist}
Summary: A framework for building smart card aware applications in Python
@@ -24,6 +24,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}}
@@ -34,21 +35,6 @@ Python wrapper module.
This is the python3 package.
-%if 0%{?python3_other_pkgversion}
-%package -n python%{python3_other_pkgversion}-%{name}
-Summary: A framework for building smart card aware applications in Python
-BuildRequires: python%{python3_other_pkgversion}-devel
-Requires: pcsc-lite
-%{?python_provide:%python_provide python%{python3_other_pkgversion}-%{name}}
-
-%description -n python%{python3_other_pkgversion}-%{name}
-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 python3 package.
-%endif
-
%prep
%setup -q
# license file is CRLF terminated -- prevent a rpmlint warning
@@ -56,16 +42,10 @@ This is the python3 package.
%build
%py3_build
-%if 0%{?python3_other_pkgversion}
-%py3_other_build
-%endif
%install
%py3_install
chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so
-%if 0%{?python3_other_pkgversion}
-%py3_other_install
-%endif
%files -n python%{python3_pkgversion}-%{name}
@@ -75,16 +55,11 @@ chmod 755 %{buildroot}%{python3_sitearch}/smartcard/scard/*.so
%{python3_sitearch}/smartcard/
%{python3_sitearch}/%{name}-%{version}-py*.egg-info
-%if 0%{?python3_other_pkgversion}
-%files -n python%{python3_other_pkgversion}-%{name}
-%license LICENSE
-%doc ACKS README.md
-%doc smartcard/doc/*
-%{python3_other_sitearch}/smartcard/
-%{python3_other_sitearch}/%{name}-%{version}-py*.egg-info
-%endif
-
%changelog
+* Mon Mar 22 2021 Tomas Hrnciar <thrnciar@redhat.com> - 1.9.7-11
+- remove %{python3_other_version} ifs
+- explicitly buildrequire python3-setuptools
+
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.7-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-21 2:56 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:56 [rpms/pyscard] epel10: Explicitly BuildRequire setuptools & spec cleanup Tomas Hrnciar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox