forked from pool/libuna
Rework -mini package to build but delete tools
Without system-libs.patch, tools will be built, and they will use the bundled libcfile. But we do not need the tools at this stage anyway, so just leave them deleted like before. OBS-URL: https://build.opensuse.org/package/show/security:forensics/libuna?expand=0&rev=36
This commit is contained in:
@@ -106,7 +106,11 @@ grep ' local' config.log && exit 1
|
||||
|
||||
%install
|
||||
%make_install
|
||||
rm -f "%buildroot/%_libdir"/*.la
|
||||
b="%buildroot"
|
||||
rm -f "$b/%_libdir"/*.la
|
||||
%if "@BUILD_FLAVOR@" == "mini"
|
||||
rm -Rf "$b/%_bindir" "$b/%_mandir/man1"
|
||||
%endif
|
||||
|
||||
%post -n %lname%psuffix -p /sbin/ldconfig
|
||||
%postun -n %lname%psuffix -p /sbin/ldconfig
|
||||
|
Reference in New Issue
Block a user