Use /usr/include/pkg; drop gpg-offline

OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libnetfilter_cttimeout?expand=0&rev=19
This commit is contained in:
Jan Engelhardt 2014-09-23 16:01:27 +00:00 committed by Git OBS Bridge
parent efda2141ba
commit 653dd57eeb
2 changed files with 11 additions and 13 deletions

View File

@ -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:30:40 CET 2012 - sbrabec@suse.cz

View File

@ -34,14 +34,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
#git#BuildRequires: autoconf, automake >= 1.6, libtool
BuildRequires: glibc-devel >= 2.9
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
@ -56,25 +49,22 @@ This library provides the programming interface (API) to the
Netfilter extended timeout settings infrastructure.
%package devel
Requires: %lname = %version
Summary: Userspace library for the Netfilter Conntrack Timeout extension
Group: Development/Libraries/C and C++
Requires: %lname = %version
%description devel
This library provides the programming interface (API) to the
Netfilter extended timeout settings 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
@ -91,7 +81,7 @@ rm -f "%buildroot/%_libdir"/*.la;
%files devel
%defattr(-,root,root)
%_includedir/%name-%version
%_includedir/pkg/
%_libdir/libnetfilter_cttimeout.so
%_libdir/pkgconfig/libnetfilter_cttimeout.pc