Hello community, here is the log from the commit of package libosmo-sccp for openSUSE:Factory checked in at 2017-10-27 14:01:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libosmo-sccp (Old) and /work/SRC/openSUSE:Factory/.libosmo-sccp.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libosmo-sccp" Fri Oct 27 14:01:12 2017 rev:5 rq:536893 version:0.7.0.284 Changes: -------- --- /work/SRC/openSUSE:Factory/libosmo-sccp/libosmo-sccp.changes 2017-10-10 11:42:30.912713546 +0200 +++ /work/SRC/openSUSE:Factory/.libosmo-sccp.new/libosmo-sccp.changes 2017-10-27 14:01:16.820412891 +0200 @@ -1,0 +2,8 @@ +Thu Oct 26 13:05:31 UTC 2017 - dims...@opensuse.org + +- Fix names of shared library packages: the version is 0.7.0.284 + and the soname contains the entire version. As this results in + package rename, we exceptionally obsolete the old/wrong package + name in order to facilitate error-free upgrades. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libosmo-sccp.spec ++++++ --- /var/tmp/diff_new_pack.Lx3b3V/_old 2017-10-27 14:01:18.932314168 +0200 +++ /var/tmp/diff_new_pack.Lx3b3V/_new 2017-10-27 14:01:18.936313981 +0200 @@ -19,6 +19,7 @@ Name: libosmo-sccp Version: 0.7.0.284 Release: 0 +%define libversion 0_7_0_284 Summary: Osmocom library for the A-bis interface between BTS and BSC License: AGPL-3.0+ and GPL-2.0+ Group: Hardware/Mobile @@ -44,12 +45,18 @@ facilities in Signaling System 7 telecommunications networks. SCCP is heavily used in cellular networks such as GSM. -%package -n libosmo-mtp-0_7_0_208 +%package -n libosmo-mtp-%libversion Summary: Osmocom Message Transfer Part library License: GPL-2.0+ Group: System/Libraries +%if "%version" == "0.7.0.284" +# Version 0.7.0.284 was wrongly packages in lib packages called 0_7_0_208 +# in order to have proper upgrade paths, we need to obsolete the old/wrong +# package name +Obsoletes: libosmo-mtp-0_7_0_208 +%endif -%description -n libosmo-mtp-0_7_0_208 +%description -n libosmo-mtp-%libversion The Message Transfer Part (MTP) is part of the Signaling System 7 (SS7) used for communication in Public Switched Telephone Networks. MTP is responsible for reliable, unduplicated and in-sequence @@ -59,7 +66,7 @@ Summary: Development files for the Osmocom MTP library License: GPL-2.0+ Group: Development/Libraries/C and C++ -Requires: libosmo-mtp-0_7_0_208 = %version +Requires: libosmo-mtp-%libversion = %version %description -n libosmo-mtp-devel MTP is part of SS7 used for communication in Public Switched @@ -68,12 +75,18 @@ This subpackage contains the development files for the Osmocom MTP library. -%package -n libosmo-sccp-0_7_0_208 +%package -n libosmo-sccp-%libversion Summary: Osmocom Signalling Connection Control Part library License: GPL-2.0+ Group: System/Libraries +%if "%version" == "0.7.0.284" +# Version 0.7.0.284 was wrongly packages in lib packages called 0_7_0_208 +# in order to have proper upgrade paths, we need to obsolete the old/wrong +# package name +Obsoletes: libosmo-sccp-0_7_0_208 +%endif -%description -n libosmo-sccp-0_7_0_208 +%description -n libosmo-sccp-%libversion The Signalling Connection Control Part (SCCP) is a network layer protocol that provides extended routing, flow control, segmentation, connection-orientation, and error correction facilities in Signaling @@ -84,7 +97,7 @@ Summary: Development files for the Osmocom SCCP library License: GPL-2.0+ Group: Development/Libraries/C and C++ -Requires: libosmo-sccp-0_7_0_208 = %version +Requires: libosmo-sccp-%libversion = %version %description -n libosmo-sccp-devel SCCP is a network layer protocol that provides routing, flow control, @@ -114,12 +127,18 @@ This subpackage contains the development files for the Osmocom SIGTRAN library. -%package -n libosmo-xua-0_7_0_208 +%package -n libosmo-xua-%libversion Summary: Osmocom Message Transfer Part 2 User Adaptation library License: GPL-2.0+ Group: System/Libraries +%if "%version" == "0.7.0.284" +# Version 0.7.0.284 was wrongly packages in lib packages called 0_7_0_208 +# in order to have proper upgrade paths, we need to obsolete the old/wrong +# package name +Obsoletes: libosmo-xua-0_7_0_208 +%endif -%description -n libosmo-xua-0_7_0_208 +%description -n libosmo-xua-%libversion M2UA (RFC 3331) provides an SCTP (RFC 3873) adaptation layer for the seamless backhaul of MTP Level 2 user messages and service interface across an IP network. @@ -129,7 +148,7 @@ License: GPL-2.0+ Group: Development/Libraries/C and C++ Requires: libosmo-sigtran-devel = %version -Requires: libosmo-xua-0_7_0_208 = %version +Requires: libosmo-xua-%libversion = %version %description -n libosmo-xua-devel M2UA provides an SCTP adaptation layer for MTP level 2 user messages @@ -154,18 +173,21 @@ find "$b/%_libdir" -type f -name "*.la" -delete %check +%ifarch ppc64 +# still BE problems? make %{?_smp_mflags} check +%endif -%post -n libosmo-mtp-0_7_0_208 -p /sbin/ldconfig -%postun -n libosmo-mtp-0_7_0_208 -p /sbin/ldconfig -%post -n libosmo-sccp-0_7_0_208 -p /sbin/ldconfig -%postun -n libosmo-sccp-0_7_0_208 -p /sbin/ldconfig +%post -n libosmo-mtp-%libversion -p /sbin/ldconfig +%postun -n libosmo-mtp-%libversion -p /sbin/ldconfig +%post -n libosmo-sccp-%libversion -p /sbin/ldconfig +%postun -n libosmo-sccp-%libversion -p /sbin/ldconfig %post -n libosmo-sigtran0 -p /sbin/ldconfig %postun -n libosmo-sigtran0 -p /sbin/ldconfig -%post -n libosmo-xua-0_7_0_208 -p /sbin/ldconfig -%postun -n libosmo-xua-0_7_0_208 -p /sbin/ldconfig +%post -n libosmo-xua-%libversion -p /sbin/ldconfig +%postun -n libosmo-xua-%libversion -p /sbin/ldconfig -%files -n libosmo-mtp-0_7_0_208 +%files -n libosmo-mtp-%libversion %defattr(-,root,root) %_libdir/libosmo-mtp-%version.so @@ -177,7 +199,7 @@ %_libdir/libosmo-mtp.so %_libdir/pkgconfig/libosmo-mtp.pc -%files -n libosmo-sccp-0_7_0_208 +%files -n libosmo-sccp-%libversion %defattr(-,root,root) %_libdir/libosmo-sccp.so %_libdir/libosmo-sccp-%version.so @@ -202,7 +224,7 @@ %_libdir/libosmo-sigtran.so %_libdir/pkgconfig/libosmo-sigtran.pc -%files -n libosmo-xua-0_7_0_208 +%files -n libosmo-xua-%libversion %defattr(-,root,root) %_libdir/libosmo-xua-%version.so