Skip to content
This repository was archived by the owner on Jan 15, 2021. It is now read-only.

Commit e709d07

Browse files
committed
Package specs update
1 parent 1a9b9fc commit e709d07

3 files changed

+20
-16
lines changed

build/rpm/percona-cacti-templates.spec

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Name: percona-cacti-templates
2-
Summary: Percona Monitoring Plugins for Cacti
1+
Name: percona-cacti-templates
2+
Summary: Percona Monitoring Plugins for Cacti
33
Version: %{version}
44
Release: %{release}
55
Group: Applications/Databases
@@ -9,7 +9,7 @@ URL: http://www.percona.com/software/percona-monitoring-plugins
99
Source: percona-cacti-templates-%{version}.tar.gz
1010
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
1111
BuildArch: noarch
12-
Requires: cacti >= 0.8.6
12+
Requires: cacti >= 0.8.6
1313
AutoReq: no
1414

1515
%description
@@ -36,6 +36,8 @@ install -m 0644 cacti/misc/* $RPM_BUILD_ROOT/usr/share/cacti/resource/percona/mi
3636
install -m 0644 cacti/templates/* $RPM_BUILD_ROOT/usr/share/cacti/resource/percona/templates
3737
install -m 0644 cacti/scripts/*.php $RPM_BUILD_ROOT/usr/share/cacti/scripts
3838
install -m 0755 cacti/scripts/*.py $RPM_BUILD_ROOT/usr/share/cacti/scripts
39+
# exit 0 disables running helpers which generates *.pyc, *.pyo files.
40+
exit 0
3941

4042
%clean
4143
rm -rf $RPM_BUILD_ROOT

build/rpm/percona-nagios-plugins.spec

+13-11
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
Name: percona-nagios-plugins
2-
Summary: Percona Monitoring Plugins for Nagios
3-
Version: %{version}
4-
Release: %{release}
5-
Group: Applications/Databases
6-
License: GPL
1+
Name: percona-nagios-plugins
2+
Summary: Percona Monitoring Plugins for Nagios
3+
Version: %{version}
4+
Release: %{release}
5+
Group: Applications/Databases
6+
License: GPL
77
Vendor: Percona
8-
URL: http://www.percona.com/software/percona-monitoring-plugins
8+
URL: http://www.percona.com/software/percona-monitoring-plugins
99
Source: percona-nagios-plugins-%{version}.tar.gz
10-
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
11-
BuildArch: noarch
12-
AutoReq: no
10+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
11+
BuildArch: noarch
12+
AutoReq: no
1313

1414
%description
1515
The Percona Monitoring Plugins are high-quality components to add enterprise-
@@ -26,6 +26,8 @@ and are delivered in the form of templates, plugins, and scripts.
2626
%install
2727
install -m 0755 -d $RPM_BUILD_ROOT%{_libdir}/nagios/plugins
2828
install -m 0755 nagios/bin/pmp-* $RPM_BUILD_ROOT%{_libdir}/nagios/plugins
29+
# exit 0 disables running helpers which generates *.pyc, *.pyo files.
30+
exit 0
2931

3032
%clean
3133
rm -rf $RPM_BUILD_ROOT
@@ -39,4 +41,4 @@ echo "Plugins are installed to %{_libdir}/nagios/plugins"
3941

4042
%changelog
4143
* Fri Jan 22 2013 <[email protected]> 1.0.2
42-
- Initial Package
44+
- Initial Package

build/rpm/percona-zabbix-templates.spec

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Name: percona-zabbix-templates
2-
Summary: Percona Monitoring Plugins for Zabbix
1+
Name: percona-zabbix-templates
2+
Summary: Percona Monitoring Plugins for Zabbix
33
Version: %{version}
44
Release: %{release}
55
Group: Applications/Databases

0 commit comments

Comments
 (0)