From 9c3ad2b9d5838ff4cf46fd80ecc433bb181aea3e Mon Sep 17 00:00:00 2001 From: kali Date: Fri, 5 Nov 2004 22:26:13 +0000 Subject: [PATCH] - simplified bcond, added %%verify(not md5 size mtime) - removed Source0-size Changed files: apcupsd.spec -> 1.52 --- apcupsd.spec | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/apcupsd.spec b/apcupsd.spec index 47c6368..27d5fd2 100644 --- a/apcupsd.spec +++ b/apcupsd.spec @@ -12,7 +12,6 @@ License: GPL v2 Group: Networking/Daemons Source0: http://dl.sourceforge.net/apcupsd/%{name}-%{version}.tar.gz # Source0-md5: 07de8f7d7488b6ef91f128f51713f4ea -# Source0-size: 3858266 Source1: %{name}.init Source2: %{name}.logrotate Source3: %{name}.sysconfig @@ -53,9 +52,7 @@ cd .. %configure \ --with-log-dir=%{_var}/log \ --with-stat-dir=%{_var}/lib/apcupsd \ -%if %{with test} - --enable-test \ -%endif + %{?with_test:--enable-test} \ %if %{with usb} --enable-usb \ --with-serial-dev=/dev/usb/hiddev[0-15] \ @@ -110,7 +107,7 @@ fi %{_mandir}/man8/apcupsd.* %attr(755,root,root) %{_sbindir}/* %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/apcupsd.conf -%attr(640,root,root) %config(noreplace) /etc/sysconfig/apcupsd +%attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/apcupsd %attr(754,root,root) %{_sysconfdir}/apccontrol %attr(754,root,root) %{_sysconfdir}/changeme %attr(754,root,root) %{_sysconfdir}/commfailure -- 2.43.0