[gajim] BuildRoot cleaning now unnecessary

Michal Schmidt michich at fedoraproject.org
Thu Aug 19 08:38:48 UTC 2010


commit 2c52c09dddae9391145aa8fa84bf516623945d4e
Author: Michal Schmidt <mschmidt at redhat.com>
Date:   Thu Aug 19 10:38:26 2010 +0200

    BuildRoot cleaning now unnecessary

 gajim.spec |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/gajim.spec b/gajim.spec
index d5443db..5300a5d 100644
--- a/gajim.spec
+++ b/gajim.spec
@@ -10,7 +10,6 @@ Source0:	http://gajim.org/downloads/%{majorver}/%{name}-%{version}.tar.bz2
 #Patch0:		gajim-0.13.3-gnome-keyring-CancelledError.patch
 Patch1:		gajim-0.13.90-pygtk-crash-python2.7-workaround.patch
 BuildArch:	noarch
-BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
 Requires:	avahi-ui-tools
 Requires:	bind-utils
@@ -61,8 +60,6 @@ Gajim does not require GNOME to run, even though it exists with it nicely.
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT
 hardlink -c $RPM_BUILD_ROOT/%{_bindir}
 
@@ -73,9 +70,6 @@ desktop-file-install --vendor fedora --delete-original \
 
 %find_lang %{name}
 
-%clean
-rm -rf %{buildroot}
-
 %post
 touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
 
@@ -119,6 +113,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
   farsight2-python for audio/video.
 - Refresh pygtk crash patch.
 - Skip gnome-keyring patch for now.
+- Remove now unnecessary declaration and cleaning of BuildRoot.
 
 * Tue Aug 10 2010 Michal Schmidt <mschmidt at redhat.com> 0.13.4-2
 - Workaround pygtk crash with Python 2.7 (RHBZ#621887).


More information about the scm-commits mailing list