commit pcsc-asekey for openSUSE:Factory
Hello community, here is the log from the commit of package pcsc-asekey for openSUSE:Factory checked in at 2015-10-19 22:51:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pcsc-asekey (Old) and /work/SRC/openSUSE:Factory/.pcsc-asekey.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "pcsc-asekey" Changes: -------- --- /work/SRC/openSUSE:Factory/pcsc-asekey/pcsc-asekey.changes 2012-07-13 11:33:32.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.pcsc-asekey.new/pcsc-asekey.changes 2015-10-20 00:05:02.000000000 +0200 @@ -1,0 +2,10 @@ +Fri Oct 2 15:37:35 CEST 2015 - sbrabec@suse.com + +- Update to version 3.7: + * udev rules to change group of the USB device to allow access + from pcscd + * Remove port number check needed for USB-style PCSC interface. + * Install driver as PCSC bundle needed for new pcsc-lite. +- Add pcsc-asekey-no-duplicated-install.patch to not install twice. + +------------------------------------------------------------------- Old: ---- asekey-3-6-tar.bz2 New: ---- asekey-3-7-tar.bz2 pcsc-asekey-no-duplicated-install.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pcsc-asekey.spec ++++++ --- /var/tmp/diff_new_pack.ezaSvN/_old 2015-10-20 00:05:03.000000000 +0200 +++ /var/tmp/diff_new_pack.ezaSvN/_new 2015-10-20 00:05:03.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package pcsc-asekey # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,19 +21,27 @@ Summary: ASEKey USB Token Driver License: BSD-3-Clause Group: Productivity/Security -Version: 3.6 +Version: 3.7 Release: 0 %define tar_version %(echo %{version} | tr . -) Url: http://www.asedrive.com/downloads Source: %{_name}-%{tar_version}-tar.bz2 +# PATCH-FIX-OPENSUSE pcsc-asekey-no-duplicated-install.patch sbrabec@suse.com -- Do not install driver twice. Keep only the one used by current pcsc-lite. +Patch: pcsc-asekey-no-duplicated-install.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libusb-devel BuildRequires: pcsc-lite-devel BuildRequires: pkg-config +BuildRequires: udev Requires: pcsc-lite Supplements: modalias(usb:v0DC3p1701d*dc*dsc*dp*ic*isc*ip*) Supplements: modalias(usb:v0DC3p1702d*dc*dsc*dp*ic*isc*ip*) %define ifddir %(pkg-config libpcsclite --variable=usbdropdir) +%if %( echo `rpm -q --queryformat %%{version} udev` ) > 190 +%define _udevrulesdir %{_libexecdir}/udev/rules.d +%else +%define _udevrulesdir /lib/udev/rules.d +%endif %description This package contains a driver for the ASEKey USB Token. @@ -43,10 +51,11 @@ %prep %setup -q -n %{_name}-%{version} -chmod -x ChangeLog LICENSE README +%patch -p1 %build -%configure +%configure\ + --with-udev-rules-dir=%{_udevrulesdir} make %{?jobs:-j%jobs} CC="%__cc" LD="%__ld" CPP="%__cpp" CXX="%__cxx" %install @@ -58,6 +67,7 @@ %files %defattr(-,root,root) %doc ChangeLog LICENSE README -%{ifddir}/ifd-ASEKey +%{ifddir}/ifd-ASEKey.bundle +%{_udevrulesdir}/*.rules %changelog ++++++ pcsc-asekey-no-duplicated-install.patch ++++++ Index: asekey-3.7/Makefile =================================================================== --- asekey-3.7.orig/Makefile +++ asekey-3.7/Makefile @@ -28,7 +28,6 @@ clean: install: all install -c -d "${DRIVER_DIR}/Contents/${KERNEL_NAME}" - install -c -m 0755 libASEKey.so "${DRIVER_DIR}" install -c -m 0644 Info.plist "${DRIVER_DIR}/Contents/" install -c -m 0755 libASEKey.so "${DRIVER_DIR}/Contents/${KERNEL_NAME}" install -c -d "${UDEV_DIR}"
participants (1)
-
root@hilbert.suse.de