Hello community, here is the log from the commit of package sarg for openSUSE:Factory checked in at 2020-06-17 14:55:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sarg (Old) and /work/SRC/openSUSE:Factory/.sarg.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sarg" Wed Jun 17 14:55:13 2020 rev:37 rq:815365 version:2.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/sarg/sarg.changes 2020-03-01 21:28:14.200583615 +0100 +++ /work/SRC/openSUSE:Factory/.sarg.new.3606/sarg.changes 2020-06-17 14:56:19.966212877 +0200 @@ -1,0 +2,6 @@ +Wed Jun 17 06:43:01 UTC 2020 - Martin Pluskal <[email protected]> + +- Fix building with gcc10 +- Spec file modernisation using spec-cleaner + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sarg.spec ++++++ --- /var/tmp/diff_new_pack.Zz7aba/_old 2020-06-17 14:56:21.074216671 +0200 +++ /var/tmp/diff_new_pack.Zz7aba/_new 2020-06-17 14:56:21.078216685 +0200 @@ -1,7 +1,7 @@ # # spec file for package sarg # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,11 +16,6 @@ # -#Compat macro for new _fillupdir macro introduced in Nov 2017 -%if ! %{defined _fillupdir} - %define _fillupdir /var/adm/fillup-templates -%endif - Name: sarg Version: 2.4.0 Release: 0 @@ -60,21 +55,19 @@ sites, and times. %prep -%setup -q -%patch0 -p1 -%patch1 -p1 +%autosetup -p1 cp %{SOURCE2} . %build chmod a+x user_limit_block cp %{_datadir}/gettext/po/Makefile.in.in po autoreconf -fvi +export CFLAGS="%{optflags} -fcommon" %configure \ --sysconfdir=%{_datadir}/%{name} \ - --mandir=%{_mandir}/ \ --localedir=%{_datadir}/sarg/languages \ --enable-sargphp=/srv/www/htdocs -make %{?_smp_mflags} +%make_build %install install -d %{buildroot}/srv/www/htdocs @@ -106,7 +99,6 @@ %{fillup_only -n sarg} %files -%defattr(-,root,root) %config(noreplace) %{_sysconfdir}/sarg.conf %dir %{_sysconfdir}/cron.daily %dir %{_sysconfdir}/cron.weekly @@ -116,8 +108,8 @@ %{_sysconfdir}/cron.weekly/suse.de-sarg %{_sysconfdir}/cron.daily/suse.de-sarg %{_sysconfdir}/cron.monthly/suse.de-sarg -%dir /etc/apache2 -%dir /etc/apache2/conf.d +%dir %{_sysconfdir}/apache2 +%dir %{_sysconfdir}/apache2/conf.d %config(noreplace) %{_sysconfdir}/apache2/conf.d/sarg-apache.conf %{_bindir}/sarg %{_sbindir}/sarg-reports
