SPECS: dokuwiki.spec - add page id based notify address patch - on setup pk...

glen glen at pld-linux.org
Wed Nov 19 16:41:27 CET 2008


Author: glen                         Date: Wed Nov 19 15:41:27 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add page id based notify address patch
- on setup pkg uninstall dokuwiki.php could be already missing

---- Files affected:
SPECS:
   dokuwiki.spec (1.37 -> 1.38) 

---- Diffs:

================================================================
Index: SPECS/dokuwiki.spec
diff -u SPECS/dokuwiki.spec:1.37 SPECS/dokuwiki.spec:1.38
--- SPECS/dokuwiki.spec:1.37	Tue Nov 18 14:53:00 2008
+++ SPECS/dokuwiki.spec	Wed Nov 19 16:41:21 2008
@@ -5,7 +5,7 @@
 Summary(pl.UTF-8):	Aplikacja WWW Wiki oparta na PHP
 Name:		dokuwiki
 Version:	%{ver}
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		Applications/WWW
 Source0:	http://www.splitbrain.org/_media/projects/dokuwiki/%{name}-%{subver}.tgz
@@ -28,6 +28,7 @@
 Patch8:		%{name}-notify-respect-minor.patch
 Patch9:		%{name}-media-userinfo.patch
 Patch10:	%{name}-mailtext.patch
+Patch11:	%{name}-notifyns.patch
 URL:		http://wiki.splitbrain.org/wiki:dokuwiki
 BuildRequires:	rpmbuild(macros) >= 1.268
 Requires:	geshi >= 1.0.7.19
@@ -94,6 +95,7 @@
 %patch8 -p1
 %patch9 -p1
 %patch10 -p1
+%patch11 -p1
 
 rm -f inc/lang/.htaccess
 # safe file
@@ -143,8 +145,10 @@
 
 %postun setup
 if [ "$1" = "0" ]; then
-	chmod 750 %{_sysconfdir}
-	chmod 640 %{_sysconfdir}/dokuwiki.php
+	if [ -f %{_sysconfdir}/dokuwiki.php ]; then
+		chmod 750 %{_sysconfdir}
+		chmod 640 %{_sysconfdir}/dokuwiki.php
+	fi
 fi
 
 %triggerin -- apache1 < 1.3.37-3, apache1-base
@@ -285,6 +289,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.38  2008/11/19 15:41:21  glen
+- add page id based notify address patch
+- on setup pkg uninstall dokuwiki.php could be already missing
+
 Revision 1.37  2008/11/18 13:53:00  glen
 - R: webserver(access)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/dokuwiki.spec?r1=1.37&r2=1.38&f=u



More information about the pld-cvs-commit mailing list