Move to /usr/include/pkg

OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libmnl?expand=0&rev=30
This commit is contained in:
Jan Engelhardt 2014-09-23 21:15:48 +00:00 committed by Git OBS Bridge
parent c4c5b86f79
commit 4ae865f6c3
2 changed files with 9 additions and 3 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

@ -72,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
@ -89,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