Author: oden
Date: Mon Dec 11 13:00:14 2006
New Revision: 94787

Modified:
   packages/cooker/joomla/current/SPECS/joomla.spec

Log:
- make the main package require the administrator subpackage (fixes #27602)

Modified: packages/cooker/joomla/current/SPECS/joomla.spec
==============================================================================
--- packages/cooker/joomla/current/SPECS/joomla.spec    (original)
+++ packages/cooker/joomla/current/SPECS/joomla.spec    Mon Dec 11 13:00:14 2006
@@ -5,7 +5,7 @@
 Summary:       Joomla Open Source (CMS)
 Name:          joomla
 Version:       1.0.11
-Release:       %mkrel 4
+Release:       %mkrel 5
 License:       GPL
 Group:         System/Servers
 URL:           http://www.joomla.org/
@@ -18,6 +18,7 @@
 BuildRequires: file
 Requires(pre): apache-mod_php php-mysql php-gd php-xml
 Requires:      apache-mod_php php-mysql php-gd php-xml
+Requires:      joomla-administrator
 BuildArch:     noarch
 Provides:      mambo
 Obsoletes:     mambo
@@ -30,8 +31,8 @@
 %package       administrator
 Summary:       Administrative web interface for Joomla Open Source (CMS)
 Group:         System/Servers
-Requires(pre): %{name} = %{version}-%{release} apache-mod_ssl
-Requires:      %{name} = %{version}-%{release} apache-mod_ssl
+Requires(pre): %{name} = %{version}-%{release}
+Requires:      %{name} = %{version}-%{release}
 Requires(post): desktop-file-utils
 Requires(postun): desktop-file-utils
 
@@ -88,7 +89,7 @@
     Order Deny,Allow
     Deny from All
     Allow from 127.0.0.1
-    ErrorDocument 403 "This directory can only be viewed from localhost."
+    ErrorDocument 403 "Access denied per 
%{_sysconfdir}/httpd/conf/webapps.d/01_%{name}.conf"
 </Directory>
 
 EOF

Reply via email to