[thunderbird] No longer need to define and clean up the build root
Christopher Aillon
caillon at fedoraproject.org
Sat Jan 29 22:56:51 UTC 2011
commit 67c9b696e121cb368ce2a11acad69594c50112b3
Author: Christopher Aillon <caillon at redhat.com>
Date: Sat Jan 29 13:55:46 2011 -0800
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
thunderbird.spec | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/thunderbird.spec b/thunderbird.spec
index 9711252..9a84043 100644
--- a/thunderbird.spec
+++ b/thunderbird.spec
@@ -89,7 +89,6 @@ Patch10: mozilla-notify.patch
%endif
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: nspr-devel >= %{nspr_version}
BuildRequires: nss-devel >= %{nss_version}
BuildRequires: cairo-devel >= %{cairo_version}
@@ -224,7 +223,6 @@ make buildsymbols
#===============================================================================
%install
-%{__rm} -rf $RPM_BUILD_ROOT
cd %{tarballdir}
INTERNAL_GECKO=%{version_internal}
@@ -360,11 +358,6 @@ unzip -qod $RPM_BUILD_ROOT%{gdata_extname} objdir-tb/mozilla/dist/xpi-stage/gdat
%endif
#===============================================================================
-%clean
-%{__rm} -rf $RPM_BUILD_ROOT
-
-#===============================================================================
-
%post
update-desktop-database &> /dev/null || :
touch --no-create %{_datadir}/icons/hicolor
More information about the scm-commits
mailing list