Accepting request 630660 from home:mnhauke:osmocom:latest

- Update to new upstream release 0.12.1
  * GnuTLS fall-back for obtaining randomness
  * support for three-digit MNC throughout the code-base
  * add talloc introspection via VTY
  * tighter CRTL input parsing
  * stricter VTY config file parsing
  * allow to print only basename of source code file in logging
  * print log level with color-keying of the level name
  See the following URLs for complete changelogs:
  http://git.osmocom.org/libosmocore/plain/debian/changelog?h=0.12.1
  http://git.osmocom.org/libosmocore/plain/debian/changelog?h=0.12.0
  http://git.osmocom.org/libosmocore/plain/debian/changelog?h=0.11.0
- Remove patch:
  * osmo-pkgconfig.diff (fixed upstream)

OBS-URL: https://build.opensuse.org/request/show/630660
OBS-URL: https://build.opensuse.org/package/show/network:telephony/libosmocore?expand=0&rev=57
This commit is contained in:
Ismail Dönmez 2018-08-20 20:11:23 +00:00 committed by Git OBS Bridge
parent 35982c13f0
commit f57abaf947
6 changed files with 50 additions and 53 deletions

View File

@ -2,8 +2,8 @@
<service name="tar_scm" mode="disabled"> <service name="tar_scm" mode="disabled">
<param name="scm">git</param> <param name="scm">git</param>
<param name="url">git://git.osmocom.org/libosmocore</param> <param name="url">git://git.osmocom.org/libosmocore</param>
<param name="revision">0.10.2</param> <param name="revision">0.12.1</param>
<param name="versionformat">0.10.2</param> <param name="versionformat">0.12.1</param>
</service> </service>
<service name="recompress" mode="disabled"> <service name="recompress" mode="disabled">
<param name="file">*.tar</param> <param name="file">*.tar</param>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6aa366b791f483ffc0e5206bbc7b043a3c83627bfef4e8b3e80ee697e0410863
size 542900

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4fb0f2c42b4c9d4ae24b0fdf39d898b37df37177b043f1b240a2c31681e43359
size 653156

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Mon Aug 20 18:01:05 UTC 2018 - mardnh@gmx.de
- Update to new upstream release 0.12.1
* GnuTLS fall-back for obtaining randomness
* support for three-digit MNC throughout the code-base
* add talloc introspection via VTY
* tighter CRTL input parsing
* stricter VTY config file parsing
* allow to print only basename of source code file in logging
* print log level with color-keying of the level name
See the following URLs for complete changelogs:
http://git.osmocom.org/libosmocore/plain/debian/changelog?h=0.12.1
http://git.osmocom.org/libosmocore/plain/debian/changelog?h=0.12.0
http://git.osmocom.org/libosmocore/plain/debian/changelog?h=0.11.0
- Remove patch:
* osmo-pkgconfig.diff (fixed upstream)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Mar 22 19:18:12 UTC 2018 - jengelh@inai.de Thu Mar 22 19:18:12 UTC 2018 - jengelh@inai.de

View File

@ -16,10 +16,10 @@
# #
%define version_unconverted 0.10.2 %define version_unconverted 0.12.1
Name: libosmocore Name: libosmocore
Version: 0.10.2 Version: 0.12.1
Release: 0 Release: 0
Summary: The Open Source Mobile Communications Core Library Summary: The Open Source Mobile Communications Core Library
License: GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later AND AGPL-3.0-or-later License: GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later AND AGPL-3.0-or-later
@ -27,13 +27,13 @@ Group: Productivity/Telephony/Utilities
Url: https://osmocom.org/projects/libosmocore/wiki/Libosmocore Url: https://osmocom.org/projects/libosmocore/wiki/Libosmocore
Source: %name-%version.tar.xz Source: %name-%version.tar.xz
Patch1: osmo-pkgconfig.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: automake >= 1.6 BuildRequires: automake >= 1.6
BuildRequires: libtool >= 2 BuildRequires: libtool >= 2
BuildRequires: pkg-config >= 0.20 BuildRequires: pkg-config >= 0.20
BuildRequires: python BuildRequires: python
BuildRequires: xz BuildRequires: xz
BuildRequires: pkgconfig(gnutls) >= 2.12.0
BuildRequires: pkgconfig(libpcsclite) BuildRequires: pkgconfig(libpcsclite)
BuildRequires: pkgconfig(talloc) >= 2.0.1 BuildRequires: pkgconfig(talloc) >= 2.0.1
@ -113,13 +113,13 @@ transcoding routines.
This subpackage contains libraries and header files for developing This subpackage contains libraries and header files for developing
applications that want to make use of libosmocoding. applications that want to make use of libosmocoding.
%package -n libosmocore9 %package -n libosmocore11
Summary: Osmocom core library Summary: Osmocom core library
# crc16.c has GPL2-only clauses, the rest (*.c) is GPL-2.0+ # crc16.c has GPL2-only clauses, the rest (*.c) is GPL-2.0+
License: GPL-2.0-only AND GPL-2.0-or-later License: GPL-2.0-only AND GPL-2.0-or-later
Group: System/Libraries Group: System/Libraries
%description -n libosmocore9 %description -n libosmocore11
libosmocore is a library with various utility functions shared libosmocore is a library with various utility functions shared
between OpenBSC and OsmocomBB. between OpenBSC and OsmocomBB.
@ -128,7 +128,7 @@ Summary: Development files for the Osmocom core library
# crc16.h has GPL2-only clauses, the rest (*.h) is GPL-2.0+ # crc16.h has GPL2-only clauses, the rest (*.h) is GPL-2.0+
License: GPL-2.0-only AND GPL-2.0-or-later License: GPL-2.0-only AND GPL-2.0-or-later
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libosmocore9 = %version Requires: libosmocore11 = %version
Requires: libtalloc-devel Requires: libtalloc-devel
%description -n libosmocore-devel %description -n libosmocore-devel
@ -165,12 +165,12 @@ interface, the control interface is meant to be used by programs.
This subpackage contains libraries and header files for developing This subpackage contains libraries and header files for developing
applications that want to make use of libosmoctrl. applications that want to make use of libosmoctrl.
%package -n libosmogb5 %package -n libosmogb6
Summary: Osmocom GPRS Gb Interface (NS/BSSGP) library Summary: Osmocom GPRS Gb Interface (NS/BSSGP) library
License: AGPL-3.0-or-later License: AGPL-3.0-or-later
Group: System/Libraries Group: System/Libraries
%description -n libosmogb5 %description -n libosmogb6
libosmocore is a package with various utility functions that were libosmocore is a package with various utility functions that were
originally developed as part of the OpenBSC project. originally developed as part of the OpenBSC project.
@ -181,7 +181,7 @@ Summary: Development files for the Osmocom GPRS Gb interface library
License: AGPL-3.0-or-later License: AGPL-3.0-or-later
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libosmocore-devel = %version Requires: libosmocore-devel = %version
Requires: libosmogb5 = %version Requires: libosmogb6 = %version
Requires: libosmogsm-devel = %version Requires: libosmogsm-devel = %version
%description -n libosmogb-devel %description -n libosmogb-devel
@ -190,12 +190,12 @@ The libosmogb library contains a GPRS BSSGP protocol implementation.
This subpackage contains libraries and header files for developing This subpackage contains libraries and header files for developing
applications that want to make use of libosmogb. applications that want to make use of libosmogb.
%package -n libosmogsm8 %package -n libosmogsm10
Summary: Osmocom GSM utility library Summary: Osmocom GSM utility library
License: GPL-2.0-or-later AND AGPL-3.0-or-later License: GPL-2.0-or-later AND AGPL-3.0-or-later
Group: System/Libraries Group: System/Libraries
%description -n libosmogsm8 %description -n libosmogsm10
libosmocore is a package with various utility functions that were libosmocore is a package with various utility functions that were
originally developed as part of the OpenBSC project. originally developed as part of the OpenBSC project.
@ -210,7 +210,7 @@ Summary: Development files for the Osmocom GSM utility library
License: GPL-2.0-or-later AND AGPL-3.0-or-later License: GPL-2.0-or-later AND AGPL-3.0-or-later
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libosmocore-devel = %version Requires: libosmocore-devel = %version
Requires: libosmogsm8 = %version Requires: libosmogsm10 = %version
%description -n libosmogsm-devel %description -n libosmogsm-devel
The libosmogsm library in particular is a collection of common code The libosmogsm library in particular is a collection of common code
@ -276,7 +276,6 @@ applications that want to make use of libosmovty.
%prep %prep
%setup -q %setup -q
%patch -P 1 -p1
%build %build
echo "%version" >.tarball-version echo "%version" >.tarball-version
@ -291,21 +290,20 @@ make %{?_smp_mflags} install DESTDIR="$b"
find "$b/%_libdir" -type f -name "*.la" -delete find "$b/%_libdir" -type f -name "*.la" -delete
%check %check
# susceptible to timing issues make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
make %{?_smp_mflags} check || :
%post -n libosmocodec0 -p /sbin/ldconfig %post -n libosmocodec0 -p /sbin/ldconfig
%postun -n libosmocodec0 -p /sbin/ldconfig %postun -n libosmocodec0 -p /sbin/ldconfig
%post -n libosmocoding0 -p /sbin/ldconfig %post -n libosmocoding0 -p /sbin/ldconfig
%postun -n libosmocoding0 -p /sbin/ldconfig %postun -n libosmocoding0 -p /sbin/ldconfig
%post -n libosmocore9 -p /sbin/ldconfig %post -n libosmocore11 -p /sbin/ldconfig
%postun -n libosmocore9 -p /sbin/ldconfig %postun -n libosmocore11 -p /sbin/ldconfig
%post -n libosmoctrl0 -p /sbin/ldconfig %post -n libosmoctrl0 -p /sbin/ldconfig
%postun -n libosmoctrl0 -p /sbin/ldconfig %postun -n libosmoctrl0 -p /sbin/ldconfig
%post -n libosmogb5 -p /sbin/ldconfig %post -n libosmogb6 -p /sbin/ldconfig
%postun -n libosmogb5 -p /sbin/ldconfig %postun -n libosmogb6 -p /sbin/ldconfig
%post -n libosmogsm8 -p /sbin/ldconfig %post -n libosmogsm10 -p /sbin/ldconfig
%postun -n libosmogsm8 -p /sbin/ldconfig %postun -n libosmogsm10 -p /sbin/ldconfig
%post -n libosmosim0 -p /sbin/ldconfig %post -n libosmosim0 -p /sbin/ldconfig
%postun -n libosmosim0 -p /sbin/ldconfig %postun -n libosmosim0 -p /sbin/ldconfig
%post -n libosmovty4 -p /sbin/ldconfig %post -n libosmovty4 -p /sbin/ldconfig
@ -339,9 +337,9 @@ make %{?_smp_mflags} check || :
%_libdir/libosmocoding.so %_libdir/libosmocoding.so
%_libdir/pkgconfig/libosmocoding.pc %_libdir/pkgconfig/libosmocoding.pc
%files -n libosmocore9 %files -n libosmocore11
%defattr(-,root,root) %defattr(-,root,root)
%_libdir/libosmocore.so.9* %_libdir/libosmocore.so.11*
%files -n libosmocore-devel %files -n libosmocore-devel
%defattr(-,root,root) %defattr(-,root,root)
@ -363,9 +361,9 @@ make %{?_smp_mflags} check || :
%_libdir/libosmoctrl.so %_libdir/libosmoctrl.so
%_libdir/pkgconfig/libosmoctrl.pc %_libdir/pkgconfig/libosmoctrl.pc
%files -n libosmogb5 %files -n libosmogb6
%defattr(-,root,root) %defattr(-,root,root)
%_libdir/libosmogb.so.5* %_libdir/libosmogb.so.6*
%files -n libosmogb-devel %files -n libosmogb-devel
%defattr(-,root,root) %defattr(-,root,root)
@ -375,9 +373,9 @@ make %{?_smp_mflags} check || :
%_libdir/libosmogb.so %_libdir/libosmogb.so
%_libdir/pkgconfig/libosmogb.pc %_libdir/pkgconfig/libosmogb.pc
%files -n libosmogsm8 %files -n libosmogsm10
%defattr(-,root,root) %defattr(-,root,root)
%_libdir/libosmogsm.so.8* %_libdir/libosmogsm.so.10*
%files -n libosmogsm-devel %files -n libosmogsm-devel
%defattr(-,root,root) %defattr(-,root,root)

View File

@ -1,21 +0,0 @@
From: Jan Engelhardt <jengelh@inai.de>
Date: 2015-03-01 02:09:23.272148046 +0100
Ensure all .pc files ARE installed.
---
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: libosmocore-0.9.6.400/Makefile.am
===================================================================
--- libosmocore-0.9.6.400.orig/Makefile.am
+++ libosmocore-0.9.6.400/Makefile.am
@@ -5,7 +5,7 @@ SUBDIRS = include src src/vty src/codec
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libosmocore.pc libosmocodec.pc libosmovty.pc libosmogsm.pc \
- libosmogb.pc libosmoctrl.pc libosmocoding.pc
+ libosmogb.pc libosmoctrl.pc libosmocoding.pc libosmosim.pc
@RELMAKE@