--- rpms/smeserver-nagios-backup/contribs7/smeserver-nagios-backup.spec 2008/02/27 17:53:47 1.1 +++ rpms/smeserver-nagios-backup/contribs7/smeserver-nagios-backup.spec 2008/04/02 15:03:58 1.3 @@ -1,18 +1,22 @@ +# $Id$ +# Authority: mweinber +# Name: Michael Weinberger + Summary: Nagios backup integration %define name smeserver-nagios-backup Name: %{name} %define version 1.0.3 %define release 0 Version: %{version} -Release: %{release} +Release: %{release}%{?dist} License: GPL Group: Applications/System Source: %{name}-%{version}.tar.gz -Packager: Michael Weinberger BuildRoot: /var/tmp/%{name}-buildroot/ BuildArch: noarch Requires: smeserver-release >= 7.1.3 Requires: nagios >= 2.9 +BuildRequires: e-smith-devtools AutoReq: no %changelog @@ -34,7 +38,6 @@ and all config files and directories mus (cfg_file and cfg_dir settings) %prep -%setup %setup -q -n %{name}-%{version} %build @@ -51,8 +54,6 @@ rm -f %{name}-%{version}-filelist %clean rm -rf $RPM_BUILD_ROOT -%pre - %post if [ "x`/bin/cat /proc/1/cmdline`" = "xinit [7]" ] ; then echo -n