Hello community,

here is the log from the commit of package libdlm for openSUSE:Factory checked 
in at 2015-04-21 10:46:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libdlm (Old)
 and      /work/SRC/openSUSE:Factory/.libdlm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libdlm"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libdlm/libdlm.changes    2014-11-24 
11:15:41.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libdlm.new/libdlm.changes       2015-04-21 
10:46:07.000000000 +0200
@@ -1,0 +2,7 @@
+Sun Apr 12 16:30:46 UTC 2015 - [email protected]
+
+- Move udev rules to %{_udevrulesdir}, packages should 
+  not ship files in /etc/udev/rules.d which is reserved
+  for the sysadmin.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ libdlm.spec ++++++
--- /var/tmp/diff_new_pack.IGpeqT/_old  2015-04-21 10:46:08.000000000 +0200
+++ /var/tmp/diff_new_pack.IGpeqT/_new  2015-04-21 10:46:08.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libdlm
 #
-# Copyright (c) 2014 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
@@ -45,6 +45,7 @@
 BuildRequires:  libtool
 BuildRequires:  libxml2-devel
 BuildRequires:  pkgconfig(systemd)
+BuildRequires:  pkgconfig(udev)
 
 %description
 Libraries and tools that allow applications, particularly filesystems
@@ -82,14 +83,13 @@
 ###########################################################
 
 %build
-make all
+make all UDEVDIR="%{_udevrulesdir}"
 ###########################################################
 
 %install
 ###########################################################
-make DESTDIR=$RPM_BUILD_ROOT install
+make DESTDIR=$RPM_BUILD_ROOT UDEVDIR="%{_udevrulesdir}" install
 mkdir -p $RPM_BUILD_ROOT%{_datadir}/doc/packages/libdlm-%{version}
-mv  $RPM_BUILD_ROOT/lib $RPM_BUILD_ROOT/etc
 
 install -Dm 0644 init/dlm.service $RPM_BUILD_ROOT%{_unitdir}/dlm.service
 install -Dm 0644 init/dlm.sysconfig 
$RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.dlm
@@ -98,6 +98,7 @@
 
 %post
 %fillup_only -n dlm
+%{?udev_rules_update}
 %service_add_post dlm.service
 
 %preun
@@ -125,10 +126,8 @@
 %files
 ###########################################################
 %defattr(-,root,root)
-%dir %{_sysconfdir}/udev
-%dir %{_sysconfdir}/udev/rules.d
 %dir %{_datadir}/doc/packages/libdlm-%{version}
-%config %{_sysconfdir}/udev/rules.d/51-dlm.rules
+%{_udevrulesdir}/51-dlm.rules
 %{_sbindir}/dlm_controld
 %{_sbindir}/dlm_stonith
 %{_sbindir}/dlm_tool


Reply via email to