]> git.pld-linux.org Git - packages/eventum.git/commitdiff
- fix dead symlink
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 28 Nov 2005 09:57:04 +0000 (09:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    eventum.spec -> 1.124

eventum.spec

index c344728f82f75993dd81ac05a54cb8ebbd54e87e..f25fb11face972ad494d102e1ccea8371f7a7d3d 100644 (file)
@@ -18,7 +18,7 @@
 # release candidate
 #define _rc            RC1
 
-%define        _rel    4.17
+%define        _rel    4.19
 
 %if 0%{?_rc:1}
 %define        _source http://pessoal.org/%{name}-%{version}-%{_rc}.tar.gz
@@ -437,8 +437,7 @@ Szczeg
 %prep
 %setup -q %{?_snap:-n %{name}-%{_snap}}
 # undos the source
-find . -type f -print0 | xargs -0 sed -i -e 's,
-$,,'
+find . -type f -print0 | xargs -0 sed -i -e 's,\r$,,'
 
 rm -f setup.conf.php
 rm -rf misc/upgrade/*v1.[123]* # too old to support in PLD
@@ -745,7 +744,7 @@ s,\$irc_username,$username,
 s,\$irc_password,$password,
 ' /etc/eventum/irc.php
 
-%triggerpostun -- %{name} < 1.6.1-4.16
+%triggerpostun -- %{name} < 1.6.1-4.18
 # migrate from apache-config macros
 if [ -f /etc/%{name}/apache.conf.rpmsave ]; then
        if [ -d /etc/apache/webapps.d ]; then
@@ -759,6 +758,21 @@ if [ -f /etc/%{name}/apache.conf.rpmsave ]; then
        fi
 fi
 
+if [ -L /etc/apache/conf.d/99_%{_webapp}.conf ]; then
+       /usr/sbin/webapp register apache %{_webapp}
+       rm -f /etc/apache/conf.d/99_%{_webapp}.conf
+       if [ -f /var/lock/subsys/apache ]; then
+               /etc/rc.d/init.d/apache reload 1>&2
+       fi
+fi
+if [ -L /etc/httpd/httpd.conf/99_%{_webapp}.conf ]; then
+       /usr/sbin/webapp register httpd %{_webapp}
+       rm -f /etc/httpd/httpd.conf/99_%{_webapp}.conf
+       if [ -f /var/lock/subsys/httpd ]; then
+               /etc/rc.d/init.d/httpd reload 1>&2
+       fi
+fi
+
 # regular configs
 for i in apache.conf config.php core.php private_key.php setup.php; do
        if [ -f /etc/eventum/$i.rpmsave ]; then
This page took 0.053403 seconds and 4 git commands to generate.