Hello community, here is the log from the commit of package perl-pcsc for openSUSE:Factory checked in at Thu Aug 18 16:01:07 CEST 2011. -------- New Changes file: --- /dev/null 2010-08-26 16:28:41.000000000 +0200 +++ /mounts/work_src_done/STABLE/perl-pcsc/perl-pcsc.changes 2011-08-17 19:11:44.000000000 +0200 @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Wed Aug 17 19:10:52 CEST 2011 - sbrabec@suse.cz + +- New package, version 1.4.10. + calling whatdependson for head-i586 New: ---- pcsc-perl-1.4.10.tar.bz2 pcsc-perl-noSCardSetTimeout.patch perl-pcsc.changes perl-pcsc.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-pcsc.spec ++++++ # # spec file for package perl-pcsc # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: perl-pcsc %define cpan_name pcsc-perl Summary: Perl interface to Smart Card Reader Version: 1.4.10 Release: 1 License: GPLv2+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/pcsc-perl/ 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 BuildRequires: perl-macros BuildRequires: pcsc-lite-devel pkg-config Requires: libpcsclite1 %description PC/SC represents an abstraction layer to smart card readers. It provides a communication layer with a wide variety of smart card readers through a standardized API. %prep %setup -q -n %{cpan_name}-%{version} %patch -p1 %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" %{__make} %{?_smp_mflags} %check # No daemon and no card in the sysroot => no test. #%{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %clean %{__rm} -rf $RPM_BUILD_ROOT %files -f %{name}.files %defattr(-,root,root,-) %doc Changelog LICENCE README %changelog ++++++ pcsc-perl-noSCardSetTimeout.patch ++++++ Index: pcsc-perl-1.4.10/PCSC.xs =================================================================== --- pcsc-perl-1.4.10.orig/PCSC.xs +++ pcsc-perl-1.4.10/PCSC.xs @@ -369,13 +369,8 @@ _LoadPCSCLibrary () hConnect = (TSCardConnect) GET_FCT (ghDll, "SCardConnect"); hStatus = (TSCardStatus) GET_FCT (ghDll, "SCardStatus"); hGetStatusChange = (TSCardGetStatusChange) GET_FCT (ghDll, "SCardGetStatusChange"); - /* SetTimeout is not part of the original PCSC yet it is still important */ - hSetTimeout = (TSCardSetTimeout) GET_FCT (ghDll, "SCardSetTimeout"); #endif if ( -#ifndef WIN32 - !hSetTimeout || -#endif !hEstablishContext || !hReleaseContext || !hListReaders || !hConnect || !hReconnect || ! hDisconnect || !hBeginTransaction || !hEndTransaction || !hTransmit || !hStatus || !hGetStatusChange || !hCancel || !hControl) @@ -1329,8 +1324,7 @@ _Cancel (hContext) #/////////////////////////////////////////////////////////////////////////////// #// SetTimeout () #// -#// This function is only defined for PCSClite that is why we build a -#// stub after the #else processing command +#// This function is no more defined that is why we build a stub #// #// INPUT : #// - $hContext -> @@ -1338,30 +1332,6 @@ _Cancel (hContext) #// OUTPUT : #// returns either true or false depending on successful completion -#ifndef WIN32 - -unsigned long -_SetTimeout (hContext, dwTimeout) - unsigned long hContext; - unsigned long dwTimeout; - CODE: - - - gnLastError = hSetTimeout (hContext, dwTimeout); - - /* Then we check for an error */ - if (gnLastError != SCARD_S_SUCCESS) - RETVAL = FALSE; - else - RETVAL = TRUE; - OUTPUT: - RETVAL - -#else - -#// Win32 does not implement SetTimeout therefore we simply define -#// a stub. - unsigned long _SetTimeout (hContext, dwTimeout) unsigned long hContext; @@ -1371,6 +1341,4 @@ _SetTimeout (hContext, dwTimeout) OUTPUT: RETVAL -#endif - # End of File # ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org