remove if we do not build with kde support

f41
David Tardon 13 years ago
parent 51828fb019
commit 1ee7b16e88

@ -1129,6 +1129,11 @@ rm -f $RPM_BUILD_ROOT/%{baseinstdir}/program/classes/sandbox.jar
#remove dummy .dat files #remove dummy .dat files
rm -f $RPM_BUILD_ROOT/%{baseinstdir}/program/root?.dat rm -f $RPM_BUILD_ROOT/%{baseinstdir}/program/root?.dat
#remove if we do not build with kde support
%if %{defined rhel}
rm -f $RPM_BUILD_ROOT/%{baseinstdir}/program/kde-open-url
%endif
#set standard permissions for rpmlint #set standard permissions for rpmlint
find $RPM_BUILD_ROOT/%{baseinstdir} -exec chmod +w {} \; find $RPM_BUILD_ROOT/%{baseinstdir} -exec chmod +w {} \;
find $RPM_BUILD_ROOT/%{baseinstdir} -type d -exec chmod 0755 {} \; find $RPM_BUILD_ROOT/%{baseinstdir} -type d -exec chmod 0755 {} \;

Loading…
Cancel
Save