fit macros into preexisting style again

OBS-URL: https://build.opensuse.org/package/show/network:telephony/libosmo-sccp?expand=0&rev=18
This commit is contained in:
Jan Engelhardt 2017-10-26 13:46:11 +00:00 committed by Git OBS Bridge
parent bb6d271a10
commit 6b5446006a

View File

@ -45,18 +45,18 @@ control, segmentation, connection-orientation, and error correction
facilities in Signaling System 7 telecommunications networks. SCCP is
heavily used in cellular networks such as GSM.
%package -n libosmo-mtp-%{libversion}
%package -n libosmo-mtp-%libversion
Summary: Osmocom Message Transfer Part library
License: GPL-2.0+
Group: System/Libraries
%if "%{version}" == "0.7.0.284"
%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-%{libversion}
%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
@ -66,7 +66,7 @@ transport of SS7 messages between communication partners.
Summary: Development files for the Osmocom MTP library
License: GPL-2.0+
Group: Development/Libraries/C and C++
Requires: libosmo-mtp-%{libversion} = %version
Requires: libosmo-mtp-%libversion = %version
%description -n libosmo-mtp-devel
MTP is part of SS7 used for communication in Public Switched
@ -75,18 +75,18 @@ Telephone Networks.
This subpackage contains the development files for the Osmocom MTP
library.
%package -n libosmo-sccp-%{libversion}
%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"
%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-%{libversion}
%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
@ -97,7 +97,7 @@ MTP for basic routing and error detection.
Summary: Development files for the Osmocom SCCP library
License: GPL-2.0+
Group: Development/Libraries/C and C++
Requires: libosmo-sccp-%{libversion} = %version
Requires: libosmo-sccp-%libversion = %version
%description -n libosmo-sccp-devel
SCCP is a network layer protocol that provides routing, flow control,
@ -127,18 +127,18 @@ Osmocom implementation of (parts of) SIGTRAN.
This subpackage contains the development files for the Osmocom
SIGTRAN library.
%package -n libosmo-xua-%{libversion}
%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"
%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-%{libversion}
%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.
@ -148,7 +148,7 @@ Summary: Development files for the Osmocom M2UA library
License: GPL-2.0+
Group: Development/Libraries/C and C++
Requires: libosmo-sigtran-devel = %version
Requires: libosmo-xua-%{libversion} = %version
Requires: libosmo-xua-%libversion = %version
%description -n libosmo-xua-devel
M2UA provides an SCTP adaptation layer for MTP level 2 user messages
@ -175,16 +175,16 @@ find "$b/%_libdir" -type f -name "*.la" -delete
%check
make %{?_smp_mflags} check
%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-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-%{libversion} -p /sbin/ldconfig
%postun -n libosmo-xua-%{libversion} -p /sbin/ldconfig
%post -n libosmo-xua-%libversion -p /sbin/ldconfig
%postun -n libosmo-xua-%libversion -p /sbin/ldconfig
%files -n libosmo-mtp-%{libversion}
%files -n libosmo-mtp-%libversion
%defattr(-,root,root)
%_libdir/libosmo-mtp-%version.so
@ -196,7 +196,7 @@ make %{?_smp_mflags} check
%_libdir/libosmo-mtp.so
%_libdir/pkgconfig/libosmo-mtp.pc
%files -n libosmo-sccp-%{libversion}
%files -n libosmo-sccp-%libversion
%defattr(-,root,root)
%_libdir/libosmo-sccp.so
%_libdir/libosmo-sccp-%version.so
@ -221,7 +221,7 @@ make %{?_smp_mflags} check
%_libdir/libosmo-sigtran.so
%_libdir/pkgconfig/libosmo-sigtran.pc
%files -n libosmo-xua-%{libversion}
%files -n libosmo-xua-%libversion
%defattr(-,root,root)
%_libdir/libosmo-xua-%version.so