From f8fb11338405e85e40fdf18752bc774fd031b574abd4755d4b0f07fc865c454c Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 6 Sep 2020 11:54:28 +0000 Subject: [PATCH] - Remove old specfile constructs. OBS-URL: https://build.opensuse.org/package/show/network:telephony/libgtpnl?expand=0&rev=13 --- _service | 2 +- libgtpnl.changes | 5 +++++ libgtpnl.spec | 14 ++++++-------- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/_service b/_service index be6d0ca..aa2393d 100644 --- a/_service +++ b/_service @@ -1,7 +1,7 @@ git - git://git.osmocom.org/libgtpnl + https://git.osmocom.org/libgtpnl 1.2.1 1.2.1 diff --git a/libgtpnl.changes b/libgtpnl.changes index bddcd06..4f3dca9 100644 --- a/libgtpnl.changes +++ b/libgtpnl.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Sep 6 11:50:34 UTC 2020 - Jan Engelhardt + +- Remove old specfile constructs. + ------------------------------------------------------------------- Thu Aug 15 04:58:55 UTC 2019 - Jan Engelhardt diff --git a/libgtpnl.spec b/libgtpnl.spec index 411a4f7..34e3700 100644 --- a/libgtpnl.spec +++ b/libgtpnl.spec @@ -1,7 +1,7 @@ # # spec file for package libgtpnl # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,14 +22,13 @@ Release: 0 Summary: GPRS tunnel configuration library License: GPL-2.0-or-later AND LGPL-2.1-or-later Group: Development/Libraries/C and C++ -Url: https://osmocom.org/projects/linux-kernel-gtp-u/wiki +URL: https://osmocom.org/projects/linux-kernel-gtp-u/wiki Source: %name-%version.tar.xz BuildRequires: libtool >= 2 BuildRequires: pkg-config BuildRequires: xz BuildRequires: pkgconfig(libmnl) >= 1.0.0 -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description libgtpnl wraps the genetlink-based GPRS tunnel configuration of the @@ -58,13 +57,14 @@ This subpackage contains libraries and header files for developing applications that want to make use of libgtpnl. %prep -%setup -q +%autosetup -p1 %build echo "%version" >.tarball-version autoreconf -fi +# bugzilla.opensuse.org/795968 for rationale %configure --includedir="%_includedir/%name" -make %{?_smp_mflags} +%make_build %install %make_install @@ -77,12 +77,10 @@ make %{?_smp_mflags} check %postun -n libgtpnl0 -p /sbin/ldconfig %files -n libgtpnl0 -%defattr(-,root,root) %_libdir/libgtpnl.so.0* %files devel -%defattr(-,root,root) -%doc COPYING +%license COPYING %_includedir/libgtpnl/ %_libdir/libgtpnl.so %_libdir/pkgconfig/*.pc