From c763d0e4b38b8d01bb012e4ef0a81b9b40804afb Mon Sep 17 00:00:00 2001 From: Christopher Aillon Date: Jan 29 2011 21:55:50 +0000 Subject: 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 --- diff --git a/firefox.spec b/firefox.spec index 8318199..aa3fea3 100644 --- a/firefox.spec +++ b/firefox.spec @@ -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 || :