From ada5617b1431b0f662c4c64d1a83fee6a9b96ff6 Mon Sep 17 00:00:00 2001 From: Karsten Hopp Date: Thu, 10 Aug 2006 11:07:32 +0000 Subject: [PATCH] - added some requirements for pre/post install scripts Installing squid - 7:2.6.STABLE2-2.fc6.x86_64 error: %pre(squid-2.6.STABLE2-2.fc6.x86_64) scriptlet failed, exit status 1 error: install: %pre scriptlet failed (2), skipping squid-2.6.STABLE2-2.fc6 --- squid.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/squid.spec b/squid.spec index 24c3334..ff0a221 100644 --- a/squid.spec +++ b/squid.spec @@ -5,7 +5,7 @@ Summary: The Squid proxy caching server. Name: squid Version: 2.6.STABLE2 -Release: 2%{?dist} +Release: 3%{?dist} Epoch: 7 License: GPL Group: System Environment/Daemons @@ -36,6 +36,8 @@ Patch206: squid-2.6.STABLE1-fd-config-updated.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root Prereq: /sbin/chkconfig logrotate shadow-utils Requires: bash >= 2.0 +Requires(pre): shadow-utils +Requires(post): chkconfig BuildPrereq: openjade linuxdoc-tools openldap-devel pam-devel openssl-devel Obsoletes: squid-novm @@ -323,6 +325,9 @@ fi chgrp squid /var/cache/samba/winbindd_privileged >/dev/null 2>&1 || : %changelog +* Thu Aug 10 2006 Karsten Hopp 7:2.6.STABLE2-3 +- added some requirements for pre/post install scripts + * Fri Aug 04 2006 Martin Stransky - 7:2.6.STABLE2-2 - added patch for #198253 - squid: don't chgrp another pkg's files/directory