SPECS (DEVEL): imp.spec - fix broken trigger

glen glen at pld-linux.org
Mon Aug 22 21:24:47 CEST 2005


Author: glen                         Date: Mon Aug 22 19:24:47 2005 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- fix broken trigger

---- Files affected:
SPECS:
   imp.spec (1.81.2.3 -> 1.81.2.4) 

---- Diffs:

================================================================
Index: SPECS/imp.spec
diff -u SPECS/imp.spec:1.81.2.3 SPECS/imp.spec:1.81.2.4
--- SPECS/imp.spec:1.81.2.3	Mon Aug 22 21:10:00 2005
+++ SPECS/imp.spec	Mon Aug 22 21:24:39 2005
@@ -12,8 +12,9 @@
 Release:	0.%(echo %{_snap} | tr -d -).1
 License:	GPL v2
 Group:		Applications/WWW
+#Source0:	ftp://ftp.horde.org/pub/imp/%{name}-h3-%{version}.tar.gz
 Source0:	http://ftp.horde.org/pub/snaps/%{_snap}/imp-FRAMEWORK_3-%{_snap}.tar.gz
-# Source0-md5:	de81a870fda572fe1d4d81db8c31f41f
+# Source0-md5:	c222e646c31afe0f3d7934880aa1aa0c
 Source1:	%{name}.conf
 Source2:	%{name}-pgsql_create.sql
 Source3:	%{name}-pgsql_cuser.sh
@@ -69,7 +70,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{/etc/cron.daily,%{_sysconfdir}/imp} \
+install -d $RPM_BUILD_ROOT{/etc/cron.daily,%{_sysconfdir}/%{name}} \
 	$RPM_BUILD_ROOT%{_appdir}/{docs,lib,locale,scripts,templates,themes}
 
 cp -pR	*.php			$RPM_BUILD_ROOT%{_appdir}
@@ -122,9 +123,9 @@
 done
 
 %triggerpostun -- imp <= 4.0.2-1
-if [ -f %{_apache2dir}/imp.conf.rpmsave ]; then
+if [ -f /etc/httpd/imp.conf.rpmsave ]; then
 	cp -f %{_sysconfdir}/apache-%{name}.conf{,.rpmnew}
-	mv -f %{_apache2dir}/imp.conf.rpmsave %{_sysconfdir}/apache-%{name}.conf
+	mv -f /etc/httpd/imp.conf.rpmsave %{_sysconfdir}/apache-%{name}.conf
 fi
 
 if [ -f /var/lock/subsys/httpd ]; then
@@ -157,8 +158,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.81.2.4  2005/08/22 19:24:39  glen
+- fix broken trigger
+
 Revision 1.81.2.3  2005/08/22 19:10:00  paszczus
-- updated to 2005-08-22 snap ; removed TODO
+- updated to 2005-08-22 snap; removed TODO
 
 Revision 1.81.2.2  2005/07/20 22:07:56  glen
 - use apache config triggers
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/imp.spec?r1=1.81.2.3&r2=1.81.2.4&f=u




More information about the pld-cvs-commit mailing list