use perl macro to remove unwanted files from buildroot

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=56
This commit is contained in:
Olaf Hering 2012-09-03 08:27:00 +00:00 committed by Git OBS Bridge
parent a2e5b3e9bb
commit f7c0877c99

View File

@ -336,7 +336,7 @@ make \
%install %install
%makeinstall %makeinstall
find $RPM_BUILD_ROOT \( -name "*.pod" -o -name ".packlist" \) -print0 | xargs -0 --no-run-if-empty rm -fv %perl_process_packlist
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.{l,}a rm -f $RPM_BUILD_ROOT/%{_libdir}/*.{l,}a
touch %{name}.lang touch %{name}.lang
%find_lang %{name} %find_lang %{name}