From bb784f802ba725095ce2faa193742ff4357f4add Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ville=20Skytt=C3=A4?= <s...@fedoraproject.org>
Date: Wed, 18 Apr 2007 17:15:36 +0000
Subject: - 1.4.6 + PCSCperl.h #defines fixes. - BuildRequire
 perl(ExtUtils::MakeMaker).

---
 .cvsignore                    |  2 +-
 pcsc-perl-1.4.6-defines.patch | 13 +++++++++++++
 pcsc-perl.spec                | 12 +++++++++---
 sources                       |  2 +-
 4 files changed, 24 insertions(+), 5 deletions(-)
 create mode 100644 pcsc-perl-1.4.6-defines.patch

diff --git a/.cvsignore b/.cvsignore
index b5a0a9b..20db023 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -1 +1 @@
-pcsc-perl-1.4.4.tar.gz
+pcsc-perl-1.4.6.tar.gz
diff --git a/pcsc-perl-1.4.6-defines.patch b/pcsc-perl-1.4.6-defines.patch
new file mode 100644
index 0000000..6ab6eed
--- /dev/null
+++ b/pcsc-perl-1.4.6-defines.patch
@@ -0,0 +1,13 @@
+--- pcsc-perl-1.4.6/PCSCperl.h~        2007-04-17 23:06:16.000000000 +0300
++++ pcsc-perl-1.4.6/PCSCperl.h 2007-04-17 23:12:04.000000000 +0300
+@@ -66,8 +66,8 @@
+ #  define CLOSE_LIB(x)    dlclose(x)
+ #  define DLL_HANDLE      void*
+ #  define GET_FCT         dlsym
+-#define LPCTSTR LPCSTR
+-#define LPTSTR LPSTR
++#  define LPCSTR          LPCTSTR
++#  define LPSTR           LPTSTR
+ #endif /* LINUX/FreeBSD */
+ 
+ #ifdef  __APPLE__
diff --git a/pcsc-perl.spec b/pcsc-perl.spec
index 15e30f0..4d1fa61 100644
--- a/pcsc-perl.spec
+++ b/pcsc-perl.spec
@@ -5,17 +5,18 @@
 %endif
 
 Name:           pcsc-perl
-Version:        1.4.4
-Release:        3%{?dist}
+Version:        1.4.6
+Release:        1%{?dist}
 Summary:        Perl interface to the PC/SC smart card library
 
 Group:          Development/Libraries
 License:        GPL
 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
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  pcsc-lite-devel >= %{pcscver}
 Requires:       %{pcsclib}%{?mark64}
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -28,6 +29,7 @@ library.
 
 %prep
 %setup -q
+%patch0 -p1
 chmod 644 examples/* # avoid dependencies
 f=Changelog ; iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f
 
@@ -66,6 +68,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* 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).
+
 * Sun Dec 24 2006 Ville Skyttä <ville.skytta at iki.fi> - 1.4.4-3
 - Eliminate file based dependencies.
 
diff --git a/sources b/sources
index cba69d6..efc9799 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-999bd6ab4b41d6dd5b78fc6eb8d4b3fd  pcsc-perl-1.4.4.tar.gz
+b68132de27d2ce2dd8d796fd123da878  pcsc-perl-1.4.6.tar.gz
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/pcsc-perl.git/commit/?h=epel7&id=bb784f802ba725095ce2faa193742ff4357f4add
_______________________________________________
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