diff --git a/_service b/_service
index ab3a9fd..0584d38 100644
--- a/_service
+++ b/_service
@@ -2,8 +2,8 @@
git
git://git.osmocom.org/libosmocore
- 1.2.0
- 1.2.0
+ 1.3.0
+ 1.3.0
*.tar
diff --git a/libosmocore-1.2.0.tar.xz b/libosmocore-1.2.0.tar.xz
deleted file mode 100644
index a4655d2..0000000
--- a/libosmocore-1.2.0.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:a9edda3dc0319af049cb6796e522f2865decfe594a2fb6e338d9d468973482ec
-size 781516
diff --git a/libosmocore-1.3.0.tar.xz b/libosmocore-1.3.0.tar.xz
new file mode 100644
index 0000000..4299912
--- /dev/null
+++ b/libosmocore-1.3.0.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d982ce76104659d8cac2d381cc832304c9bfd8b7812ebb3f5fb1dcbecfccec13
+size 817524
diff --git a/libosmocore.changes b/libosmocore.changes
index c7debea..1360f07 100644
--- a/libosmocore.changes
+++ b/libosmocore.changes
@@ -1,3 +1,23 @@
+-------------------------------------------------------------------
+Sun Jan 5 10:39:49 UTC 2020 - Martin Hauke
+
+- Update to new upstream release 1.3.0
+ * add osmo_sockaddr_str_cmp()
+ * misc logging/vty fixes
+ * fix OSMO_SOCKADDR_STR_FMT for IPv6
+ * GPRS/BSSGP: introduce bssgp_bvc_ctx_free()
+ * gsm_04_08.h: Introduce API osmo_gsm48_rfpowercap2powerclass()
+ * gsm0508: add functions to calculate beginning of a block
+ * socket: Introduce API osmo_sock_init2_multiaddr()
+ * vty: Optionally Set/replace cfg file during cmd 'write file'
+ * gsup: add OSMO_GSUP_SUPPORTED_RAT_TYPES_IE and
+ OSMO_GSUP_CURRENT_RAT_TYPE_IE
+ * tdef: Introduce API osmo_tdef_set()
+ * Introduce BTS_FEAT_ETWS_PN for communicating ETWS PN capability
+ * context: Add support for [per-thread] global talloc contexts
+ * add vty logp command to echo on all log targets
+- Add subpackges for the Osmocom USB library
+
-------------------------------------------------------------------
Wed Aug 14 17:24:05 UTC 2019 - Jan Engelhardt
diff --git a/libosmocore.spec b/libosmocore.spec
index d01f6ed..ac2b173 100644
--- a/libosmocore.spec
+++ b/libosmocore.spec
@@ -1,7 +1,7 @@
#
# spec file for package libosmocore
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: libosmocore
-Version: 1.2.0
+Version: 1.3.0
Release: 0
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
@@ -26,11 +26,13 @@ URL: https://osmocom.org/projects/libosmocore/wiki/Libosmocore
Source: %name-%version.tar.xz
BuildRequires: automake >= 1.6
BuildRequires: libtool >= 2
+BuildRequires: lksctp-tools-devel
BuildRequires: pkg-config >= 0.20
-BuildRequires: python2
+BuildRequires: python3
BuildRequires: xz
BuildRequires: pkgconfig(gnutls) >= 2.12.0
BuildRequires: pkgconfig(libpcsclite)
+BuildRequires: pkgconfig(libusb-1.0)
BuildRequires: pkgconfig(talloc) >= 2.0.1
%description
@@ -270,6 +272,33 @@ VTY (Virtual TTY), as well as configuration file parsing.
This subpackage contains libraries and header files for developing
applications that want to make use of libosmovty.
+%package -n libosmousb0
+Summary: Osmocom USB library
+License: GPL-2.0-or-later
+Group: System/Libraries
+
+%description -n libosmousb0
+libosmocore is a package with various utility functions that were
+originally developed as part of the OpenBSC project.
+
+The libosmosub library in particular contains routines for USB device
+access via libusb-1.0, integrated into the libosmocore select event loop.
+
+%package -n libosmousb-devel
+Summary: Development files for the Osmocom USB library
+License: GPL-2.0-or-later
+Group: Development/Libraries/C and C++
+Requires: libosmocore-devel = %version
+Requires: libosmousb0 = %version
+Requires: libusb-1_0-devel
+
+%description -n libosmousb-devel
+The libosmosub library in particular contains routines for USB device
+access via libusb-1.0, integrated into the libosmocore select event loop.
+
+This subpackage contains libraries and header files for developing
+applications that want to make use of libosmousb.
+
%prep
%autosetup -p1
@@ -306,6 +335,8 @@ make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
%postun -n libosmosim0 -p /sbin/ldconfig
%post -n libosmovty4 -p /sbin/ldconfig
%postun -n libosmovty4 -p /sbin/ldconfig
+%post -n libosmousb0 -p /sbin/ldconfig
+%postun -n libosmousb0 -p /sbin/ldconfig
%files tools
%_bindir/osmo-*
@@ -339,6 +370,8 @@ make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
%_includedir/%name/osmocom/core/
%_libdir/libosmocore.so
%_libdir/pkgconfig/libosmocore.pc
+%_datadir/aclocal/osmo_ax_code_coverage.m4
+%_datadir/aclocal/osmo_ac_code_coverage.m4
%files -n libosmoctrl0
%_libdir/libosmoctrl.so.0*
@@ -392,4 +425,16 @@ make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
%_libdir/libosmovty.so
%_libdir/pkgconfig/libosmovty.pc
+%files -n libosmousb0
+%defattr(-,root,root)
+%_libdir/libosmousb.so.0*
+
+%files -n libosmousb-devel
+%defattr(-,root,root)
+%dir %_includedir/%name
+%dir %_includedir/%name/osmocom
+%_includedir/%name/osmocom/usb/
+%_libdir/libosmousb.so
+%_libdir/pkgconfig/libosmousb.pc
+
%changelog