public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Tomas Hrnciar <thrnciar@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/pyscard] epel10: Explicitly BuildRequire setuptools & spec cleanup
Date: Fri, 21 Aug 2026 02:56:50 GMT [thread overview]
Message-ID: <178728101062.1.14455430110968759038.rpms-pyscard-29e8ea4d8d87@fedoraproject.org> (raw)
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
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=178728101062.1.14455430110968759038.rpms-pyscard-29e8ea4d8d87@fedoraproject.org \
--to=thrnciar@redhat.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