SHA256
1
0
forked from pool/phpMyAdmin

Updating link to change in openSUSE:Factory/phpMyAdmin revision 6.0

OBS-URL: https://build.opensuse.org/package/show/server:php:applications/phpMyAdmin?expand=0&rev=f5829ce33c28f6af6fa83669f5e31c82
This commit is contained in:
OBS User buildservice-autocommit 2011-06-17 08:54:47 +00:00 committed by Git OBS Bridge
parent 0a1c497be6
commit c72882c133

View File

@ -54,7 +54,6 @@ Requires: mod_php_any php-bz2 php-gd php-iconv
Requires: php-mbstring php-mcrypt php-mysql php-session php-zlib Requires: php-mbstring php-mcrypt php-mysql php-session php-zlib
Recommends: php5-zip Recommends: php5-zip
%description %description
phpMyAdmin can manage a whole MySQL server (needs a super-user) as well as a phpMyAdmin can manage a whole MySQL server (needs a super-user) as well as a
single database. To accomplish the latter you'll need a properly set up MySQL single database. To accomplish the latter you'll need a properly set up MySQL
@ -100,10 +99,8 @@ find . -type f -name '*.orig' -exec rm {} \;
#rm lang/*.sh #rm lang/*.sh
%{__rm} libraries/.htaccess %{__rm} libraries/.htaccess
%build %build
%install %install
#%{__install} -d -m0750 $RPM_BUILD_ROOT%{_sysconfdir}/%{name} #%{__install} -d -m0750 $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
%{__install} -d -m0755 $RPM_BUILD_ROOT%{ap_docroot}/%{name} %{__install} -d -m0755 $RPM_BUILD_ROOT%{ap_docroot}/%{name}
@ -133,7 +130,6 @@ find $RPM_BUILD_ROOT%{ap_docroot}/%{name} -maxdepth 1 -type f | grep -v 'config.
%fdupes -s ${RPM_BUILD_ROOT} %fdupes -s ${RPM_BUILD_ROOT}
%endif %endif
%post %post
# on `rpm -ivh` PARAM is 1 # on `rpm -ivh` PARAM is 1
# on `rpm -Uvh` PARAM is 2 # on `rpm -Uvh` PARAM is 2
@ -151,15 +147,12 @@ if [ -f /etc/php5/conf.d/suhosin.ini ]; then
%{_sysconfdir}/php5/conf.d/suhosin.ini %{_sysconfdir}/php5/conf.d/suhosin.ini
fi fi
%postun %postun
%restart_on_update apache2 %restart_on_update apache2
%clean %clean
%{__rm} -rf $RPM_BUILD_ROOT %{__rm} -rf $RPM_BUILD_ROOT
%files -f FILELIST %files -f FILELIST
%defattr(644,root,root,755) %defattr(644,root,root,755)
%doc CREDITS ChangeLog Documentation.* docs.css %doc CREDITS ChangeLog Documentation.* docs.css
@ -171,6 +164,4 @@ fi
%dir %{ap_docroot}/%{name} %dir %{ap_docroot}/%{name}
%config(noreplace) %{ap_sysconfdir}/conf.d/%{name}.conf %config(noreplace) %{ap_sysconfdir}/conf.d/%{name}.conf
%changelog %changelog