]> git.pld-linux.org Git - packages/wordpress.git/commitdiff
Revert "- migrated to apache 2.4"
authorElan Ruusamäe <glen@delfi.ee>
Thu, 6 Jun 2013 11:04:57 +0000 (14:04 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 6 Jun 2013 11:04:57 +0000 (14:04 +0300)
This reverts commit ec3e15032f6d22666c437d2bc1c25a847c73116d.

httpd.conf [deleted file]
wordpress.spec

diff --git a/httpd.conf b/httpd.conf
deleted file mode 100644 (file)
index 80d7567..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-Alias /wordpress /usr/share/wordpress
-
-<Directory /usr/share/wordpress>
-       Require all granted
-       php_admin_flag engine on
-       php_admin_value open_basedir "/usr/share/wordpress:/etc/webapps/wordpress"
-
-       <IfModule mod_rewrite.c>
-               Options +FollowSymLinks
-               RewriteEngine On
-               RewriteBase /wordpress/
-               RewriteCond %{REQUEST_FILENAME} !-f
-               RewriteCond %{REQUEST_FILENAME} !-d
-               RewriteRule . /wordpress/index.php [L]
-       </IfModule>
-</Directory>
index 39030e47669d0e0b1ee56be6f8594ae1d0bef1fc..26d9f5a40e00bc73c20c0ab9cf33083acd0e6789 100644 (file)
@@ -21,7 +21,6 @@ Source6:      http://svn.automattic.com/wordpress-i18n/et/tags/%{version}/messages/et
 # Source6-md5: faccf42481d5bf742b019c24a3c6251a
 Source7:       http://svn.automattic.com/wordpress-i18n/pl_PL/tags/%{version}/messages/pl_PL.po
 # Source7-md5: 8c9038410b596f9c705cc006dcdd5960
-Source8:       httpd.conf
 Patch0:                configpath.patch
 Patch1:                multisite.patch
 Patch2:                %{name}.patch
@@ -54,7 +53,6 @@ Requires:     php-phpmailer >= 2.0.4
 Requires:      php-simplepie >= 1.2
 Requires:      webapps
 Requires:      webserver(php)
-Conflicts:     apache-base < 2.4.0-1
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -202,8 +200,8 @@ install -p %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/wp-setup
 ln -s %{_bindir}/wp-setup $RPM_BUILD_ROOT%{_appdir}/wp-setup.sh
 ln -s %{_bindir}/wp-secure $RPM_BUILD_ROOT%{_appdir}/wp-secure.sh
 
+cp -a %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
 cp -a %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
-cp -a %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
 cp -a %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/lighttpd.conf
 
 %clean
@@ -240,10 +238,10 @@ fi
 %triggerun -- apache1 < 1.3.37-3, apache1-base
 %webapp_unregister apache %{_webapp}
 
-%triggerin -- apache-base
+%triggerin -- apache < 2.2.0, apache-base
 %webapp_register httpd %{_webapp}
 
-%triggerun -- apache-base
+%triggerun -- apache < 2.2.0, apache-base
 %webapp_unregister httpd %{_webapp}
 
 %triggerun -- lighttpd
This page took 0.113232 seconds and 4 git commands to generate.