aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Karl DeBisschop <kdebisschop@users.sourceforge.net> 2002-10-25 13:58:07 +0000
committerGravatar Karl DeBisschop <kdebisschop@users.sourceforge.net> 2002-10-25 13:58:07 +0000
commita4efa76f31f44c9738c58baf3920fa10f8df1450 (patch)
tree94fd1f50be7472cf414b65af3cd0bd843088895f
parent1a810a98e9bdc5ba3107a7deb947d0367ee131f6 (diff)
downloadmonitoring-plugins-a4efa76f31f44c9738c58baf3920fa10f8df1450.tar.gz
tweak source macro
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@160 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--nagios-plugins.spec.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/nagios-plugins.spec.in b/nagios-plugins.spec.in
index 62b93d52..2b504335 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 <kdebisschop@users.sourceforge.net>
@@ -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