summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Aillon <caillon@redhat.com>2011-01-29 13:55:50 -0800
committerChristopher Aillon <caillon@redhat.com>2011-01-29 13:55:50 -0800
commitc763d0e4b38b8d01bb012e4ef0a81b9b40804afb (patch)
tree7e901b55302eff13a128ddb682d0c6f215dbc36f
parentFirefox 4.0 Beta 10 (diff)
downloadlibrewolf-fedora-ff-c763d0e4b38b8d01bb012e4ef0a81b9b40804afb.tar.gz
librewolf-fedora-ff-c763d0e4b38b8d01bb012e4ef0a81b9b40804afb.tar.bz2
librewolf-fedora-ff-c763d0e4b38b8d01bb012e4ef0a81b9b40804afb.zip
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
-rw-r--r--firefox.spec7
1 files changed, 0 insertions, 7 deletions
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 || :
bgstack15