SHA256
1
0
forked from pool/libnl3

Accepting request 159492 from security:netfilter

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/159492
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnl3?expand=0&rev=19
This commit is contained in:
Stephan Kulow 2013-03-15 09:41:07 +00:00 committed by Git OBS Bridge
commit d74e95cd7d
3 changed files with 1679 additions and 8 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Mar 7 19:59:56 UTC 2013 - jengelh@inai.de
- Add preliminary symbol versioning for libnl
(0001-Add-symbol-version-maps-to-libnl.patch)
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jan 25 04:04:58 UTC 2013 - jengelh@inai.de Fri Jan 25 04:04:58 UTC 2013 - jengelh@inai.de

View File

@ -29,10 +29,13 @@ Url: http://people.suug.ch/~tgr/libnl/
#Git-Clone: git://git.infradead.org/users/tgr/libnl #Git-Clone: git://git.infradead.org/users/tgr/libnl
Source: http://www.infradead.org/~tgr/libnl/files/libnl-%version.tar.gz Source: http://www.infradead.org/~tgr/libnl/files/libnl-%version.tar.gz
Source2: baselibs.conf Source2: baselibs.conf
Patch1: 0001-Add-symbol-version-maps-to-libnl.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
#git#BuildRequires: autoconf, automake, libtool BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bison BuildRequires: bison
BuildRequires: flex >= 2.5.19 BuildRequires: flex >= 2.5.19
BuildRequires: libtool
BuildRequires: pkgconfig >= 0.21 BuildRequires: pkgconfig >= 0.21
BuildRequires: python-devel >= 2.6 BuildRequires: python-devel >= 2.6
%if 0%{?suse_version} %if 0%{?suse_version}
@ -97,14 +100,12 @@ demonstrated.
%prep %prep
%setup -qn libnl-%version %setup -qn libnl-%version
%patch -P 1 -p1
%build %build
if [ ! -e configure ]; then autoreconf -fi;
autoreconf -fi;
fi;
%configure --disable-static %configure --disable-static
# Remove LEX= workaround in 3.2.17 make %{?_smp_mflags} pkglibdir="%_libdir/%lname"
make %{?_smp_mflags} LEX=flex pkglibdir="%_libdir/%lname" V=1;
%install %install
b="%buildroot"; b="%buildroot";
@ -118,8 +119,7 @@ rm -Rf "$b/%_sbindir" "$b/%_mandir/man8";
%fdupes %buildroot/%_prefix %fdupes %buildroot/%_prefix
%endif %endif
%post -n %lname -p /sbin/ldconfig %post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig
%files -n %lname %files -n %lname