diff --git a/phpmyadmin.spec b/phpmyadmin.spec index 422ac78..941eb75 100644 --- a/phpmyadmin.spec +++ b/phpmyadmin.spec @@ -19,7 +19,7 @@ Name: %{?sitename:%sitename-}phpmyadmin Version: 5.1.1 -Release: 1mamba +Release: 2mamba Summary: MySQL administration tool Group: Applications/Databases Vendor: openmamba @@ -40,8 +40,8 @@ BuildArch: noarch ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END BuildRequires: apache -Requires: apache-mod_php >= 4.3 -Requires: php-mysqli +#Requires: apache-mod_php >= 4.3 +#Requires: php-mysqli #Requires: mysql >= 5.5 %description @@ -170,14 +170,14 @@ if [ $1 -eq 1 ]; then sed -i "s|\(\$cfg\['blowfish_secret'\] = \)''|\1'$password'|" %{installdir}/config.inc.php fi if [ $1 -ge 1 ]; then - /usr/sbin/apachectl graceful + [ -e /usr/sbin/apachectl ] && /usr/sbin/apachectl graceful fi : %postun # uninstall if [ $1 -eq 0 ]; then - /usr/sbin/apachectl graceful + [ -e /usr/sbin/apachectl ] && /usr/sbin/apachectl graceful fi : @@ -217,6 +217,9 @@ rm -f .core .themes # scripts/*.sql %changelog +* Sun Aug 29 2021 Silvan Calarco 5.1.1-2mamba +- remove requirements for apache and apache-mod_php + * Fri Jun 04 2021 Automatic Build System 5.1.1-1mamba - automatic version update by autodist