remove if we do not build with kde support

This commit is contained in:
David Tardon 2012-01-14 13:24:39 +01:00
parent 51828fb019
commit 1ee7b16e88

View File

@ -1129,6 +1129,11 @@ rm -f $RPM_BUILD_ROOT/%{baseinstdir}/program/classes/sandbox.jar
#remove dummy .dat files
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
find $RPM_BUILD_ROOT/%{baseinstdir} -exec chmod +w {} \;
find $RPM_BUILD_ROOT/%{baseinstdir} -type d -exec chmod 0755 {} \;