SHA256
1
0
forked from pool/libgtpnl

Accepting request 832608 from network:telephony

- Remove old specfile constructs.

OBS-URL: https://build.opensuse.org/request/show/832608
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libgtpnl?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2020-09-17 12:42:45 +00:00 committed by Git OBS Bridge
commit 3758d581ef
3 changed files with 13 additions and 10 deletions

View File

@ -1,7 +1,7 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">git://git.osmocom.org/libgtpnl</param>
<param name="url">https://git.osmocom.org/libgtpnl</param>
<param name="revision">1.2.1</param>
<param name="versionformat">1.2.1</param>
</service>

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Sep 6 11:50:34 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
- Remove old specfile constructs.
-------------------------------------------------------------------
Thu Aug 15 04:58:55 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

View File

@ -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,31 +57,30 @@ 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
rm -f "%buildroot/%_libdir"/*.la
%check
make %{?_smp_mflags} check
%make_build check
%post -n libgtpnl0 -p /sbin/ldconfig
%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