Hello community,

here is the log from the commit of package pcsc-ccid for openSUSE:Factory 
checked in at 2012-10-19 08:50:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pcsc-ccid (Old)
 and      /work/SRC/openSUSE:Factory/.pcsc-ccid.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pcsc-ccid", Maintainer is "sbra...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/pcsc-ccid/pcsc-ccid.changes      2012-10-08 
20:33:21.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.pcsc-ccid.new/pcsc-ccid.changes 2012-10-19 
08:50:37.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Oct 18 09:06:54 UTC 2012 - fcro...@suse.com
+
+- Fix build with new udev rules directory location.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pcsc-ccid.spec ++++++
--- /var/tmp/diff_new_pack.0zrLRy/_old  2012-10-19 08:50:38.000000000 +0200
+++ /var/tmp/diff_new_pack.0zrLRy/_new  2012-10-19 08:50:38.000000000 +0200
@@ -16,6 +16,12 @@
 #
 
 
+%if %( echo `rpm -q --queryformat %%{version} udev` ) > 190
+%define _udevrulesdir /usr/lib/udev/rules.d
+%else
+%define _udevrulesdir /lib/udev/rules.d
+%endif
+
 Name:           pcsc-ccid
 %define _name ccid
 BuildRequires:  automake
@@ -71,9 +77,8 @@
 %install
 %makeinstall
 # Copied elsewhere:
-mkdir -p $RPM_BUILD_ROOT/lib/udev
-mkdir $RPM_BUILD_ROOT/lib/udev/rules.d
-sed 's:GROUP="pcscd":GROUP="scard":' <src/92_pcscd_ccid.rules 
>$RPM_BUILD_ROOT/lib/udev/rules.d/92_pcscd_ccid.rules
+mkdir -p $RPM_BUILD_ROOT/%{_udevrulesdir}
+sed 's:GROUP="pcscd":GROUP="scard":' <src/92_pcscd_ccid.rules 
>$RPM_BUILD_ROOT/%{_udevrulesdir}/92_pcscd_ccid.rules
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -84,6 +89,6 @@
 %doc AUTHORS ChangeLog COPYING LICENSE.openct README README.towitoko 
contrib/Kobil_mIDentity_switch/README_Kobil_mIDentity_switch.txt 
SCARDGETATTRIB.txt
 %config (noreplace) %{_sysconfdir}/reader.conf.d/*
 %{ifddir}/*
-/lib/udev/rules.d/*.rules
+%{_udevrulesdir}/*.rules
 
 %changelog

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to