Logoj0ke.net Open Build Service > Projects > server:monitoring > nagios-plugins-traffic > Changes
Sign Up | Log In

Changes of Revision 2

[-] Changed check_tcptraffic.spec
x
 
1
@@ -10,7 +10,7 @@
2
 Release:   %{release}
3
 License:   GPL
4
 Group:     Applications/System
5
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
6
+BuildRoot: %{_tmppath}/%{pname}-%{version}-root
7
 Source:    http://www.id.ethz.ch/people/allid_list/corti/%{pname}-%{version}.tar.gz
8
 BuildArch: noarch
9
 
10
@@ -22,7 +22,7 @@
11
 data is stored in the /tmp/check_tcptraffic-iface file)
12
 
13
 %prep
14
-%setup -q
15
+%setup -q -n %{pname}-%{version}
16
 
17
 %build
18
 %__perl Makefile.PL  INSTALLSCRIPT=%{buildroot}%{_prefix} \
19
@@ -42,8 +42,8 @@
20
 %doc AUTHORS Changes NEWS README INSTALL TODO COPYING VERSION
21
 %dir %{_prefix}/lib/nagios
22
 %dir %{_prefix}/lib/nagios/plugins
23
-%attr(0755, root, root) %{_prefix}/%{name}
24
-%attr(0755, root, root) /usr/share/man/man3/%{name}.3pm*
25
+%attr(0755, root, root) %{_prefix}/%{pname}
26
+%attr(0755, root, root) /usr/share/man/man3/%{pname}.3pm*
27
 
28
 %changelog
29
 * Fri Oct 02 2009 Carsten Schoene <cs@linux-administrator.com> - 2.1.0-2
30