- Fix build for older products.
OBS-URL: https://build.opensuse.org/package/show/security:chipcard/perl-pcsc?expand=0&rev=5
This commit is contained in:
parent
15f02ea096
commit
3c3b42af9c
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 18 16:24:07 CEST 2011 - sbrabec@suse.cz
|
||||
|
||||
- Fix build for older products.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 17 19:10:52 CEST 2011 - sbrabec@suse.cz
|
||||
|
||||
|
@ -30,9 +30,13 @@ Source: %{cpan_name}-%{version}.tar.bz2
|
||||
# PATCH-FIX-OPENSUSE pcsc-perl-noSCardSetTimeout.patch sbrabec@suse.cz -- Fix for the latest pcsc-lite.
|
||||
Patch: pcsc-perl-noSCardSetTimeout.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
BuildRequires: perl
|
||||
%if 0%{?suse_version} > 1130
|
||||
%{perl_requires}
|
||||
BuildRequires: perl-macros
|
||||
%else
|
||||
Requires: perl = %{perl_version}
|
||||
%endif
|
||||
BuildRequires: pcsc-lite-devel pkg-config
|
||||
Requires: libpcsclite1
|
||||
|
||||
@ -56,7 +60,11 @@ readers through a standardized API.
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%if 0%{?suse_version} > 1130
|
||||
%perl_gen_filelist
|
||||
%else
|
||||
touch %{name}.files
|
||||
%endif
|
||||
|
||||
%clean
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
@ -64,5 +72,11 @@ readers through a standardized API.
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changelog LICENCE README
|
||||
%if 0%{?suse_version} <= 1130
|
||||
%{perl_vendorarch}/Chipcard
|
||||
%{perl_vendorarch}/auto/Chipcard
|
||||
%doc %{_mandir}/man3/*
|
||||
/var/adm/perl-modules/%{name}
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user