Author: glen Date: Thu Feb 24 20:48:54 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- unlink from apache in postun rather in preun
- cosmetics
- remove write permission from .xml file (not needed imho)
---- Files affected:
SPECS:
horde.spec (1.71 -> 1.72)
---- Diffs:
================================================================
Index: SPECS/horde.spec
diff -u SPECS/horde.spec:1.71 SPECS/horde.spec:1.72
--- SPECS/horde.spec:1.71 Wed Feb 23 18:13:59 2005
+++ SPECS/horde.spec Thu Feb 24 21:48:49 2005
@@ -9,7 +9,7 @@
Summary(pt_BR): Componentes comuns do Horde usados por todos os módulos
Name: horde
Version: 3.0.3
-Release: 2.20
+Release: 2.23
License: LGPL
Vendor: The Horde Project
Group: Development/Languages/PHP
@@ -111,9 +111,10 @@
for i in config/*.php.dist; do
cp -p $i $RPM_BUILD_ROOT%{_sysconfdir}/horde/$(basename $i .dist)
done
-
cp -p config/*.xml $RPM_BUILD_ROOT%{_sysconfdir}/horde
+
sed -i -e 's,/tmp/horde.log,/var/log/%{name}/%{name}.log,'
$RPM_BUILD_ROOT%{_sysconfdir}/horde/conf.xml
+
> $RPM_BUILD_ROOT/var/log/%{name}/%{name}.log
install %{SOURCE1}
$RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
@@ -159,7 +160,7 @@
fi
-%preun
+%postun
if [ "$1" = "0" ]; then
# apache1
if [ -d %{_apache1dir}/conf.d ]; then
@@ -221,8 +222,13 @@
%files
%defattr(644,root,root,755)
%doc README
docs/{HACKING,CONTRIBUTING,CODING_STANDARDS,CHANGES,INSTALL,scripts}
-%dir %{hordedir}
%dir %{_sysconfdir}
+%attr(770,root,http) %dir %{_sysconfdir}/%{name}
+%attr(640,root,root) %config(noreplace) %{_sysconfdir}/apache.conf
+%attr(660,root,http) %config(noreplace) %{_sysconfdir}/%{name}/*.php
+%attr(640,root,http) %{_sysconfdir}/%{name}/*.xml
+
+%dir %{hordedir}
%{hordedir}/*.php
%{hordedir}/admin
%{hordedir}/config
@@ -233,10 +239,7 @@
%{hordedir}/templates
%{hordedir}/themes
%{hordedir}/util
-%attr(640,root,root) %config(noreplace) %{_sysconfdir}/apache.conf
-%attr(770,root,http) %dir %{_sysconfdir}/horde
-%attr(660,root,http) %config(noreplace) %{_sysconfdir}/horde/*.php
-%attr(660,root,http) %config(noreplace) %{_sysconfdir}/horde/*.xml
+
%attr(750,root,http) /var/log/%{name}
%ghost %attr(770,root,http) /var/log/%{name}/%{name}.log
@@ -246,6 +249,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.72 2005/02/24 20:48:49 glen
+- unlink from apache in postun rather in preun
+- cosmetics
+- remove write permission from .xml file (not needed imho)
+
Revision 1.71 2005/02/23 17:13:59 glen
- update post install message for the first time
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/horde.spec?r1=1.71&r2=1.72&f=u
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit