From: Karl DeBisschop Date: Fri, 25 Oct 2002 13:58:07 +0000 (+0000) Subject: tweak source macro X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a4efa76f31f44c9738c58baf3920fa10f8df1450;p=nagiosplug.git tweak source macro git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@160 f882894a-f735-0410-b71e-b25c423dba1c --- diff --git a/nagios-plugins.spec.in b/nagios-plugins.spec.in index 62b93d5..2b50433 100644 --- a/nagios-plugins.spec.in +++ b/nagios-plugins.spec.in @@ -10,13 +10,13 @@ %define version PACKAGE_VERSION %define release PACKAGE_RELEASE -%define source %{archive}-%{version}-%{release}.tar.gz +%define source %{archive}-%{version}-%{release} Name: %{name} Version: %{version} Release: %{release} Copyright: GPL -Source: %{source} +Source: %{source}.tar.gz BuildRoot: %{_tmppath}/%{name}-buildroot Prefix: %{_prefix}/lib/nagios/plugins Packager: Karl DeBisschop @@ -64,7 +64,7 @@ will need to install the '--nodeps' option when invoking `rpm` %prep -%setup -q -n %{archive}-%{version}-%{release} +%setup -q -n %{source} %build