Accepting request 251760 from security:netfilter

- Move include files to /usr/include/pkg

OBS-URL: https://build.opensuse.org/request/show/251760
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmnl?expand=0&rev=17
This commit is contained in:
Stephan Kulow 2014-10-11 17:25:48 +00:00 committed by Git OBS Bridge
commit bf217be3d9
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Sep 23 15:43:40 UTC 2014 - jengelh@inai.de
- Move include files to /usr/include/pkg, like done in many other
packages
-------------------------------------------------------------------
Thu Apr 24 07:32:10 UTC 2014 - dmueller@suse.com

View File

@ -25,7 +25,6 @@ Version: 1.0.3
Release: 0
Url: http://netfilter.org/projects/libmnl/
#Freecode-URL: http://freecode.com/projects/libmnl/
#Git-Clone: git://git.netfilter.org/libmnl
Source: ftp://ftp.netfilter.org/pub/libmnl/%name-%version.tar.bz2
Source2: ftp://ftp.netfilter.org/pub/libmnl/%name-%version.tar.bz2.sig
@ -73,11 +72,11 @@ that allows you to re-use code and to avoid re-inventing the wheel.
if [ ! -e configure ]; then
autoreconf -fi;
fi;
%configure --includedir=%_includedir/%name-%version
%configure --includedir="%_includedir/pkg/%name"
make %{?_smp_mflags}
%install
%makeinstall
%make_install
rm -f "%buildroot/%_libdir"/*.la;
%post -n %lname -p /sbin/ldconfig
@ -90,7 +89,7 @@ rm -f "%buildroot/%_libdir"/*.la;
%files -n %name-devel
%defattr(-,root,root)
%_includedir/libmnl*
%_includedir/pkg/
%_libdir/libmnl.so
%_libdir/pkgconfig/libmnl.pc