public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pcsc-perl] epel10: - Apply #defines patch only when building with pcsc-lite < 1.4.0.
@ 2026-09-03 15:00
0 siblings, 0 replies; only message in thread
From: @ 2026-09-03 15:00 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/pcsc-perl
Branch : epel10
Commit : 9233c8368cbfcd70d03aacf8901f1150dcef8517
Author : Ville Skyttä <scop@fedoraproject.org>
Date : 2007-08-16T09:22:55+00:00
Stats : +7/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/pcsc-perl/c/9233c8368cbfcd70d03aacf8901f1150dcef8517?branch=epel10
Log:
- Apply #defines patch only when building with pcsc-lite < 1.4.0.
- License: GPLv2+
---
diff --git a/pcsc-perl.spec b/pcsc-perl.spec
index 4d1fa61..31872fc 100644
--- a/pcsc-perl.spec
+++ b/pcsc-perl.spec
@@ -6,11 +6,11 @@
Name: pcsc-perl
Version: 1.4.6
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Perl interface to the PC/SC smart card library
Group: Development/Libraries
-License: GPL
+License: GPLv2+
URL: http://ludovic.rousseau.free.fr/softwares/pcsc-perl/
Source0: http://ludovic.rousseau.free.fr/softwares/pcsc-perl/%{name}-%{version}.tar.gz
Patch0: %{name}-1.4.6-defines.patch
@@ -29,7 +29,7 @@ library.
%prep
%setup -q
-%patch0 -p1
+pkg-config --atleast-version 1.4.0 libpcsclite || patch -p1 -i %{PATCH0}
chmod 644 examples/* # avoid dependencies
f=Changelog ; iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f
@@ -68,6 +68,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Tue Aug 7 2007 Ville Skyttä <ville.skytta at iki.fi> - 1.4.6-2
+- Apply #defines patch only when building with pcsc-lite < 1.4.0.
+- License: GPLv2+
+
* Tue Apr 17 2007 Ville Skyttä <ville.skytta at iki.fi> - 1.4.6-1
- 1.4.6 + PCSCperl.h #defines fixes.
- BuildRequire perl(ExtUtils::MakeMaker).
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-03 15:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-03 15:00 [rpms/pcsc-perl] epel10: - Apply #defines patch only when building with pcsc-lite < 1.4.0
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox