aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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