[yum-cvs] yum-utils yum-utils.spec,1.5,1.6
Seth Vidal
skvidal at login.linux.duke.edu
Sun Jun 5 08:03:10 UTC 2005
Update of /home/groups/yum/cvs/yum-utils
In directory login:/tmp/cvs-serv17920
Modified Files:
yum-utils.spec
Log Message:
fix spec file for fedora extras
Index: yum-utils.spec
===================================================================
RCS file: /home/groups/yum/cvs/yum-utils/yum-utils.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- yum-utils.spec 4 Jun 2005 17:52:37 -0000 1.5
+++ yum-utils.spec 5 Jun 2005 08:03:08 -0000 1.6
@@ -1,13 +1,14 @@
Summary: Utilities based around the yum package manager
Name: yum-utils
Version: 0.2
-Release: 1
+Release: 2
License: GPL
Group: Development/Tools
-Source: %{name}-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}root
+Source: http://linux.duke.edu/yum/download/yum-utils/%{name}-%{version}.tar.gz
+URL: http://linux.duke.edu/yum/download/yum-utils/
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-Requires: python, yum >= 2.3.2, rpm, rpm-python
+Requires: python, yum >= 2.3.2
%description
yum-utils is a collection of utilities and examples for the yum package
@@ -30,12 +31,12 @@
%setup -q
%install
-[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
make -C updateonboot DESTDIR=$RPM_BUILD_ROOT install
%clean
-[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT
%post -n yum-updateonboot
/sbin/chkconfig --add yum-updateonboot >/dev/null 2>&1 || :;
More information about the Yum-cvs-commits
mailing list