forked from pool/libnetfilter_conntrack
Packaging fixes for RHEL/SLES
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libnetfilter_conntrack?expand=0&rev=22
This commit is contained in:
parent
3728fb0dfb
commit
76c651f8b9
@ -80,11 +80,11 @@ used by conntrack-tools among many other applications.
|
||||
if [ "%git_snapshot" -ne 0 ] || [ ! -e configure ]; then
|
||||
autoreconf -fi;
|
||||
fi;
|
||||
%configure --disable-static --includedir=%_includedir/%name
|
||||
%configure --disable-static --includedir="%_includedir/%name-%version"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
make install DESTDIR="%buildroot";
|
||||
rm -f "%buildroot/%_libdir"/*.la;
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
@ -97,7 +97,7 @@ rm -f "%buildroot/%_libdir"/*.la;
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%_includedir/libnetfilter_conntrack
|
||||
%_includedir/%name-%version
|
||||
%_libdir/libnetfilter_conntrack.so
|
||||
%_libdir/pkgconfig/libnetfilter_conntrack.pc
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user