Hello community,

here is the log from the commit of package hdparm for openSUSE:Factory checked 
in at 2012-11-28 16:07:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hdparm (Old)
 and      /work/SRC/openSUSE:Factory/.hdparm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hdparm", Maintainer is "vdziewie...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/hdparm/hdparm.changes    2012-11-17 
07:21:32.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.hdparm.new/hdparm.changes       2012-11-28 
16:07:54.000000000 +0100
@@ -1,0 +2,10 @@
+Tue Nov 27 18:27:16 UTC 2012 - dims...@opensuse.org
+
+- Add pkgconfig(udev) BuildRequires: needed in order to dynamically
+  extract the right folder for udev rules and scripts.
+- Copy the udev rules to %{_udevdir}, identified based on udev.pc.
+- Add pkgconfig BuildRequires: needed, as we otherwise end up not
+  having pkg-config in the build root, which we rely on to read
+  the .pc file.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ hdparm.spec ++++++
--- /var/tmp/diff_new_pack.9KXaKx/_old  2012-11-28 16:07:55.000000000 +0100
+++ /var/tmp/diff_new_pack.9KXaKx/_new  2012-11-28 16:07:55.000000000 +0100
@@ -31,8 +31,11 @@
 Patch1:         hdparm-nostrip.patch
 Patch2:         hdparm-wiper-warn.patch
 Patch3:         hdparm-leak-fix.patch
+BuildRequires:  pkgconfig
+BuildRequires:  pkgconfig(udev)
 Url:            http://sourceforge.net/projects/hdparm/
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+%define _udevdir %(pkg-config --variable udevdir udev)
 
 %description
 A shell utility to access and tune the ioctl features of the Linux IDE
@@ -53,11 +56,11 @@
 install -d $RPM_BUILD_ROOT/%{_sbindir}
 %make_install binprefix=%{_prefix}
 mv contrib/README contrib/README.contrib
-install -d $RPM_BUILD_ROOT/lib/udev/rules.d
-install -m 644 %{S:1} $RPM_BUILD_ROOT/lib/udev/rules.d
+install -d $RPM_BUILD_ROOT%{_udevdir}/rules.d
+install -m 644 %{S:1} $RPM_BUILD_ROOT%{_udevdir}/rules.d
 install -d $RPM_BUILD_ROOT/var/adm/fillup-templates
 install -m 644 %{S:2} $RPM_BUILD_ROOT/var/adm/fillup-templates
-install -m 755 %{S:3} $RPM_BUILD_ROOT/lib/udev/idedma.sh
+install -m 755 %{S:3} $RPM_BUILD_ROOT/%{_udevdir}/idedma.sh
 install -d $RPM_BUILD_ROOT/usr/lib/hdparm
 install -m 755 contrib/idectl $RPM_BUILD_ROOT/usr/lib/hdparm
 install -m 755 contrib/ultrabayd $RPM_BUILD_ROOT/usr/lib/hdparm
@@ -107,10 +110,10 @@
 #EndUserMerge
 %{_sbindir}/hdparm
 %{_sbindir}/wiper.sh
-%dir /lib/udev
-/lib/udev/idedma.sh
-%dir /lib/udev/rules.d
-/lib/udev/rules.d/56-idedma.rules
+%dir %{_udevdir} 
+%{_udevdir}/idedma.sh
+%dir %{_udevdir}/rules.d
+%{_udevdir}/rules.d/56-idedma.rules
 /usr/lib/hdparm
 /var/adm/fillup-templates/sysconfig.ide
 

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

Reply via email to