Hello community,

here is the log from the commit of package radvd for openSUSE:Factory
checked in at Thu Oct 13 19:43:34 CEST 2011.



--------
--- openSUSE:Factory/radvd/radvd.changes        2011-09-23 12:44:03.000000000 
+0200
+++ /mounts/work_src_done/STABLE/radvd/radvd.changes    2011-09-29 
04:16:52.000000000 +0200
@@ -1,0 +2,8 @@
+Thu Sep 29 02:15:09 UTC 2011 - crrodrig...@opensuse.org
+
+- Update to version 1.8.1 for details see NEWS
+- Fix package building in factory, creating /var/run/radvd before
+  being marked as %ghost
+- Run spec cleaner
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  0002-continue-even-if-forwarding-is-off.diff
  radvd-1.7.tar.gz

New:
----
  radvd-1.8.1.tar.gz

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

Other differences:
------------------
++++++ radvd.spec ++++++
--- /var/tmp/diff_new_pack.mAm0ZB/_old  2011-10-13 19:43:30.000000000 +0200
+++ /var/tmp/diff_new_pack.mAm0ZB/_new  2011-10-13 19:43:30.000000000 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package radvd (Version 1.3)
+# spec file for package radvd
 #
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,51 +15,49 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 
 Name:           radvd
-BuildRequires:  bison flex
+Version:        1.8.1
+Release:        1
 License:        BSD 3-clause (or similar)
-Group:          Productivity/Networking/Routing
-PreReq:         %insserv_prereq %fillup_prereq
-AutoReqProv:    on
 Summary:        Router ADVertisement Daemon for IPv6
-Version:        1.7
-Release:        1
+Url:            http://v6web.litech.org/radvd
+Group:          Productivity/Networking/Routing
 Source0:        http://www.litech.org/radvd/dist/%{name}-%{version}.tar.gz
 Source1:        radvd.init
 Source2:        sysconfig.radvd
 Patch0:         0001-run-as-user-radvd-by-default.diff
-Patch1:         0002-continue-even-if-forwarding-is-off.diff
-Url:            http://v6web.litech.org/radvd
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  bison
+BuildRequires:  flex
+PreReq:         %fillup_prereq
+PreReq:         %insserv_prereq
 PreReq:         /usr/sbin/useradd
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 RADVD is the Router ADVertisement Daemon. It is used for automated
 configuration of IPv6 networks. Most people will not need this.
 
-
-
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
 
 %build
 autoreconf -fi
-CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" ./configure --prefix=%{_prefix} 
--mandir=%{_mandir} --sysconfdir=%{_sysconfdir} 
--with-configfile=%{_sysconfdir}/radvd.conf 
--with-pidfile=/var/run/radvd/radvd.pid
-make
+CFLAGS="%{optflags} -fno-strict-aliasing" 
+%configure --disable-silent-rules --with-configfile=%{_sysconfdir}/radvd.conf 
--with-pidfile=/var/run/radvd/radvd.pid
+make %{?_smp_mflags}
 
 %install
-make install DESTDIR=$RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT/etc/init.d
-install -m 0755 %{SOURCE1} $RPM_BUILD_ROOT/etc/init.d/radvd
-ln -sf /etc/init.d/radvd $RPM_BUILD_ROOT/usr/sbin/rcradvd
-mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates
-install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/var/adm/fillup-templates/
-install -m 644 /dev/null $RPM_BUILD_ROOT%{_sysconfdir}/radvd.conf
+%makeinstall
+mkdir -p %{buildroot}%{_sysconfdir}/init.d
+mkdir -p %{buildroot}%{_localstatedir}/run/radvd
+install -m 0755 %{SOURCE1} %{buildroot}%{_initddir}/radvd
+ln -sf /etc/init.d/radvd %{buildroot}%{_sbindir}/rcradvd
+mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates
+install -m 644 %{SOURCE2} %{buildroot}%{_localstatedir}/adm/fillup-templates/
+install -m 644 /dev/null %{buildroot}%{_sysconfdir}/radvd.conf
 
 %pre
 getent passwd radvd >/dev/null || \
@@ -68,7 +66,7 @@
 
 %post
 # zap old (<= 11.4) default
-sed -ie '/^RADVD_OPTIONS/s/-u daemon//' /etc/sysconfig/radvd
+test -f /etc/sysconfig/radvd && sed -ie '/^RADVD_OPTIONS/s/-u daemon//' 
/etc/sysconfig/radvd
 %{fillup_and_insserv radvd}
 #
 if [ ! -e /etc/radvd.conf ]; then
@@ -106,21 +104,21 @@
 %stop_on_removal radvd
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root)
-%ghost %dir %attr(0755,radvd,root) /var/run/radvd/
+%ghost %dir %attr(0755,radvd,root) %{_localstatedir}/run/radvd/
 %ghost %config(noreplace) %{_sysconfdir}/radvd.conf
-/var/adm/fillup-templates/sysconfig.radvd
-/usr/sbin/radvd
-/usr/sbin/radvdump
+%{_localstatedir}/adm/fillup-templates/sysconfig.radvd
+%{_sbindir}/radvd
+%{_sbindir}/radvdump
 %doc %{_mandir}/man8/radvd.8.gz
 %doc %{_mandir}/man8/radvdump.8.gz
 %doc %{_mandir}/man5/radvd.conf.5.gz
 %doc CHANGES COPYRIGHT TODO INTRO.html
 %doc radvd.conf.example
-%config /etc/init.d/radvd
-/usr/sbin/rcradvd
+%config %{_sysconfdir}/init.d/radvd
+%{_sbindir}/rcradvd
 
 %changelog

++++++ radvd-1.7.tar.gz -> radvd-1.8.1.tar.gz ++++++
++++ 5128 lines of diff (skipped)

continue with "q"...



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to