Accepting request 134112 from security:netfilter

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/134112
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnetfilter_cthelper?expand=0&rev=3
This commit is contained in:
Ismail Dönmez 2012-09-14 10:28:52 +00:00 committed by Git OBS Bridge
commit a0910ccb2a
3 changed files with 22 additions and 7 deletions

View File

@ -1 +1 @@
libnetfilter_cttimeout1 libnetfilter_cthelper-0-0

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Aug 31 18:06:01 UTC 2012 - jengelh@inai.de
- Rectify baselibs.conf to include the right package name
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jun 4 14:06:19 UTC 2012 - jengelh@inai.de Mon Jun 4 14:06:19 UTC 2012 - jengelh@inai.de

View File

@ -30,10 +30,15 @@ Source: %name-%version.tar.xz
Source3: baselibs.conf Source3: baselibs.conf
Patch1: libname.diff Patch1: libname.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf, automake >= 1.6 BuildRequires: autoconf
BuildRequires: libtool BuildRequires: automake >= 1.6
BuildRequires: libtool >= 2
BuildRequires: pkgconfig >= 0.21 BuildRequires: pkgconfig >= 0.21
%if 0%{?suse_version} >= 1140 || 0%{?fedora_version}
BuildRequires: pkgconfig(libmnl) >= 1.0.0 BuildRequires: pkgconfig(libmnl) >= 1.0.0
%else
BuildRequires: libmnl-devel >= 1.0.0
%endif
BuildRequires: xz BuildRequires: xz
%description %description
@ -58,7 +63,12 @@ This library provides the programming interface (API) to the
Netfilter userspace helper infrastructure. Netfilter userspace helper infrastructure.
%prep %prep
%if 0%{?__xz:1}
%setup -qn %name %setup -qn %name
%else
tar -xf "%{S:0}" --use=xz;
%setup -DTqn %name
%endif
%patch -P 1 -p1 %patch -P 1 -p1
%build %build
@ -69,7 +79,7 @@ fi;
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
%makeinstall make install DESTDIR="%buildroot";
rm -f "%buildroot/%_libdir"/*.la; rm -f "%buildroot/%_libdir"/*.la;
%post -n %lname -p /sbin/ldconfig %post -n %lname -p /sbin/ldconfig
@ -82,7 +92,7 @@ rm -f "%buildroot/%_libdir"/*.la;
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%_includedir/libnetfilter_cthelper* %_includedir/%name-%version
%_libdir/libnetfilter_cthelper.so %_libdir/libnetfilter_cthelper.so
%_libdir/pkgconfig/libnetfilter_cthelper.pc %_libdir/pkgconfig/libnetfilter_cthelper.pc