Conditionally declare %clean so that the same spec can be used on EL-6
This commit is contained in:
parent
0acbc1a230
commit
1b40128ed2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user