Hello community, here is the log from the commit of package mailman for openSUSE:Factory checked in at 2018-08-12 20:52:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mailman (Old) and /work/SRC/openSUSE:Factory/.mailman.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mailman" Sun Aug 12 20:52:53 2018 rev:45 rq:628573 version:2.1.29 Changes: -------- --- /work/SRC/openSUSE:Factory/mailman/mailman.changes 2018-07-27 10:58:06.533860913 +0200 +++ /work/SRC/openSUSE:Factory/.mailman.new/mailman.changes 2018-08-12 20:52:55.721169636 +0200 @@ -1,0 +2,5 @@ +Thu Aug 9 13:57:24 UTC 2018 - [email protected] + +- Restore generation of /etc/mailman/mailman.cgi-gid (bsc#1095112) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mailman.spec ++++++ --- /var/tmp/diff_new_pack.hoFXNS/_old 2018-08-12 20:52:57.049172328 +0200 +++ /var/tmp/diff_new_pack.hoFXNS/_new 2018-08-12 20:52:57.053172336 +0200 @@ -76,6 +76,7 @@ Requires(post): user(nobody) Requires(post): user(wwwrun) Requires(pre): shadow +Requires(pre): permissions %description This is the GNU Mailing List manager. Mailman provides an @@ -95,6 +96,10 @@ %patch18 cp -av %{SOURCE1} . +find . -name \*.py |while read PYFN ; do + sed -i -e '1s/env python/python/' $PYFN +done + %build %configure \ --prefix=%{_libexecdir}/mailman \ @@ -109,6 +114,9 @@ --with-mail-gid=nobody make %{?_smp_mflags} OPT="%{optflags} -fpie -pie" +# Mark sitemappgen as non-executable +find . -name sitemapgen -print -exec chmod -x '{}' \; + %install install -d %{buildroot}/{usr/sbin,etc/{mailman,sysconfig,init.d,logrotate.d},%{_fillupdir},bin/conf.d}/ %make_install @@ -125,6 +133,7 @@ >> %{buildroot}%{_libexecdir}/mailman/cron/crontab # write initial wrapper id files: . %{SOURCE7} +getent group $MAILMAN_CGI_GID | cut -d: -f3 > $RPM_BUILD_ROOT/%{mailman_confd}/mailman.cgi-gid echo %{m_gid} > %{buildroot}/%{mailman_confd}/mailman.mail-gid # SuSEconfig stuff: install -m 644 %{SOURCE7} %{buildroot}%{_fillupdir}/
