Hello community,

here is the log from the commit of package inn for openSUSE:Factory checked in 
at 2012-06-26 15:52:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/inn (Old)
 and      /work/SRC/openSUSE:Factory/.inn.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "inn", Maintainer is "m...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/inn/inn.changes  2012-04-17 21:58:37.000000000 
+0200
+++ /work/SRC/openSUSE:Factory/.inn.new/inn.changes     2012-06-26 
15:52:52.000000000 +0200
@@ -1,0 +2,6 @@
+Tue Jun 19 11:01:16 UTC 2012 - a...@suse.de
+
+- Use set_permissions instead of run_permissions.
+- Handle /var/run on tmpfs.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ inn.spec ++++++
--- /var/tmp/diff_new_pack.iZ5l1q/_old  2012-06-26 15:52:53.000000000 +0200
+++ /var/tmp/diff_new_pack.iZ5l1q/_new  2012-06-26 15:52:53.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  <de...@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+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to