File project.diff of Package perl-pcsc-perl

--- perl-pcsc-perl.spec.orig
+++ perl-pcsc-perl.spec
@@ -17,20 +17,20 @@
 
 
 Name:           perl-pcsc-perl
-Version:        1.4.10
+Version:        1.4.12
 Release:        0
 %define cpan_name pcsc-perl
 Summary:        pcsc::perl Perl module
 License:        CHECK(GPL-1.0+ or Artistic-1.0)
 Group:          Development/Libraries/Perl
 Url:            http://search.cpan.org/dist/pcsc-perl/
-Source:         pcsc-perl-1.4.10.tar.gz
+Source:         pcsc-perl_%{version}.tar.gz
+Patch:          remove-deprecated-defined.diff
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
-#BuildRequires: perl(Chipcard::PCSC)
-#BuildRequires: perl(Chipcard::PCSC::Card)
-#BuildRequires: perl(Term::ReadKey)
+BuildRequires:  pcsc-lite-devel
+BuildRequires:  pkg-config
 %{perl_requires}
 
 %description
@@ -39,13 +39,14 @@ pcsc::perl Perl module
 %prep
 %setup -q -n %{cpan_name}-%{version}
 find . -type f -print0 | xargs -0 chmod 644
+%patch -p1
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
-%{__make} %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+make %{?_smp_mflags}
 
-%check
-%{__make} test
+#%check
+#make test
 
 %install
 %perl_make_install