]> git.pld-linux.org Git - packages/phpBB.git/commitdiff
- never use '<=' in trigger comparision (drop old triggers); rel 3 AC-branch auto/ac/phpBB-2_0_21-3 auto/th/phpBB-2_0_21-3
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 6 Feb 2008 20:55:37 +0000 (20:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    phpBB.spec -> 1.98

phpBB.spec

index b3485c55c72327939ceb2b129c0932537e31081f..942a2f16f355d66a0a808cfdd31e421c2f00914e 100644 (file)
@@ -2,7 +2,7 @@ Summary:        A feature-rich PHP discussion board
 Summary(pl.UTF-8):     Forum dyskusyjne o dużych możliwościach
 Name:          phpBB
 Version:       2.0.21
-Release:       2
+Release:       3
 License:       GPL v2
 Group:         Applications/WWW
 Source0:       http://dl.sourceforge.net/phpbb/%{name}-%{version}.tar.bz2
@@ -127,52 +127,6 @@ echo "Remember to uninstall %{name}-install after initiation/upgrade of %{name}!
 %triggerun -- apache < 2.2.0, apache-base
 %webapp_unregister httpd %{_webapp}
 
-%triggerpostun -- %{name} <= 2.0.10-1
-for i in `grep -lr "/home/\(services/\)*httpd/html/phpBB" /etc/httpd/*`; do
-       cp $i $i.backup
-       sed -i -e "s#/home/httpd/html/phpBB#%{_appdir}#g" $i
-       sed -i -e "s#/home/services/httpd/html/phpBB#%{_appdir}#g" $i
-       echo "File changed by trigger: $i (backup: $i.backup)"
-done
-
-%triggerpostun -- %{name} < 2.0.19-0.5
-# rescue app config from various old locations
-for i in config.php favicon.ico robots.txt; do
-       if [ -f /home/services/httpd/html/phpBB/$i.rpmsave ]; then
-           mv -f %{_sysconfdir}/$i{,.rpmnew}
-           mv -f /home/services/httpd/html/phpBB/$i.rpmsave %{_sysconfdir}/$i
-       fi
-done
-
-for i in config.php favicon.ico robots.txt; do
-       if [ -f /home/httpd/html/phpBB/$i.rpmsave ]; then
-           mv -f %{_sysconfdir}/$i{,.rpmnew}
-           mv -f /home/httpd/html/phpBB/$i.rpmsave %{_sysconfdir}/$i
-       fi
-done
-
-for i in config.php favicon.ico robots.txt; do
-       if [ -f /etc/%{name}/$i.rpmsave ]; then
-           mv -f %{_sysconfdir}/$i{,.rpmnew}
-           mv -f /etc/%{name}/$i.rpmsave %{_sysconfdir}/$i
-    fi
-done
-
-# nuke very-old config location (this mostly for Ra)
-if [ -f /etc/httpd/httpd.conf ]; then
-       sed -i -e "/^Include.*%{name}.conf/d" /etc/httpd/httpd.conf
-fi
-
-# migrate from httpd (apache2) config dir
-if [ -f /etc/httpd/%{name}.conf.rpmsave ]; then
-       cp -f %{_sysconfdir}/httpd.conf{,.rpmnew}
-       mv -f /etc/httpd/%{name}.conf.rpmsave %{_sysconfdir}/httpd.conf
-fi
-
-rm -f /etc/httpd/httpd.conf/99_%{name}.conf
-/usr/sbin/webapp register httpd %{_webapp}
-%service -q httpd reload
-
 %files
 %defattr(644,root,root,755)
 %dir %attr(750,root,http) %{_sysconfdir}
This page took 0.034946 seconds and 4 git commands to generate.