forked from pool/libnl3
Accepting request 132119 from security:netfilter
- Update to new upstream release 3.2.12 * Add new API to retrieve versioning information at runtime suitable for python ctype. OBS-URL: https://build.opensuse.org/request/show/132119 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnl3?expand=0&rev=13
This commit is contained in:
commit
937ae00e7a
23
libdir.diff
23
libdir.diff
@ -1,23 +0,0 @@
|
||||
From: Jan Engelhardt <jengelh@medozas.de>
|
||||
Date: 2011-09-14 10:16:16.747806482 +0200
|
||||
Upstream: possibly not
|
||||
|
||||
Quick hack to make pkglibdir include the version.
|
||||
|
||||
---
|
||||
configure.in | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
Index: libnl-3.2.8/configure.in
|
||||
===================================================================
|
||||
--- libnl-3.2.8.orig/configure.in
|
||||
+++ libnl-3.2.8/configure.in
|
||||
@@ -41,7 +41,7 @@ m4_define([libnl_lt_age], [6])
|
||||
m4_define([libnl_version],
|
||||
[libnl_major_version.libnl_minor_version.libnl_micro_version])
|
||||
|
||||
-AC_INIT(libnl, [libnl_version], [http://www.infradead.org/~tgr/libnl/])
|
||||
+AC_INIT(libnl3-200, [libnl_version], [http://www.infradead.org/~tgr/libnl/])
|
||||
AC_CONFIG_HEADERS([lib/defs.h])
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
AM_INIT_AUTOMAKE([-Wall foreign subdir-objects])
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:432c17513e1a1e9a0f06323d552022bbe712a39b61352fa464c93355b411add3
|
||||
size 972409
|
3
libnl-3.2.12.tar.xz
Normal file
3
libnl-3.2.12.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c665157ef3823e0862298290d49bda725c0df816209fb627e089ece29baf4f1c
|
||||
size 908076
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 31 01:55:51 UTC 2012 - jengelh@inai.de
|
||||
|
||||
- Update to new upstream release 3.2.12
|
||||
* Add new API to retrieve versioning information at runtime
|
||||
suitable for python ctype.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 19 13:35:16 UTC 2012 - jengelh@inai.de
|
||||
|
||||
|
34
libnl3.spec
34
libnl3.spec
@ -19,7 +19,7 @@
|
||||
Name: libnl3
|
||||
%define lname libnl3-200
|
||||
%define with_tools 1
|
||||
Version: 3.2.11
|
||||
Version: 3.2.12
|
||||
Release: 0
|
||||
Summary: Convenience library for working with Netlink sockets
|
||||
License: LGPL-2.1 and GPL-2.0
|
||||
@ -28,19 +28,18 @@ Group: Development/Libraries/C and C++
|
||||
Url: http://people.suug.ch/~tgr/libnl/
|
||||
#Git-Clone: git://git.kernel.org/pub/scm/libs/netlink/libnl
|
||||
#Git-Clone: git://git.infradead.org/users/tgr/libnl
|
||||
Source: libnl-%version.tar.bz2
|
||||
Source: libnl-%version.tar.xz
|
||||
Source2: baselibs.conf
|
||||
Patch1: libdir.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
#git#BuildRequires: autoconf, automake, libtool
|
||||
BuildRequires: bison
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: flex
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkgconfig >= 0.23
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: flex >= 2.5.19
|
||||
BuildRequires: pkgconfig >= 0.21
|
||||
BuildRequires: python-devel >= 2.6
|
||||
BuildRequires: xz
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: fdupes
|
||||
%endif
|
||||
|
||||
%description
|
||||
The libnl suite is a collection of libraries providing APIs to
|
||||
@ -99,33 +98,26 @@ demonstrated.
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%if 0%{?__xz:1}
|
||||
%setup -qn libnl-%version
|
||||
%else
|
||||
tar -xf "%{S:0}" --use=xz;
|
||||
%setup -DTqn libnl-%version
|
||||
%endif
|
||||
%patch -P 1 -p1
|
||||
|
||||
%build
|
||||
# we do have patches
|
||||
autoreconf -fi;
|
||||
|
||||
if [ ! -e configure ]; then
|
||||
autoreconf -fi;
|
||||
fi;
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags};
|
||||
make %{?_smp_mflags} pkglibdir="%_libdir/%lname";
|
||||
|
||||
%install
|
||||
b="%buildroot";
|
||||
%makeinstall
|
||||
make install DESTDIR="%buildroot" pkglibdir="%_libdir/%lname";
|
||||
find "$b" -iname "*.la" -delete;
|
||||
%if !%with_tools
|
||||
rm -Rf "$b/%_sysconfdir/libnl";
|
||||
rm -Rf "$b/%_sbindir" "$b/%_mandir/man8";
|
||||
%endif
|
||||
%if "%{?fudes:1}"
|
||||
%fdupes %buildroot
|
||||
%endif
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user