No longer need to define and clean up the build root

In Fedora 13+ this is handled automatically.
http://fedoraproject.org/wiki/Packaging/Guidelines#BuildRoot_tag
http://fedoraproject.org/wiki/Packaging/Guidelines#.25clean
This commit is contained in:
Christopher Aillon 2011-01-29 13:55:50 -08:00
parent 4071072ba0
commit c763d0e4b3

View File

@ -74,7 +74,6 @@ Patch11: firefox-default.patch
# ---------------------------------------------------
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: desktop-file-utils
BuildRequires: system-bookmarks
BuildRequires: xulrunner-devel >= %{xulrunner_version}
@ -181,7 +180,6 @@ make buildsymbols
#---------------------------------------------------------------------
%install
%{__rm} -rf $RPM_BUILD_ROOT
cd %{tarballdir}
INTERNAL_GECKO=%{internal_version}
@ -309,11 +307,6 @@ sed -i -e "s/\[Crash Reporter\]/[Crash Reporter]\nEnabled=1/" $RPM_BUILD_ROOT/%{
#---------------------------------------------------------------------
%clean
%{__rm} -rf $RPM_BUILD_ROOT
#---------------------------------------------------------------------
%post
update-desktop-database &> /dev/null || :
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :