# what the myplc rpm requires
%define name plewww
-%define version 5.0
+%define version 4.3
%define taglevel 0
# no need to mention pldistro as this module differs in both distros
#Requires: httpd >= 2.0
Requires: php >= 5.0
Requires: postgresql >= 8.0
-Requires: PLCAPI >= 5.0
+Requires: PLCAPI >= 4.3
Requires: drupal = 4.7
Requires: plewww-plekit
rsync -a --exclude Makefile --exclude httpd --exclude \*.spec --exclude .svn ./ $RPM_BUILD_ROOT/var/www/html/
echo "* PLEWWW: Installing conf files for httpd"
-mkdir -p $RPM_BUILD_ROOT/etc/httpd/conf.d/plewww.conf
+mkdir -p $RPM_BUILD_ROOT/etc/httpd/conf.d
install -D -m 644 httpd/*.conf $RPM_BUILD_ROOT/etc/httpd/conf.d/
%post