- 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
This commit is contained in:
Karsten Hopp 2006-08-10 11:07:32 +00:00
parent ab0e70cdc0
commit ada5617b14

View File

@ -5,7 +5,7 @@
Summary: The Squid proxy caching server. Summary: The Squid proxy caching server.
Name: squid Name: squid
Version: 2.6.STABLE2 Version: 2.6.STABLE2
Release: 2%{?dist} Release: 3%{?dist}
Epoch: 7 Epoch: 7
License: GPL License: GPL
Group: System Environment/Daemons Group: System Environment/Daemons
@ -36,6 +36,8 @@ Patch206: squid-2.6.STABLE1-fd-config-updated.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
Prereq: /sbin/chkconfig logrotate shadow-utils Prereq: /sbin/chkconfig logrotate shadow-utils
Requires: bash >= 2.0 Requires: bash >= 2.0
Requires(pre): shadow-utils
Requires(post): chkconfig
BuildPrereq: openjade linuxdoc-tools openldap-devel pam-devel openssl-devel BuildPrereq: openjade linuxdoc-tools openldap-devel pam-devel openssl-devel
Obsoletes: squid-novm Obsoletes: squid-novm
@ -323,6 +325,9 @@ fi
chgrp squid /var/cache/samba/winbindd_privileged >/dev/null 2>&1 || : chgrp squid /var/cache/samba/winbindd_privileged >/dev/null 2>&1 || :
%changelog %changelog
* Thu Aug 10 2006 Karsten Hopp <karsten@redhat.de> 7:2.6.STABLE2-3
- added some requirements for pre/post install scripts
* Fri Aug 04 2006 Martin Stransky <stransky@redhat.com> - 7:2.6.STABLE2-2 * Fri Aug 04 2006 Martin Stransky <stransky@redhat.com> - 7:2.6.STABLE2-2
- added patch for #198253 - squid: don't chgrp another pkg's - added patch for #198253 - squid: don't chgrp another pkg's
files/directory files/directory