From 18d361a1d2a51902f7f0aefc905b33a955b2a154 Mon Sep 17 00:00:00 2001 From: Jan ONDREJ (SAL) Date: Oct 11 2011 13:54:09 +0000 Subject: - Updated renaming of "-sample" config files. --- 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) - 0.6.1-2 -- updated renaming of "-sample" scripts +* Tue Oct 11 2011 Ján ONDREJ (SAL) - 0.6.1-3 +- Updated renaming of "-sample" config files. * Wed Sep 14 2011 Ján ONDREJ (SAL) - 0.6.1-1 - Update to 0.6.1.