Hello community,

here is the log from the commit of package resource-agents for openSUSE:Factory 
checked in at 2016-05-23 17:30:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/resource-agents (Old)
 and      /work/SRC/openSUSE:Factory/.resource-agents.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "resource-agents"

Changes:
--------
--- /work/SRC/openSUSE:Factory/resource-agents/resource-agents.changes  
2016-05-16 12:01:24.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.resource-agents.new/resource-agents.changes     
2016-05-23 17:30:44.000000000 +0200
@@ -1,0 +2,5 @@
+Fri May 20 09:16:27 UTC 2016 - [email protected]
+
+- Remove redundant %clean section. Ensure systemd-tmpfiles is run.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ resource-agents.spec ++++++
--- /var/tmp/diff_new_pack.yx6cI3/_old  2016-05-23 17:30:45.000000000 +0200
+++ /var/tmp/diff_new_pack.yx6cI3/_new  2016-05-23 17:30:45.000000000 +0200
@@ -155,13 +155,7 @@
 %endif
 
 %prep
-###########################################################
-%setup -q
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch8 -p1
-###########################################################
+%autosetup -p1
 
 %build
 CFLAGS="${CFLAGS} ${RPM_OPT_FLAGS}"
@@ -189,10 +183,8 @@
 %endif
 export MAKE="make %{?jobs:-j%jobs}"
 make %{?jobs:-j%jobs}
-###########################################################
 
 %install
-###########################################################
 make DESTDIR=$RPM_BUILD_ROOT install
 (
   mkdir -p $RPM_BUILD_ROOT/etc/ha.d/resource.d
@@ -236,18 +228,10 @@
 done
 %endif
 
-###########################################################
-
-%clean
-###########################################################
-if
-  [ -n "${RPM_BUILD_ROOT}" -a "${RPM_BUILD_ROOT}" != "/" ]
-then
-  rm -rf $RPM_BUILD_ROOT
-fi
-rm -rf $RPM_BUILD_DIR/resource-agents
-###########################################################
 %post
+if [ -x /usr/bin/systemd-tmpfiles ]; then
+       systemd-tmpfiles --create resource-agents.conf || :
+fi
 test -d %{_rundir}/resource-agents || mkdir -m 1755 %{_rundir}/resource-agents
 
 %if 0%{?suse_version}
@@ -291,7 +275,6 @@
 %endif
 
 %files
-###########################################################
 %defattr(-,root,root)
 %dir /usr/lib/ocf
 %dir /usr/lib/ocf/resource.d
@@ -338,7 +321,6 @@
 %{_libdir}/heartbeat/tickle_tcp
 
 %files -n ldirectord
-###########################################################
 %defattr(-,root,root)
 %doc ldirectord/ldirectord.cf
 %doc %{_mandir}/man8/ldirectord.8*
@@ -358,7 +340,6 @@
 
 %if %{with_monitoring}
 %files -n monitoring-plugins-metadata
-###########################################################
 %defattr(-,root,root)
 %dir %{_datadir}/nagios
 %dir %{_datadir}/nagios/plugins-metadata


Reply via email to