rpms/pcsc-perl/devel pcsc-perl.spec,1.13,1.14
Ville Skytta (scop)
fedora-extras-commits at redhat.com
Thu Aug 16 09:23:34 UTC 2007
Author: scop
Update of /cvs/pkgs/rpms/pcsc-perl/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv312
Modified Files:
pcsc-perl.spec
Log Message:
* 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+
Index: pcsc-perl.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pcsc-perl/devel/pcsc-perl.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- pcsc-perl.spec 18 Apr 2007 17:15:36 -0000 1.13
+++ pcsc-perl.spec 16 Aug 2007 09:22:55 -0000 1.14
@@ -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 @@
%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 @@
%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).
More information about the fedora-extras-commits
mailing list