Use /usr/include/pkg; drop gpg-offline
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libnetfilter_cthelper?expand=0&rev=15
This commit is contained in:
parent
e8853f417e
commit
658f12d8b7
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 23 15:43:40 UTC 2014 - jengelh@inai.de
|
||||
|
||||
- Drop gpg-offline build-time requirement; this is now handled by
|
||||
the local source validator
|
||||
- Move include files to /usr/include/pkg, like done in many other
|
||||
packages
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 28 20:23:02 CET 2012 - sbrabec@suse.cz
|
||||
|
||||
|
@ -36,14 +36,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
#BuildRequires: automake >= 1.6
|
||||
#BuildRequires: libtool >= 2
|
||||
BuildRequires: pkgconfig >= 0.21
|
||||
%if 0%{?suse_version} >= 1140 || 0%{?fedora_version}
|
||||
BuildRequires: pkgconfig(libmnl) >= 1.0.0
|
||||
%else
|
||||
BuildRequires: libmnl-devel >= 1.0.0
|
||||
%endif
|
||||
%if 0%{?suse_version} >= 1230
|
||||
BuildRequires: gpg-offline
|
||||
%endif
|
||||
|
||||
%description
|
||||
This library provides the programming interface (API) to the
|
||||
@ -58,25 +51,22 @@ This library provides the programming interface (API) to the
|
||||
Netfilter userspace helper infrastructure.
|
||||
|
||||
%package devel
|
||||
Requires: %lname = %version
|
||||
Summary: Userspace library for the Netfilter Conntrack Helper extension
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %lname = %version
|
||||
|
||||
%description devel
|
||||
This library provides the programming interface (API) to the
|
||||
Netfilter userspace helper infrastructure.
|
||||
|
||||
%prep
|
||||
%if 0%{?gpg_verify:1}
|
||||
%gpg_verify %{S:2}
|
||||
%endif
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
if [ ! -e configure ]; then
|
||||
autoreconf -fi;
|
||||
fi;
|
||||
%configure --disable-static --includedir=%_includedir/%name-%version
|
||||
%configure --disable-static --includedir="%_includedir/pkg/%name-%version"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
@ -93,7 +83,7 @@ rm -f "%buildroot/%_libdir"/*.la;
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%_includedir/%name-%version
|
||||
%_includedir/pkg/
|
||||
%_libdir/libnetfilter_cthelper.so
|
||||
%_libdir/pkgconfig/libnetfilter_cthelper.pc
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user