Accepting request 1087822 from network:telephony

- Update to release 1.3.0

OBS-URL: https://build.opensuse.org/request/show/1087822
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libosmo-netif?expand=0&rev=12
This commit is contained in:
Dominique Leuenberger 2023-05-19 09:55:35 +00:00 committed by Git OBS Bridge
commit 2bfa4273aa
5 changed files with 31 additions and 25 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5dd38ceccc1cdb9b53b169df36bddc07eccbb136702360899d900ec461e68378
size 247900

3
1.3.0.tar.gz Normal file
View File

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu May 18 11:28:42 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.3.0
* osmux: Introduce API osmux_xfrm_input_set_name
-------------------------------------------------------------------
Wed Aug 3 15:52:24 UTC 2022 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package libosmo-netif
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,39 +17,39 @@
Name: libosmo-netif
Version: 1.2.0
Version: 1.3.0
Release: 0
Summary: Osmocom library for muxed audio
License: GPL-2.0-or-later
Group: Productivity/Telephony/Utilities
URL: https://osmocom.org/projects/libosmo-netif
Source: https://github.com/osmocom/libosmo-netif/archive/%version.tar.gz
Patch1: osmo-talloc.diff
BuildRequires: automake
BuildRequires: libtool >= 2
BuildRequires: lksctp-tools-devel
BuildRequires: pkg-config >= 0.20
BuildRequires: pkgconfig(libosmocore) >= 1.7.0
BuildRequires: pkgconfig(libosmogsm) >= 1.7.0
BuildRequires: pkgconfig(libosmocodec) >= 1.8.0
BuildRequires: pkgconfig(libosmocore) >= 1.8.0
BuildRequires: pkgconfig(libosmogsm) >= 1.8.0
BuildRequires: pkgconfig(talloc)
%description
Network interface demuxer library for OsmoCom projects.
%package -n libosmonetif8
%package -n libosmonetif11
Summary: Osmocom library for muxed audio
License: AGPL-3.0-or-later
Group: System/Libraries
%description -n libosmonetif8
%description -n libosmonetif11
Network interface demuxer library for OsmoCom projects.
%package -n libosmonetif-devel
Summary: Development files for the Osmocom muxed audio library
License: AGPL-3.0-or-later
Group: Development/Libraries/C and C++
Requires: libosmonetif8 = %version
Requires: libosmonetif11 = %version
%description -n libosmonetif-devel
Network interface demuxer library for OsmoCom projects.
@ -80,10 +80,10 @@ if ! %make_build check; then
# timing issue
fi
%post -n libosmonetif8 -p /sbin/ldconfig
%postun -n libosmonetif8 -p /sbin/ldconfig
%post -n libosmonetif11 -p /sbin/ldconfig
%postun -n libosmonetif11 -p /sbin/ldconfig
%files -n libosmonetif8
%files -n libosmonetif11
%_libdir/libosmonetif.so.*
%files -n libosmonetif-devel

View File

@ -4,11 +4,11 @@
src/Makefile.am | 2 +-
3 files changed, 17 insertions(+), 16 deletions(-)
Index: libosmo-netif-1.2.0/configure.ac
Index: libosmo-netif-1.3.0/configure.ac
===================================================================
--- libosmo-netif-1.2.0.orig/configure.ac
+++ libosmo-netif-1.2.0/configure.ac
@@ -124,6 +124,7 @@ AS_IF([test "x$ENABLE_LIBSCTP" = "xyes"]
--- libosmo-netif-1.3.0.orig/configure.ac
+++ libosmo-netif-1.3.0/configure.ac
@@ -125,6 +125,7 @@ AS_IF([test "x$ENABLE_LIBSCTP" = "xyes"]
LIBS=$old_LIBS
])
@ -16,10 +16,10 @@ Index: libosmo-netif-1.2.0/configure.ac
found_pcap=yes
AC_CHECK_HEADERS(pcap.h,,found_pcap=no)
AM_CONDITIONAL(HAVE_PCAP, test "$found_pcap" = yes)
Index: libosmo-netif-1.2.0/examples/Makefile.am
Index: libosmo-netif-1.3.0/examples/Makefile.am
===================================================================
--- libosmo-netif-1.2.0.orig/examples/Makefile.am
+++ libosmo-netif-1.2.0/examples/Makefile.am
--- libosmo-netif-1.3.0.orig/examples/Makefile.am
+++ libosmo-netif-1.3.0/examples/Makefile.am
@@ -1,5 +1,5 @@
AM_CPPFLAGS = -I$(top_srcdir)/include
-AM_CFLAGS=-Wall -g $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) $(LIBOSMOABIS_CFLAGS) $(COVERAGE_CFLAGS)
@ -99,12 +99,12 @@ Index: libosmo-netif-1.2.0/examples/Makefile.am
osmux_test_output_LDADD = $(top_builddir)/src/libosmonetif.la \
- $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS)
+ $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(TALLOC_LIBS)
Index: libosmo-netif-1.2.0/src/Makefile.am
Index: libosmo-netif-1.3.0/src/Makefile.am
===================================================================
--- libosmo-netif-1.2.0.orig/src/Makefile.am
+++ libosmo-netif-1.2.0/src/Makefile.am
--- libosmo-netif-1.3.0.orig/src/Makefile.am
+++ libosmo-netif-1.3.0/src/Makefile.am
@@ -3,7 +3,7 @@
LIBVERSION=10:0:2
LIBVERSION=11:0:0
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)
-AM_CFLAGS= -fPIC -Wall $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) $(LIBOSMOABIS_CFLAGS) $(COVERAGE_CFLAGS) $(LIBSCTP_CFLAGS)