From a978a01cf09068873906eb3723665e4aff121e11 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ville=20Skytt=C3=A4?= <s...@fedoraproject.org>
Date: Wed, 15 Feb 2006 07:09:32 +0000
Subject: - Rebuild, cosmetics.

---
 pcsc-perl.spec | 26 +++++++++++++++-----------
 1 file changed, 15 insertions(+), 11 deletions(-)

diff --git a/pcsc-perl.spec b/pcsc-perl.spec
index 4323bb1..fee1b27 100644
--- a/pcsc-perl.spec
+++ b/pcsc-perl.spec
@@ -2,7 +2,7 @@
 
 Name:           pcsc-perl
 Version:        1.3.1
-Release: 7
+Release:        8%{?dist}
 Summary:        Perl interface to the PC/SC smart card library
 
 Group:          Development/Libraries
@@ -11,7 +11,8 @@ URL:            
http://ludovic.rousseau.free.fr/softwares/pcsc-perl/
 Source0:        
http://ludovic.rousseau.free.fr/softwares/pcsc-perl/%{name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRequires:  perl >= 1:5.6.1, pcsc-lite-devel = %{pcscver}
+BuildRequires:  perl
+BuildRequires:  pcsc-lite-devel = %{pcscver}
 Requires:       pcsc-lite-libs = %{pcscver}
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 Provides:       perl-pcsc = %{version}-%{release}
@@ -27,9 +28,9 @@ chmod 644 examples/* # avoid dependencies
 
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor INC= \
-  DEFINE=-Wall
-make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" \
+  DEFINE=-Wall INC=
+make %{?_smp_mflags}
 
 
 %install
@@ -41,8 +42,8 @@ find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 
2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
 
-%check || :
-# skipping tests
+%check
+# tests need configured readers etc
 
 
 %clean
@@ -51,13 +52,16 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-%doc Changelog LICENCE README examples
-%{perl_vendorarch}/auto/Chipcard
-%{perl_vendorarch}/Chipcard
-%{_mandir}/man3/*.3*
+%doc Changelog LICENCE README examples/
+%{perl_vendorarch}/auto/Chipcard/
+%{perl_vendorarch}/Chipcard/
+%{_mandir}/man3/Chipcard::PCSC*.3*
 
 
 %changelog
+* Wed Feb 15 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.3.1-8
+- Rebuild, cosmetics.
+
 * Sun May 22 2005 Jeremy Katz <ka...@redhat.com> - 1.3.1-7
 - rebuild on all arches
 
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/pcsc-perl.git/commit/?h=epel7&id=a978a01cf09068873906eb3723665e4aff121e11
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to