SHA256
1
0
forked from pool/libmnl
Jan Engelhardt 2014-12-09 12:01:34 +00:00 committed by Git OBS Bridge
parent 4ae865f6c3
commit 241b8e26b0
2 changed files with 12 additions and 8 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Dec 9 11:59:51 UTC 2014 - jengelh@inai.de
- Remove extra directory pkg, one level is enough.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Sep 23 15:43:40 UTC 2014 - jengelh@inai.de Tue Sep 23 15:43:40 UTC 2014 - jengelh@inai.de

View File

@ -17,13 +17,13 @@
Name: libmnl Name: libmnl
Summary: Minimalistic Netlink communication library
License: LGPL-2.1+
Group: Productivity/Networking/Security
%define lname %{name}0 %define lname %{name}0
Version: 1.0.3 Version: 1.0.3
Release: 0 Release: 0
Url: http://netfilter.org/projects/libmnl/ Url: http://netfilter.org/projects/libmnl/
Summary: Minimalistic Netlink communication library
License: LGPL-2.1+
Group: Productivity/Networking/Security
#Git-Clone: git://git.netfilter.org/libmnl #Git-Clone: git://git.netfilter.org/libmnl
Source: ftp://ftp.netfilter.org/pub/libmnl/%name-%version.tar.bz2 Source: ftp://ftp.netfilter.org/pub/libmnl/%name-%version.tar.bz2
@ -72,15 +72,14 @@ that allows you to re-use code and to avoid re-inventing the wheel.
if [ ! -e configure ]; then if [ ! -e configure ]; then
autoreconf -fi; autoreconf -fi;
fi; fi;
%configure --includedir="%_includedir/pkg/%name" %configure --includedir="%_includedir/%name"
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
%make_install %make_install
rm -f "%buildroot/%_libdir"/*.la; rm -f "%buildroot/%_libdir"/*.la
%post -n %lname -p /sbin/ldconfig %post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig
%files -n %lname %files -n %lname
@ -89,7 +88,7 @@ rm -f "%buildroot/%_libdir"/*.la;
%files -n %name-devel %files -n %name-devel
%defattr(-,root,root) %defattr(-,root,root)
%_includedir/pkg/ %_includedir/%name/
%_libdir/libmnl.so %_libdir/libmnl.so
%_libdir/pkgconfig/libmnl.pc %_libdir/pkgconfig/libmnl.pc