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:46 -08:00
parent 74277159ea
commit 67c9b696e1

View File

@ -89,7 +89,6 @@ Patch10: mozilla-notify.patch
%endif %endif
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: nspr-devel >= %{nspr_version} BuildRequires: nspr-devel >= %{nspr_version}
BuildRequires: nss-devel >= %{nss_version} BuildRequires: nss-devel >= %{nss_version}
BuildRequires: cairo-devel >= %{cairo_version} BuildRequires: cairo-devel >= %{cairo_version}
@ -224,7 +223,6 @@ make buildsymbols
#=============================================================================== #===============================================================================
%install %install
%{__rm} -rf $RPM_BUILD_ROOT
cd %{tarballdir} cd %{tarballdir}
INTERNAL_GECKO=%{version_internal} INTERNAL_GECKO=%{version_internal}
@ -360,11 +358,6 @@ unzip -qod $RPM_BUILD_ROOT%{gdata_extname} objdir-tb/mozilla/dist/xpi-stage/gdat
%endif %endif
#=============================================================================== #===============================================================================
%clean
%{__rm} -rf $RPM_BUILD_ROOT
#===============================================================================
%post %post
update-desktop-database &> /dev/null || : update-desktop-database &> /dev/null || :
touch --no-create %{_datadir}/icons/hicolor touch --no-create %{_datadir}/icons/hicolor