forked from pool/libmnl
This commit is contained in:
parent
4ae865f6c3
commit
241b8e26b0
@ -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
|
||||
|
||||
|
15
libmnl.spec
15
libmnl.spec
@ -17,13 +17,13 @@
|
||||
|
||||
|
||||
Name: libmnl
|
||||
Summary: Minimalistic Netlink communication library
|
||||
License: LGPL-2.1+
|
||||
Group: Productivity/Networking/Security
|
||||
%define lname %{name}0
|
||||
Version: 1.0.3
|
||||
Release: 0
|
||||
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
|
||||
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
|
||||
autoreconf -fi;
|
||||
fi;
|
||||
%configure --includedir="%_includedir/pkg/%name"
|
||||
%configure --includedir="%_includedir/%name"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
rm -f "%buildroot/%_libdir"/*.la;
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
rm -f "%buildroot/%_libdir"/*.la
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
|
||||
%files -n %lname
|
||||
@ -89,7 +88,7 @@ rm -f "%buildroot/%_libdir"/*.la;
|
||||
|
||||
%files -n %name-devel
|
||||
%defattr(-,root,root)
|
||||
%_includedir/pkg/
|
||||
%_includedir/%name/
|
||||
%_libdir/libmnl.so
|
||||
%_libdir/pkgconfig/libmnl.pc
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user