[packages/apache] drop duplicate triggerpostun base 2.4.0

glen glen at pld-linux.org
Thu Feb 27 20:12:13 CET 2014


commit 42c3be8a03d1b714f654152c704df0dc0b13df18
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Feb 27 21:11:56 2014 +0200

    drop duplicate triggerpostun base 2.4.0

 apache.spec | 14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)
---
diff --git a/apache.spec b/apache.spec
index d0c4413..5202412 100644
--- a/apache.spec
+++ b/apache.spec
@@ -34,7 +34,7 @@ Summary(ru.UTF-8):	Самый популярный веб-сервер
 Summary(tr.UTF-8):	Lider WWW tarayıcı
 Name:		apache
 Version:	2.4.7
-Release:	1
+Release:	2
 License:	Apache v2.0
 Group:		Networking/Daemons/HTTP
 Source0:	http://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2
@@ -3023,18 +3023,6 @@ EOF
 	fi
 fi
 
-%triggerpostun base -- %{name} < 2.4.0
-cp -f /etc/httpd/apache.conf{,.rpmsave}
-sed -i -e '
-        /^DefaultType.*/s,.*,,
-        /^Include /s,^Include ,IncludeOptional ,
-        /^NameVirtualHost.*/s,.*,,
-        /^User/s,^,LoadModule unixd_module modules/mod_unixd.so\n,
-' /etc/httpd/apache.conf
-sed -i -e '
-        s,^LockFile /var/run/httpd/accept.lock,Mutex file:/var/run/httpd/,g
-' /etc/httpd/conf.d/10_mpm.conf
-
 %triggerpostun base -- %{name} < 2.2.0
 # change HTTPD_CONF to point to new location. *only* if it's the
 # default config setting
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/apache.git/commitdiff/42c3be8a03d1b714f654152c704df0dc0b13df18



More information about the pld-cvs-commit mailing list