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:
parent
74277159ea
commit
67c9b696e1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user