[pnp4nagios] - Updated renaming of "-sample" config files.
Ján ONDREJ
ondrejj at fedoraproject.org
Tue Oct 11 13:54:13 UTC 2011
commit 18d361a1d2a51902f7f0aefc905b33a955b2a154
Author: Jan ONDREJ (SAL) <ondrejj(at)salstar.sk>
Date: Tue Oct 11 15:54:09 2011 +0200
- Updated renaming of "-sample" config files.
pnp4nagios.spec | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/pnp4nagios.spec b/pnp4nagios.spec
index a3003cd..dfa244d 100644
--- a/pnp4nagios.spec
+++ b/pnp4nagios.spec
@@ -1,6 +1,6 @@
Name: pnp4nagios
Version: 0.6.1
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Nagios performance data analysis tool
Group: Applications/System
@@ -77,7 +77,7 @@ make install DESTDIR=$RPM_BUILD_ROOT
make install-config DESTDIR=$RPM_BUILD_ROOT
# remove -sample from filename suffix
for i in $RPM_BUILD_ROOT/%{_sysconfdir}/pnp4nagios/*-sample; do
- mv ${i} ${i%-sample}
+ mv ${i} ${i%%-sample}
done
#sed -i -e 's|/usr/libexec/process_perfdata.pl|/usr/libexec/pnp4nagios/process_perfdata.pl|' \
# -e 's|^log_type = syslog|log_type = file|' \
@@ -136,8 +136,8 @@ fi
%{_libdir}/kohana/system
%changelog
-* Tue Oct 11 2011 Ján ONDREJ (SAL) <ondrejj(at)salstar.sk> - 0.6.1-2
-- updated renaming of "-sample" scripts
+* Tue Oct 11 2011 Ján ONDREJ (SAL) <ondrejj(at)salstar.sk> - 0.6.1-3
+- Updated renaming of "-sample" config files.
* Wed Sep 14 2011 Ján ONDREJ (SAL) <ondrejj(at)salstar.sk> - 0.6.1-1
- Update to 0.6.1.
More information about the scm-commits
mailing list