Accepting request 536893 from network:telephony
- 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. OBS-URL: https://build.opensuse.org/request/show/536893 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libosmo-sccp?expand=0&rev=5
This commit is contained in:
commit
ea7848e049
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 26 13:05:31 UTC 2017 - dimstar@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.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Oct 2 23:10:26 UTC 2017 - jengelh@inai.de
|
Mon Oct 2 23:10:26 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
Name: libosmo-sccp
|
Name: libosmo-sccp
|
||||||
Version: 0.7.0.284
|
Version: 0.7.0.284
|
||||||
Release: 0
|
Release: 0
|
||||||
|
%define libversion 0_7_0_284
|
||||||
Summary: Osmocom library for the A-bis interface between BTS and BSC
|
Summary: Osmocom library for the A-bis interface between BTS and BSC
|
||||||
License: AGPL-3.0+ and GPL-2.0+
|
License: AGPL-3.0+ and GPL-2.0+
|
||||||
Group: Hardware/Mobile
|
Group: Hardware/Mobile
|
||||||
@ -44,12 +45,18 @@ control, segmentation, connection-orientation, and error correction
|
|||||||
facilities in Signaling System 7 telecommunications networks. SCCP is
|
facilities in Signaling System 7 telecommunications networks. SCCP is
|
||||||
heavily used in cellular networks such as GSM.
|
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
|
Summary: Osmocom Message Transfer Part library
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: System/Libraries
|
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
|
The Message Transfer Part (MTP) is part of the Signaling System 7
|
||||||
(SS7) used for communication in Public Switched Telephone Networks.
|
(SS7) used for communication in Public Switched Telephone Networks.
|
||||||
MTP is responsible for reliable, unduplicated and in-sequence
|
MTP is responsible for reliable, unduplicated and in-sequence
|
||||||
@ -59,7 +66,7 @@ transport of SS7 messages between communication partners.
|
|||||||
Summary: Development files for the Osmocom MTP library
|
Summary: Development files for the Osmocom MTP library
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libosmo-mtp-0_7_0_208 = %version
|
Requires: libosmo-mtp-%libversion = %version
|
||||||
|
|
||||||
%description -n libosmo-mtp-devel
|
%description -n libosmo-mtp-devel
|
||||||
MTP is part of SS7 used for communication in Public Switched
|
MTP is part of SS7 used for communication in Public Switched
|
||||||
@ -68,12 +75,18 @@ Telephone Networks.
|
|||||||
This subpackage contains the development files for the Osmocom MTP
|
This subpackage contains the development files for the Osmocom MTP
|
||||||
library.
|
library.
|
||||||
|
|
||||||
%package -n libosmo-sccp-0_7_0_208
|
%package -n libosmo-sccp-%libversion
|
||||||
Summary: Osmocom Signalling Connection Control Part library
|
Summary: Osmocom Signalling Connection Control Part library
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: System/Libraries
|
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
|
The Signalling Connection Control Part (SCCP) is a network layer
|
||||||
protocol that provides extended routing, flow control, segmentation,
|
protocol that provides extended routing, flow control, segmentation,
|
||||||
connection-orientation, and error correction facilities in Signaling
|
connection-orientation, and error correction facilities in Signaling
|
||||||
@ -84,7 +97,7 @@ MTP for basic routing and error detection.
|
|||||||
Summary: Development files for the Osmocom SCCP library
|
Summary: Development files for the Osmocom SCCP library
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libosmo-sccp-0_7_0_208 = %version
|
Requires: libosmo-sccp-%libversion = %version
|
||||||
|
|
||||||
%description -n libosmo-sccp-devel
|
%description -n libosmo-sccp-devel
|
||||||
SCCP is a network layer protocol that provides routing, flow control,
|
SCCP is a network layer protocol that provides routing, flow control,
|
||||||
@ -114,12 +127,18 @@ Osmocom implementation of (parts of) SIGTRAN.
|
|||||||
This subpackage contains the development files for the Osmocom
|
This subpackage contains the development files for the Osmocom
|
||||||
SIGTRAN library.
|
SIGTRAN library.
|
||||||
|
|
||||||
%package -n libosmo-xua-0_7_0_208
|
%package -n libosmo-xua-%libversion
|
||||||
Summary: Osmocom Message Transfer Part 2 User Adaptation library
|
Summary: Osmocom Message Transfer Part 2 User Adaptation library
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: System/Libraries
|
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
|
M2UA (RFC 3331) provides an SCTP (RFC 3873) adaptation layer for the
|
||||||
seamless backhaul of MTP Level 2 user messages and service interface
|
seamless backhaul of MTP Level 2 user messages and service interface
|
||||||
across an IP network.
|
across an IP network.
|
||||||
@ -129,7 +148,7 @@ Summary: Development files for the Osmocom M2UA library
|
|||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libosmo-sigtran-devel = %version
|
Requires: libosmo-sigtran-devel = %version
|
||||||
Requires: libosmo-xua-0_7_0_208 = %version
|
Requires: libosmo-xua-%libversion = %version
|
||||||
|
|
||||||
%description -n libosmo-xua-devel
|
%description -n libosmo-xua-devel
|
||||||
M2UA provides an SCTP adaptation layer for MTP level 2 user messages
|
M2UA provides an SCTP adaptation layer for MTP level 2 user messages
|
||||||
@ -154,18 +173,21 @@ make %{?_smp_mflags} install DESTDIR="$b"
|
|||||||
find "$b/%_libdir" -type f -name "*.la" -delete
|
find "$b/%_libdir" -type f -name "*.la" -delete
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
%ifarch ppc64
|
||||||
|
# still BE problems?
|
||||||
make %{?_smp_mflags} check
|
make %{?_smp_mflags} check
|
||||||
|
%endif
|
||||||
|
|
||||||
%post -n libosmo-mtp-0_7_0_208 -p /sbin/ldconfig
|
%post -n libosmo-mtp-%libversion -p /sbin/ldconfig
|
||||||
%postun -n libosmo-mtp-0_7_0_208 -p /sbin/ldconfig
|
%postun -n libosmo-mtp-%libversion -p /sbin/ldconfig
|
||||||
%post -n libosmo-sccp-0_7_0_208 -p /sbin/ldconfig
|
%post -n libosmo-sccp-%libversion -p /sbin/ldconfig
|
||||||
%postun -n libosmo-sccp-0_7_0_208 -p /sbin/ldconfig
|
%postun -n libosmo-sccp-%libversion -p /sbin/ldconfig
|
||||||
%post -n libosmo-sigtran0 -p /sbin/ldconfig
|
%post -n libosmo-sigtran0 -p /sbin/ldconfig
|
||||||
%postun -n libosmo-sigtran0 -p /sbin/ldconfig
|
%postun -n libosmo-sigtran0 -p /sbin/ldconfig
|
||||||
%post -n libosmo-xua-0_7_0_208 -p /sbin/ldconfig
|
%post -n libosmo-xua-%libversion -p /sbin/ldconfig
|
||||||
%postun -n libosmo-xua-0_7_0_208 -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)
|
%defattr(-,root,root)
|
||||||
%_libdir/libosmo-mtp-%version.so
|
%_libdir/libosmo-mtp-%version.so
|
||||||
|
|
||||||
@ -177,7 +199,7 @@ make %{?_smp_mflags} check
|
|||||||
%_libdir/libosmo-mtp.so
|
%_libdir/libosmo-mtp.so
|
||||||
%_libdir/pkgconfig/libosmo-mtp.pc
|
%_libdir/pkgconfig/libosmo-mtp.pc
|
||||||
|
|
||||||
%files -n libosmo-sccp-0_7_0_208
|
%files -n libosmo-sccp-%libversion
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%_libdir/libosmo-sccp.so
|
%_libdir/libosmo-sccp.so
|
||||||
%_libdir/libosmo-sccp-%version.so
|
%_libdir/libosmo-sccp-%version.so
|
||||||
@ -202,7 +224,7 @@ make %{?_smp_mflags} check
|
|||||||
%_libdir/libosmo-sigtran.so
|
%_libdir/libosmo-sigtran.so
|
||||||
%_libdir/pkgconfig/libosmo-sigtran.pc
|
%_libdir/pkgconfig/libosmo-sigtran.pc
|
||||||
|
|
||||||
%files -n libosmo-xua-0_7_0_208
|
%files -n libosmo-xua-%libversion
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%_libdir/libosmo-xua-%version.so
|
%_libdir/libosmo-xua-%version.so
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user