From 9233c8368cbfcd70d03aacf8901f1150dcef8517 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= <s...@fedoraproject.org> Date: Thu, 16 Aug 2007 09:22:55 +0000 Subject: - Apply #defines patch only when building with pcsc-lite < 1.4.0. - License: GPLv2+
--- pcsc-perl.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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). -- cgit v0.12 http://pkgs.fedoraproject.org/cgit/pcsc-perl.git/commit/?h=el6&id=9233c8368cbfcd70d03aacf8901f1150dcef8517 _______________________________________________ perl-devel mailing list -- perl-devel@lists.fedoraproject.org To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org