Hello community,

here is the log from the commit of package quagga for openSUSE:Factory checked 
in at 2016-11-05 21:25:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/quagga (Old)
 and      /work/SRC/openSUSE:Factory/.quagga.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "quagga"

Changes:
--------
--- /work/SRC/openSUSE:Factory/quagga/quagga.changes    2016-10-20 
23:09:55.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.quagga.new/quagga.changes       2016-11-05 
21:25:50.000000000 +0100
@@ -1,0 +2,7 @@
+Sat Oct 22 17:54:10 UTC 2016 - [email protected]
+
+- Implement shared library policy
+- Check for user/group before adding them to the system
+- Trim description
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ quagga.spec ++++++
--- /var/tmp/diff_new_pack.ORCUi0/_old  2016-11-05 21:25:51.000000000 +0100
+++ /var/tmp/diff_new_pack.ORCUi0/_new  2016-11-05 21:25:51.000000000 +0100
@@ -31,7 +31,7 @@
 Name:           quagga
 Version:        1.0.20160315
 Release:        0
-Summary:        Free Routing Software (for BGP, OSPF and RIP, for example)
+Summary:        Routing Software for BGP, OSPF and RIP
 License:        LGPL-2.1+
 Group:          Productivity/Networking/Routing
 Url:            http://www.quagga.net
@@ -87,24 +87,44 @@
 
 %description
 Quagga is a routing software suite, providing implementations of
-OSPFv2, OSPFv3, RIP v1 and v2, RIPv3 and BGPv4 for Unix platforms,
-particularly FreeBSD and Linux and also NetBSD, to mention a few.
-Quagga is a fork of GNU Zebra which was developed by Kunihiro Ishiguro.
-The Quagga tree aims to build a more involved community around Quagga
-than the current centralised model of GNU Zebra.
+OSPFv2, OSPFv3, RIP v1 and v2, RIPv3 and BGPv4. Quagga is a fork of
+GNU Zebra.
+
+%package -n libospf0
+Summary:        Quagga's implementation of the OSPF protocol
+Group:          System/Libraries
+
+%description -n libospf0
+This library contains part of the OSPFv2 implementation of Quagga.
+
+%package -n libospfapiclient0
+Summary:        API for Quagga's OSPFv2 implementation
+Group:          System/Libraries
+
+%description -n libospfapiclient0
+This library contains part of the OSPFv2 implementation of Quagga.
+
+%package -n libzebra0
+Summary:        Quagga utility library
+Group:          System/Libraries
+
+%description -n libzebra0
+This library contains various utility functions to Quagga, such as
+data types, buffers and socket handling.
 
 %package devel
-Summary:        Free Routing Software (for BGP, OSPF and RIP, for example)
+Summary:        Development files for quagga, a routing software for BGP, 
OSPF, RIP
 Group:          Development/Libraries/C and C++
-Requires:       %{name} = %{version}
+Requires:       libospf0 = %{version}
+Requires:       libospfapiclient0 = %{version}
+Requires:       libzebra0 = %{version}
 
 %description devel
 Quagga is a routing software suite, providing implementations of
-OSPFv2, OSPFv3, RIP v1 and v2, RIPv3 and BGPv4 for Unix platforms,
-particularly FreeBSD and Linux and also NetBSD, to mention a few.
-Quagga is a fork of GNU Zebra which was developed by Kunihiro Ishiguro.
-The Quagga tree aims to build a more involved community around Quagga
-than the current centralised model of GNU Zebra.
+OSPFv2, OSPFv3, RIP v1 and v2, RIPv3 and BGPv4. Quagga is a fork of
+GNU Zebra.
+
+This subpackage contains the headers for the Quagga libraries.
 
 %prep
 %setup -q -a 1
@@ -198,16 +218,16 @@
 touch %{buildroot}%{_sysconfdir}/quagga/vtysh.conf
 
 %pre
-%{_sbindir}/groupadd -r quagga 2> /dev/null || :
-%{_sbindir}/useradd -r -g quagga -s %{_bindir}/false \
+getent group quagga >/dev/null || %{_sbindir}/groupadd -r quagga || :
+getent passwd quagga >/dev/null || \
+       %{_sbindir}/useradd -r -g quagga -s %{_bindir}/false \
                   -c "Quagga routing daemon" \
-                  -d %{quagga_statedir} quagga 2> /dev/null || :
+                  -d %{quagga_statedir} quagga || :
 %if %{with systemd}
 %service_add_pre zebra.service isisd.service ripd.service ospfd.service 
bgpd.service ospf6d.service ripngd.service
 %endif
 
 %post
-/sbin/ldconfig
 %if %{with systemd}
 systemd-tmpfiles --create %{_tmpfilesdir}/%{name}.conf || true
 %service_add_post zebra.service isisd.service ripd.service ospfd.service 
bgpd.service ospf6d.service ripngd.service
@@ -232,7 +252,13 @@
 %restart_on_update zebra bgpd ospf6d ospfd ripd ripngd
 %insserv_cleanup
 %endif
-/sbin/ldconfig
+
+%post   -n libospf0 -p /sbin/ldconfig
+%postun -n libospf0 -p /sbin/ldconfig
+%post   -n libospfapiclient0 -p /sbin/ldconfig
+%postun -n libospfapiclient0 -p /sbin/ldconfig
+%post   -n libzebra0 -p /sbin/ldconfig
+%postun -n libzebra0 -p /sbin/ldconfig
 
 %files
 %defattr(-,root,root)
@@ -255,10 +281,21 @@
 %dir %attr(-,quagga,quagga) %ghost %{quagga_statedir}
 %{_infodir}/quagga.info*
 %{_mandir}/man?/*
-%attr(755,root,root) %{_libdir}/lib*.so.*
+
+%files -n libospf0
+%defattr(-,root,root)
+%{_libdir}/libospf.so.*
+
+%files -n libospfapiclient0
+%defattr(-,root,root)
+%{_libdir}/libospfapiclient.so.*
+
+%files -n libzebra0
+%defattr(-,root,root)
+%{_libdir}/libzebra.so.*
 
 %files devel
-%defattr(644,root,root,755)
+%defattr(-,root,root)
 %{_libdir}/*.so
 %dir %{_includedir}/%{name}
 %{_includedir}/%{name}/*.h




Reply via email to