1
0
Jan Engelhardt 2014-12-08 23:46:04 +00:00 committed by Git OBS Bridge
parent 6d10e1d697
commit af3495a2cc
2 changed files with 11 additions and 6 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Dec 8 23:44:17 UTC 2014 - jengelh@inai.de
- Drop %version from subincludedir, it tends to break recompiles of
already-built trees on library updates.
-------------------------------------------------------------------
Tue Sep 23 15:45:35 UTC 2014 - jengelh@inai.de

View File

@ -71,15 +71,14 @@ used by conntrack-tools among many other applications.
%setup -q
%build
%configure --disable-static --includedir="%_includedir/%name-%version"
%configure --disable-static --includedir="%_includedir/%name"
make %{?_smp_mflags}
%install
make install DESTDIR="%buildroot";
rm -f "%buildroot/%_libdir"/*.la;
%post -n %lname -p /sbin/ldconfig
%make_install
rm -f "%buildroot/%_libdir"/*.la
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n %lname
@ -88,7 +87,7 @@ rm -f "%buildroot/%_libdir"/*.la;
%files devel
%defattr(-,root,root)
%_includedir/%name-%version
%_includedir/%name/
%_libdir/libnetfilter_conntrack.so
%_libdir/pkgconfig/libnetfilter_conntrack.pc