Hello community,

here is the log from the commit of package apcupsd for openSUSE:Factory checked 
in at 2017-11-25 08:42:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apcupsd (Old)
 and      /work/SRC/openSUSE:Factory/.apcupsd.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "apcupsd"

Sat Nov 25 08:42:31 2017 rev:62 rq:545068 version:3.14.14

Changes:
--------
--- /work/SRC/openSUSE:Factory/apcupsd/apcupsd.changes  2017-09-04 
12:35:36.265571256 +0200
+++ /work/SRC/openSUSE:Factory/.apcupsd.new/apcupsd.changes     2017-11-25 
08:42:35.658399135 +0100
@@ -1,0 +2,6 @@
+Thu Nov 23 13:43:36 UTC 2017 - rbr...@suse.com
+
+- Replace references to /var/adm/fillup-templates with new 
+  %_fillupdir macro (boo#1069468)
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ apcupsd.spec ++++++
--- /var/tmp/diff_new_pack.Tj4PFM/_old  2017-11-25 08:42:37.642326850 +0100
+++ /var/tmp/diff_new_pack.Tj4PFM/_new  2017-11-25 08:42:37.646326706 +0100
@@ -16,6 +16,11 @@
 #
 
 
+#Compat macro for new _fillupdir macro introduced in Nov 2017
+%if ! %{defined _fillupdir}
+  %define _fillupdir /var/adm/fillup-templates
+%endif
+
 %define apache_serverroot %(%{_sbindir}/apxs2 -q datadir 2>/dev/null || 
%{_sbindir}/apxs -q PREFIX)
 Name:           apcupsd
 Version:        3.14.14
@@ -170,8 +175,8 @@
 chmod +x %{buildroot}%{_sysconfdir}/pm/sleep.d/99%{name}
 %endif
 
-mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates
-cp %{SOURCE5} 
%{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.%{name}
+mkdir -p %{buildroot}%{_fillupdir}
+cp %{SOURCE5} %{buildroot}%{_fillupdir}/sysconfig.%{name}
 
 # systemd support and remove initd support for opensuse 12.2 and higher
 %if 0%{?suse_version} > 1210
@@ -285,7 +290,7 @@
 %config(noreplace) %attr(0644,root,root) 
%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}
 %attr(0755,root,root) %{_sysconfdir}/%{name}/apccontrol
 %{_mandir}/man?/*.*
-%{_localstatedir}/adm/fillup-templates/sysconfig.%{name}
+%{_fillupdir}/sysconfig.%{name}
 
 %files gui
 %defattr(-,root,root)



Reply via email to