also enable mod_dav on install to fix https://www.centos.org/forums/viewtopic.php?t=27767 [release 1.8.11-2mamba;Fri Dec 19 2014]

This commit is contained in:
Silvan Calarco 2024-01-05 18:11:03 +01:00
parent 7029b36387
commit 29e1c553c5

View File

@ -10,7 +10,7 @@
%define svn2cl_version 0.11 %define svn2cl_version 0.11
Name: subversion Name: subversion
Version: 1.8.11 Version: 1.8.11
Release: 1mamba Release: 2mamba
Summary: A version control system that is a compelling replacement for CVS Summary: A version control system that is a compelling replacement for CVS
Group: Development/Tools Group: Development/Tools
Vendor: openmamba Vendor: openmamba
@ -311,9 +311,10 @@ rm -f .packlist
if [ $1 -eq 1 ]; then if [ $1 -eq 1 ]; then
#install #install
# please note: the modules order matters # please note: the modules order matters
apxs -e -a -n dav %{_libdir}/apache/mod_dav.so > /dev/null
apxs -e -a -n dav_svn %{_libdir}/apache/mod_dav_svn.so > /dev/null apxs -e -a -n dav_svn %{_libdir}/apache/mod_dav_svn.so > /dev/null
apxs -e -a -n authz_svn %{_libdir}/apache/mod_authz_svn.so > /dev/null apxs -e -a -n authz_svn %{_libdir}/apache/mod_authz_svn.so > /dev/null
%{_initrddir}/httpd condrestart systemctl -q reload-or-try-restart httpd
fi fi
: :
@ -322,7 +323,7 @@ if [ $1 -eq 0 ]; then
#erase #erase
sed -i "/mod_authz_svn.so/d" %{_sysconfdir}/httpd/httpd.conf sed -i "/mod_authz_svn.so/d" %{_sysconfdir}/httpd/httpd.conf
sed -i "/mod_dav_svn.so/d" %{_sysconfdir}/httpd/httpd.conf sed -i "/mod_dav_svn.so/d" %{_sysconfdir}/httpd/httpd.conf
%{_initrddir}/httpd condrestart systemctl -q reload-or-try-restart httpd
fi fi
: :
%if %{with_java_subpackage} %if %{with_java_subpackage}
@ -413,6 +414,9 @@ fi
#%{_mandir}/man1/svn2cl.1.gz #%{_mandir}/man1/svn2cl.1.gz
%changelog %changelog
* Fri Dec 19 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.11-2mamba
- also enable mod_dav on install to fix https://www.centos.org/forums/viewtopic.php?t=27767
* Tue Dec 16 2014 Automatic Build System <autodist@mambasoft.it> 1.8.11-1mamba * Tue Dec 16 2014 Automatic Build System <autodist@mambasoft.it> 1.8.11-1mamba
- automatic version update by autodist - automatic version update by autodist