Conditionally declare %clean so that the same spec can be used on EL-6

This commit is contained in:
Michel Alexandre Salim 2010-09-12 15:52:32 +02:00 committed by Michel Alexandre Salim
parent 0acbc1a230
commit 1b40128ed2

View File

@ -159,6 +159,12 @@ mkdir -p $RPM_BUILD_ROOT%{_emacs_sitestartdir}
cp -p emacs-vala/*.el* $RPM_BUILD_ROOT%{_emacs_sitelispdir}/%{name}
cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_emacs_sitestartdir}
%if 0%{?fedora} >= 13
%else
%clean
rm -rf $RPM_BUILD_ROOT
%endif
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig