Hello community, here is the log from the commit of package robinhood for openSUSE:Factory checked in at 2017-11-24 10:55:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/robinhood (Old) and /work/SRC/openSUSE:Factory/.robinhood.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "robinhood" Fri Nov 24 10:55:40 2017 rev:2 rq:544900 version:3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/robinhood/robinhood.changes 2017-10-26 18:43:36.586119520 +0200 +++ /work/SRC/openSUSE:Factory/.robinhood.new/robinhood.changes 2017-11-24 10:55:45.397466631 +0100 @@ -1,0 +2,6 @@ +Thu Nov 23 13:53:58 UTC 2017 - [email protected] + +- Replace references to /var/adm/fillup-templates with new + %_fillupdir macro (boo#1069468) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ robinhood.spec ++++++ --- /var/tmp/diff_new_pack.e00KYA/_old 2017-11-24 10:55:47.681383215 +0100 +++ /var/tmp/diff_new_pack.e00KYA/_new 2017-11-24 10:55:47.681383215 +0100 @@ -17,6 +17,11 @@ # +#Compat macro for new _fillupdir macro introduced in Nov 2017 +%if ! %{defined _fillupdir} + %define _fillupdir /var/adm/fillup-templates +%endif + %define installdir_www %{_localstatedir}/lib/ Name: robinhood @@ -29,15 +34,15 @@ Source0: https://sourceforge.net/projects/robinhood/files/robinhood/3.1/robinhood-%{version}.tar.gz#/%{name}-%{version}.tar.gz Patch1: web-gui.patch Patch2: rbh-config.patch -patch3: avoid-version.patch +Patch3: avoid-version.patch BuildRequires: automake +BuildRequires: fdupes BuildRequires: glib2-devel BuildRequires: libattr-devel BuildRequires: libmysqlclient-devel BuildRequires: libtool BuildRequires: mailx BuildRequires: systemd-rpm-macros -BuildRequires: fdupes Requires: which Recommends: mysql-server Recommends: mysql-server-devel @@ -62,10 +67,10 @@ %package webgui Summary: Web interface to vizualize filesystems stats Group: Applications/System +Requires: apache2 Requires: php Requires: php-mysql Requires: php-pdo -Requires: apache2 BuildRequires: apache2 Requires: mod_php_any @@ -126,8 +131,8 @@ install -m 644 scripts/robinhood.service %{buildroot}/%{_unitdir}/robinhood.service install -m 644 scripts/[email protected] %{buildroot}/%{_unitdir}/[email protected] ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcrobinhood -mkdir -p %{buildroot}/%{_localstatedir}/adm/fillup-templates/ -install -m 644 scripts/sysconfig_robinhood %{buildroot}/%{_localstatedir}/adm/fillup-templates/sysconfig.%{name} +mkdir -p %{buildroot}/%{_fillupdir}/ +install -m 644 scripts/sysconfig_robinhood %{buildroot}/%{_fillupdir}/sysconfig.%{name} # remove duplicates in tests %fdupes -s %{buildroot}/%{_datadir}/robinhood/tests # Ugly fix to add right shebang line @@ -166,7 +171,7 @@ %{_unitdir}/robinhood.service %{_unitdir}/[email protected] -%{_localstatedir}/adm/fillup-templates/sysconfig.%{name} +%{_fillupdir}/sysconfig.%{name} %dir %{_sysconfdir}/robinhood.d/ @@ -179,7 +184,6 @@ %dir %{_sysconfdir}/robinhood.d/ - %files webgui %defattr(-,wwwrun,www) %{installdir_www}/robinhood
