Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package pcsc-towitoko for openSUSE:Factory checked in at 2022-10-26 12:31:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pcsc-towitoko (Old) and /work/SRC/openSUSE:Factory/.pcsc-towitoko.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pcsc-towitoko" Wed Oct 26 12:31:53 2022 rev:19 rq:1031220 version:2.0.8 Changes: -------- --- /work/SRC/openSUSE:Factory/pcsc-towitoko/pcsc-towitoko.changes 2011-11-21 15:48:50.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.pcsc-towitoko.new.2275/pcsc-towitoko.changes 2022-10-26 12:31:55.620329788 +0200 @@ -1,0 +2,16 @@ +Tue Oct 18 01:40:31 UTC 2022 - Jason Sikes <[email protected]> + +- Update to 2.0.8 + * Merged fixes to upstream software comming from debian package + version 2.0.7-8.3. + * Corrected timeout value in atr reading that was set too low for + certain cards (and particularly for Spanish DNIe national identity + card). + * New downlad page: https://github.com/cprados/towitoko-linux + * Cleaned README file. + * The tarball name is now 'v2.0.8.tar.gz' +- Modified towitoko-destdir.patch +- Removed towitoko-2.0.7-install.diff towitoko-2.0.7-implicit-decls.patch +- Added towitoko-2.0.8-install.diff towitoko-2.0.8-implicit-decls.patch + +------------------------------------------------------------------- Old: ---- towitoko-2.0.7-implicit-decls.patch towitoko-2.0.7-install.diff towitoko-2.0.7.tar.bz2 New: ---- towitoko-2.0.8-implicit-decls.patch towitoko-2.0.8-install.diff v2.0.8.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pcsc-towitoko.spec ++++++ --- /var/tmp/diff_new_pack.uTV8fd/_old 2022-10-26 12:31:56.404331464 +0200 +++ /var/tmp/diff_new_pack.uTV8fd/_new 2022-10-26 12:31:56.408331473 +0200 @@ -1,7 +1,7 @@ # # spec file for package pcsc-towitoko # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,29 +12,28 @@ # 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/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -# norootforbuild - -Name: pcsc-towitoko -BuildRequires: libtool pcsc-lite-devel pkg-config %define _name towitoko -Version: 2.0.7 -Release: 182 -Group: Productivity/Security -License: LGPL-2.1+ -Url: http://www.geocities.com/cprados +%define scdir %(pkg-config libpcsclite --variable=usbdropdir) +Name: pcsc-towitoko +Version: 2.0.8 +Release: 0 Summary: PCSC driver for Towitoko Smart Card Readers -Source: %{_name}-%{version}.tar.bz2 -Patch: %{_name}-%{version}-install.diff -Patch1: %{_name}-destdir.patch -Patch2: towitoko-2.0.7-implicit-decls.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build +License: LGPL-2.1-or-later +Group: Productivity/Security +URL: https://github.com/cprados/towitoko-linux +Source: https://github.com/cprados/towitoko-linux/archive/refs/tags/v%{version}.tar.gz +Patch1: %{_name}-%{version}-install.diff +Patch2: %{_name}-destdir.patch +Patch3: towitoko-%{version}-implicit-decls.patch +BuildRequires: libtool +BuildRequires: pcsc-lite-devel +BuildRequires: pkgconfig Requires: pcsc-lite Supplements: modalias(usb:v067Bp2303d*dc*dsc*dp*ic*isc*ip*) -%define ifddir %(pkg-config libpcsclite --variable=usbdropdir) %description This package contains a driver for Towitoko Chipdrive Micro, Extern, @@ -46,15 +45,7 @@ Please note, that many modern Towitoko readers are supported by the openct package. - - -Authors: --------- - Carlos Prados <[email protected]> - David Corcoran <[email protected]> - %package -n libtowitoko2 -License: LGPL-2.1+ Summary: Library for PCSC driver for Towitoko Smart Card Readers Group: System/Libraries @@ -68,15 +59,7 @@ Please note, that many modern Towitoko readers are supported by the openct package. - - -Authors: --------- - Carlos Prados <[email protected]> - David Corcoran <[email protected]> - %package devel -License: LGPL-2.1+ Summary: PCSC driver for Towitoko Smart Card Readers Group: Development/Libraries/C and C++ Requires: libtowitoko2 = %{version} @@ -91,55 +74,40 @@ Please note, that many modern Towitoko readers are supported by the openct package. - - -Authors: --------- - Carlos Prados <[email protected]> - David Corcoran <[email protected]> - %prep -%setup -q -n %{_name}-%{version} -%patch -%patch1 -%patch2 +%setup -q -n %{_name}-linux-%{version} +%autopatch -p1 %build autoreconf -f -i %configure\ --includedir=%{_includedir}/PCSC/towitoko\ - --with-pcsc-lite-dir=%{ifddir}\ + --with-pcsc-lite-dir=%{scdir}\ --enable-win32-com\ --enable-usb-bundle -make %{?jobs:-j%jobs} +%make_build %install -%makeinstall -mv $RPM_BUILD_ROOT%{_bindir}/tester $RPM_BUILD_ROOT%{_bindir}/towitoko-tester - -%clean -rm -rf $RPM_BUILD_ROOT +%make_install +mv %{buildroot}%{_bindir}/tester %{buildroot}%{_bindir}/towitoko-tester %post -n libtowitoko2 -p /sbin/ldconfig - %postun -n libtowitoko2 -p /sbin/ldconfig %files -%defattr(-,root,root) -%doc AUTHORS COPYING ChangeLog NEWS README THANKS +%license COPYING +%doc AUTHORS ChangeLog NEWS README THANKS %{_bindir}/* -%{ifddir}/* +/%{scdir}/* %files -n libtowitoko2 -%defattr(-,root,root) %{_libdir}/libtowitoko.so.2 %{_libdir}/libtowitoko.so.2.* %files devel -%defattr(-,root,root) %{_includedir}/PCSC/* %{_libdir}/*.so %{_libdir}/*.*a -%doc %{_mandir}/man3/*.* +%{_mandir}/man3/*.* %changelog ++++++ towitoko-2.0.7-implicit-decls.patch -> towitoko-2.0.8-implicit-decls.patch ++++++ --- /work/SRC/openSUSE:Factory/pcsc-towitoko/towitoko-2.0.7-implicit-decls.patch 2011-09-23 12:21:55.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.pcsc-towitoko.new.2275/towitoko-2.0.8-implicit-decls.patch 2022-10-26 12:31:55.660329873 +0200 @@ -1,7 +1,7 @@ -Index: src/driver/tlv_object.c +Index: a/src/driver/tlv_object.c =================================================================== ---- src/driver/tlv_object.c.orig 2002-02-15 21:59:29.000000000 +0100 -+++ src/driver/tlv_object.c 2009-11-24 22:32:16.152561000 +0100 +--- a/src/driver/tlv_object.c.orig 2002-02-15 21:59:29.000000000 +0100 ++++ b/src/driver/tlv_object.c 2009-11-24 22:32:16.152561000 +0100 @@ -21,7 +21,7 @@ */ ++++++ towitoko-2.0.7-install.diff -> towitoko-2.0.8-install.diff ++++++ --- /work/SRC/openSUSE:Factory/pcsc-towitoko/towitoko-2.0.7-install.diff 2011-09-23 12:21:55.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.pcsc-towitoko.new.2275/towitoko-2.0.8-install.diff 2022-10-26 12:31:55.676329908 +0200 @@ -1,8 +1,10 @@ ---- doc/Makefile.am -+++ doc/Makefile.am -@@ -41,12 +41,12 @@ - test -f CT_data.3 || $(LN_S) ctapi.3 CT_data.3 && \ - test -f CT_close.3 || $(LN_S) ctapi.3 CT_close.3) +diff --git a/doc/Makefile.am b/doc/Makefile.am +index 3752c9c..c04859e 100644 +--- a/doc/Makefile.am ++++ b/doc/Makefile.am +@@ -41,12 +41,12 @@ install-data-hook: + test -f CT_data.3 || $(LN_S) $(shell echo ctapi | sed '$(transform)').3 CT_data.3 && \ + test -f CT_close.3 || $(LN_S) $(shell echo ctapi | sed '$(transform)').3 CT_close.3) if INSTALL_USB_BUNDLE - install -D -m 644 Info.plist "@PCSC_LITE_DIR@/drivers/towitoko.bundle/Contents/Info.plist" + install -D -m 644 Info.plist "@PCSC_LITE_DIR@/towitoko.bundle/Contents/Info.plist" @@ -15,9 +17,11 @@ + rm -f "@PCSC_LITE_DIR@/towitoko.bundle/Contents/Info.plist" endif ---- src/driver/Makefile.am -+++ src/driver/Makefile.am -@@ -37,13 +37,13 @@ +diff --git a/src/driver/Makefile.am b/src/driver/Makefile.am +index c17a761..30c3879 100644 +--- a/src/driver/Makefile.am ++++ b/src/driver/Makefile.am +@@ -37,13 +37,13 @@ libtowitoko_la_LIBADD = $(top_builddir)/src/ct-api/libtowitoko-ctapi.la \ install-exec-hook: if INSTALL_USB_BUNDLE ++++++ towitoko-destdir.patch ++++++ --- /var/tmp/diff_new_pack.uTV8fd/_old 2022-10-26 12:31:56.500331669 +0200 +++ /var/tmp/diff_new_pack.uTV8fd/_new 2022-10-26 12:31:56.508331686 +0200 @@ -1,8 +1,10 @@ ---- doc/Makefile.am -+++ doc/Makefile.am -@@ -41,12 +41,12 @@ - test -f CT_data.3 || $(LN_S) ctapi.3 CT_data.3 && \ - test -f CT_close.3 || $(LN_S) ctapi.3 CT_close.3) +diff --git a/doc/Makefile.am b/doc/Makefile.am +index c04859e..eb9fff8 100644 +--- a/doc/Makefile.am ++++ b/doc/Makefile.am +@@ -41,12 +41,12 @@ install-data-hook: + test -f CT_data.3 || $(LN_S) $(shell echo ctapi | sed '$(transform)').3 CT_data.3 && \ + test -f CT_close.3 || $(LN_S) $(shell echo ctapi | sed '$(transform)').3 CT_close.3) if INSTALL_USB_BUNDLE - install -D -m 644 Info.plist "@PCSC_LITE_DIR@/towitoko.bundle/Contents/Info.plist" + install -D -m 644 Info.plist "$(DESTDIR)@PCSC_LITE_DIR@/towitoko.bundle/Contents/Info.plist" @@ -15,9 +17,11 @@ + rm -f "$(DESTDIR)@PCSC_LITE_DIR@/towitoko.bundle/Contents/Info.plist" endif ---- src/driver/Makefile.am -+++ src/driver/Makefile.am -@@ -37,13 +37,13 @@ +diff --git a/src/driver/Makefile.am b/src/driver/Makefile.am +index 30c3879..6c984a5 100644 +--- a/src/driver/Makefile.am ++++ b/src/driver/Makefile.am +@@ -37,13 +37,13 @@ libtowitoko_la_LIBADD = $(top_builddir)/src/ct-api/libtowitoko-ctapi.la \ install-exec-hook: if INSTALL_USB_BUNDLE
