SHA256
1
0
forked from pool/libgtpnl

- Remove old specfile constructs.

OBS-URL: https://build.opensuse.org/package/show/network:telephony/libgtpnl?expand=0&rev=13
This commit is contained in:
Jan Engelhardt 2020-09-06 11:54:28 +00:00 committed by Git OBS Bridge
parent 8a6743d80d
commit f8fb113384
3 changed files with 12 additions and 9 deletions

View File

@ -1,7 +1,7 @@
<services> <services>
<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/libgtpnl</param> <param name="url">https://git.osmocom.org/libgtpnl</param>
<param name="revision">1.2.1</param> <param name="revision">1.2.1</param>
<param name="versionformat">1.2.1</param> <param name="versionformat">1.2.1</param>
</service> </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> Thu Aug 15 04:58:55 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package libgtpnl # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -22,14 +22,13 @@ Release: 0
Summary: GPRS tunnel configuration library Summary: GPRS tunnel configuration library
License: GPL-2.0-or-later AND LGPL-2.1-or-later License: GPL-2.0-or-later AND LGPL-2.1-or-later
Group: Development/Libraries/C and C++ 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 Source: %name-%version.tar.xz
BuildRequires: libtool >= 2 BuildRequires: libtool >= 2
BuildRequires: pkg-config BuildRequires: pkg-config
BuildRequires: xz BuildRequires: xz
BuildRequires: pkgconfig(libmnl) >= 1.0.0 BuildRequires: pkgconfig(libmnl) >= 1.0.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
libgtpnl wraps the genetlink-based GPRS tunnel configuration of the 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. applications that want to make use of libgtpnl.
%prep %prep
%setup -q %autosetup -p1
%build %build
echo "%version" >.tarball-version echo "%version" >.tarball-version
autoreconf -fi autoreconf -fi
# bugzilla.opensuse.org/795968 for rationale
%configure --includedir="%_includedir/%name" %configure --includedir="%_includedir/%name"
make %{?_smp_mflags} %make_build
%install %install
%make_install %make_install
@ -77,12 +77,10 @@ make %{?_smp_mflags} check
%postun -n libgtpnl0 -p /sbin/ldconfig %postun -n libgtpnl0 -p /sbin/ldconfig
%files -n libgtpnl0 %files -n libgtpnl0
%defattr(-,root,root)
%_libdir/libgtpnl.so.0* %_libdir/libgtpnl.so.0*
%files devel %files devel
%defattr(-,root,root) %license COPYING
%doc COPYING
%_includedir/libgtpnl/ %_includedir/libgtpnl/
%_libdir/libgtpnl.so %_libdir/libgtpnl.so
%_libdir/pkgconfig/*.pc %_libdir/pkgconfig/*.pc