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:
parent
1e7f89d98a
commit
a65f4c2e5b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user