aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-04-15 15:48:33 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-04-15 15:48:33 +0000
commit1a62f124c2321cd65987deab7d75d5bd81815f26 (patch)
tree30d5b70a083c283c459b6303ed79972f2b58ac71
parent0bad992b302944a6a5b51faf6a73bf6b3d6bb613 (diff)
downloadrpmtools-1a62f124c2321cd65987deab7d75d5bd81815f26.tar
rpmtools-1a62f124c2321cd65987deab7d75d5bd81815f26.tar.gz
rpmtools-1a62f124c2321cd65987deab7d75d5bd81815f26.tar.bz2
rpmtools-1a62f124c2321cd65987deab7d75d5bd81815f26.tar.xz
rpmtools-1a62f124c2321cd65987deab7d75d5bd81815f26.zip
Be less dependant on distribution name
-rw-r--r--rpmtools.spec6
1 files changed, 2 insertions, 4 deletions
diff --git a/rpmtools.spec b/rpmtools.spec
index 7c9fe53..a1e9dad 100644
--- a/rpmtools.spec
+++ b/rpmtools.spec
@@ -4,19 +4,17 @@
# do not modify here, see spec file in the CVS
%define version 5.0.20
-%define group %(perl -e 'printf "%%s\\n", "%_vendor" =~ /mandrake/i ? "System/Configuration/Packaging" : "System Environment/Base"')
+%define group %(perl -e 'print "%_vendor" =~ /\\bmandr/i ? "System/Configuration/Packaging" : "System Environment/Base"')
%define rpm_version %(rpm -q --queryformat '%{VERSION}-%{RELEASE}' rpm)
Summary: Contains various rpm command-line tools
Name: %{name}
Version: %{version}
Release: %{release}
-# get the source from our cvs repository (see
-# http://www.linuxmandrake.com/en/cvs.php3)
Source0: %{name}-%{version}.tar.bz2
License: GPL
Group: %{group}
-URL: http://cvs.mandrakesoft.com/cgi-bin/cvsweb.cgi/soft/rpmtools
+URL: http://cvs.mandriva.com/cgi-bin/cvsweb.cgi/soft/rpmtools
BuildRoot: %{_tmppath}/%{name}-buildroot
BuildRequires: rpm-devel >= 4.0.3 bzip2-devel
BuildRequires: perl-devel