don't use %dist in tarball name
authorKarsten Hopp <karsten@redhat.com>
Fri, 28 Jan 2011 15:05:33 +0000 (16:05 +0100)
committerKarsten Hopp <karsten@redhat.com>
Fri, 28 Jan 2011 15:05:33 +0000 (16:05 +0100)
hwdata.spec

index aec84f6a9c1a92d16df84542a5b41ec5469bdfa1..d8522888e6c1c844a9de0f6df2af3ae3974d04df 100644 (file)
@@ -1,10 +1,11 @@
 Name: hwdata
 Summary: Hardware identification and configuration data
 Version: 0.233
-Release: 4%{?dist}
+%define relver 4
+Release: %{relver}%{?dist}
 License: GPLv2+
 Group: System Environment/Base
-Source: hwdata-%{version}-%{release}.tar.bz2
+Source: hwdata-%{version}-%{relver}.tar.bz2
 URL:    http://git.fedorahosted.org/git/hwdata.git
 BuildArch: noarch
 Conflicts: Xconfigurator, system-config-display < 1.0.31, pcmcia-cs, kudzu < 1.2.0