commit inn for openSUSE:12.2
Hello community, here is the log from the commit of package inn for openSUSE:12.2 checked in at 2012-06-26 15:52:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:12.2/inn (Old) and /work/SRC/openSUSE:12.2/.inn.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "inn", Maintainer is "mls@suse.com" Changes: -------- --- /work/SRC/openSUSE:12.2/inn/inn.changes 2012-06-25 15:35:36.000000000 +0200 +++ /work/SRC/openSUSE:12.2/.inn.new/inn.changes 2012-06-26 15:52:58.000000000 +0200 @@ -1,0 +2,6 @@ +Tue Jun 19 11:01:16 UTC 2012 - aj@suse.de + +- Use set_permissions instead of run_permissions. +- Handle /var/run on tmpfs. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ inn.spec ++++++ --- /var/tmp/diff_new_pack.2flzTz/_old 2012-06-26 15:52:59.000000000 +0200 +++ /var/tmp/diff_new_pack.2flzTz/_new 2012-06-26 15:52:59.000000000 +0200 @@ -16,20 +16,22 @@ # - Name: inn -BuildRequires: bison gdbm-devel pam-devel postfix +BuildRequires: bison +BuildRequires: gdbm-devel +BuildRequires: pam-devel +BuildRequires: postfix Url: http://www.isc.org/software/inn/ Summary: InterNetNews License: GPL-2.0+ and BSD-4-Clause Group: Productivity/Networking/News/Servers -Provides: inn_pkg nntp_daemon +Provides: inn_pkg +Provides: nntp_daemon Conflicts: cnews nntpd mininews PreReq: perl %fillup_prereq %insserv_prereq permissions Requires: perl-MIME-tools -AutoReqProv: on Version: 2.5.2 -Release: 3 +Release: 0 %define PatchVersion -%{version} Source: inn%{PatchVersion}.tar.bz2 Source1: doc-inn.tar.bz2 @@ -56,7 +58,6 @@ %package devel Requires: %name = %version Summary: InterNetNews development files -License: GPL-2.0+ and BSD-4-Clause Group: Productivity/Networking/News/Servers %description devel @@ -75,11 +76,10 @@ Arjan de Vet <devet@adv.win.tue.nl> %package -n mininews -License: GPL-2.0+ and BSD-4-Clause Summary: Inews - Post News from an NNTP Client Group: Productivity/Networking/News/Utilities Provides: nntp_daemon -AutoReqProv: on +PreReq: permissions %description -n mininews Rich Salz's InterNetNews news transport system. @@ -197,6 +197,10 @@ # %{installroot} 0755 -d $RPM_BUILD_ROOT/etc/slp.reg.d %{installroot} 0644 %{SOURCE4} $RPM_BUILD_ROOT/etc/slp.reg.d/ +# /var/run/news +mkdir -p $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/ +echo "d /var/run/news 1777 root root -" > $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/inn.conf + # # build filelist # @@ -211,6 +215,7 @@ /\/news/ { if (!match(pfx, /%%attr/)) pfx = "%%attr(-,news,news) " pfx } +$0 == "/var/run/news" { pfx = "%ghost "} { print "%dir " pfx $0 } ' > %{filelist} find %{buildroot} ! -type d -printf "/%%P\n" | awk ' @@ -258,11 +263,25 @@ rm -f etc/news/newsfeeds.OLD usr/lib/news/bin/innupgrade etc/news fi +# Create ghost files +# Create tmpfiles +if [ -x /bin/systemd-tmpfiles ]; then + /bin/systemd-tmpfiles --create /usr/lib/tmpfiles.d/inn.conf +fi %{fillup_and_insserv inn} -%run_permissions +%set_permissions /usr/lib/news/bin/innbind /usr/lib/news/bin/inews /usr/lib/news/bin/rnews + +%post -n mininews +if [ -x /bin/systemd-tmpfiles ]; then + /bin/systemd-tmpfiles --create /usr/lib/tmpfiles.d/inn.conf +fi +%set_permissions /usr/lib/news/bin/inews /usr/lib/news/bin/rnews %verifyscript -%verify_permissions -e /usr/lib/news/bin/innbind +%verify_permissions -e /usr/lib/news/bin/innbind -e /usr/lib/news/bin/inews -e /usr/lib/news/bin/rnews + +%verifyscript -n mininews +%verify_permissions -e /usr/lib/news/bin/inews -e /usr/lib/news/bin/rnews %preun %stop_on_removal inn -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de