diff options
-rw-r--r-- | nagios-plugins.spec.in | 6 |
1 files changed, 3 insertions, 3 deletions
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 @@ | |||
10 | 10 | ||
11 | %define version PACKAGE_VERSION | 11 | %define version PACKAGE_VERSION |
12 | %define release PACKAGE_RELEASE | 12 | %define release PACKAGE_RELEASE |
13 | %define source %{archive}-%{version}-%{release}.tar.gz | 13 | %define source %{archive}-%{version}-%{release} |
14 | 14 | ||
15 | Name: %{name} | 15 | Name: %{name} |
16 | Version: %{version} | 16 | Version: %{version} |
17 | Release: %{release} | 17 | Release: %{release} |
18 | Copyright: GPL | 18 | Copyright: GPL |
19 | Source: %{source} | 19 | Source: %{source}.tar.gz |
20 | BuildRoot: %{_tmppath}/%{name}-buildroot | 20 | BuildRoot: %{_tmppath}/%{name}-buildroot |
21 | Prefix: %{_prefix}/lib/nagios/plugins | 21 | Prefix: %{_prefix}/lib/nagios/plugins |
22 | Packager: Karl DeBisschop <kdebisschop@users.sourceforge.net> | 22 | Packager: Karl DeBisschop <kdebisschop@users.sourceforge.net> |
@@ -64,7 +64,7 @@ will need to install the '--nodeps' option when invoking `rpm` | |||
64 | 64 | ||
65 | 65 | ||
66 | %prep | 66 | %prep |
67 | %setup -q -n %{archive}-%{version}-%{release} | 67 | %setup -q -n %{source} |
68 | 68 | ||
69 | 69 | ||
70 | %build | 70 | %build |