remove requirements for apache and apache-mod_php [release 5.1.1-2mamba;Sun Aug 29 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 10:00:39 +01:00
parent 54423199b6
commit 7d8a27fb63

View File

@ -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 <silvan.calarco@mambasoft.it> 5.1.1-2mamba
- remove requirements for apache and apache-mod_php
* Fri Jun 04 2021 Automatic Build System <autodist@mambasoft.it> 5.1.1-1mamba
- automatic version update by autodist