Hello community,

here is the log from the commit of package mpt-firmware for openSUSE:Factory 
checked in at 2013-04-17 23:08:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mpt-firmware (Old)
 and      /work/SRC/openSUSE:Factory/.mpt-firmware.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mpt-firmware", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/mpt-firmware/mpt-firmware.changes        
2013-02-07 10:43:52.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.mpt-firmware.new/mpt-firmware.changes   
2013-04-17 23:08:24.000000000 +0200
@@ -1,0 +2,11 @@
+Mon Apr 15 22:57:38 UTC 2013 - [email protected]
+
+- Also, update modaliases. 
+
+-------------------------------------------------------------------
+Sun Apr 14 20:40:56 UTC 2013 - [email protected]
+
+- Fix udev rules location and update them to use builtin 
+  module loading features.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ mpt-firmware.spec ++++++
--- /var/tmp/diff_new_pack.srmSE3/_old  2013-04-17 23:08:25.000000000 +0200
+++ /var/tmp/diff_new_pack.srmSE3/_new  2013-04-17 23:08:25.000000000 +0200
@@ -22,6 +22,8 @@
 Group:          Hardware/Other
 Version:        1.0
 Release:        0
+BuildRequires:  pkgconfig
+BuildRequires:  pkgconfig(udev) > 176
 Requires:       modutils
 BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -46,17 +48,17 @@
 Supplements:    modalias(pci:v00001000d00000054sv*sd*bc*sc*i*)
 Supplements:    modalias(pci:v00001000d00000056sv*sd*bc*sc*i*)
 Supplements:    modalias(pci:v00001000d00000058sv*sd*bc*sc*i*)
+Supplements:    modalias(pci:v00001000d00000059sv*sd*bc*sc*i*)
 Supplements:    modalias(pci:v00001000d00000062sv*sd*bc*sc*i*)
 # end of supplements list
-
+%define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d
 %prep
 
 %build
 # There is nothing to build
 
 %install
-mkdir -p $RPM_BUILD_ROOT/etc/udev/rules.d
-cp %{S:0} $RPM_BUILD_ROOT/etc/udev/rules.d/81-mptctl.rules
+install -D -m644 %{S:0} %{buildroot}%{_udevrulesdir}/81-mptctl.rules
 
 %description
 This package contains modprobe configuration files to autoload the
@@ -81,8 +83,6 @@
 
 %files
 %defattr(-,root,root)
-%dir /etc/udev
-%dir /etc/udev/rules.d
-%config /etc/udev/rules.d/*
+%{_udevrulesdir}/81-mptctl.rules
 
 %changelog

++++++ mptctl.rules ++++++
--- /var/tmp/diff_new_pack.srmSE3/_old  2013-04-17 23:08:25.000000000 +0200
+++ /var/tmp/diff_new_pack.srmSE3/_new  2013-04-17 23:08:25.000000000 +0200
@@ -1,6 +1,6 @@
 # Autoload mptctl module
 ACTION!="add", GOTO="mptctl_end"
 
-SUBSYSTEM=="pci", DRIVER=="mpt*", ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe 
mptctl"
+SUBSYSTEM=="pci", DRIVER=="mpt*", ENV{MODALIAS}=="?*", RUN{builtin}="kmod load 
mptctl"
 
 LABEL="mptctl_end"

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to