File workaround_apache2_confdir_for_suma.patch of Package cobbler

Index: cobbler-3.3.3/cobbler.spec
===================================================================
--- cobbler-3.3.3.orig/cobbler.spec
+++ cobbler-3.3.3/cobbler.spec
@@ -67,7 +67,7 @@
 %define apache_group www
 
 %define apache_dir /srv/www
-%define apache_webconfigdir /etc/apache2/vhosts.d
+%define apache_webconfigdir /etc/apache2/conf.d
 %define apache_mod_wsgi apache2-mod_wsgi-python%{python3_pkgversion}
 %define tftpboot_dir /srv/tftpboot
 
Index: cobbler-3.3.3/distro_build_configs.sh
===================================================================
--- cobbler-3.3.3.orig/distro_build_configs.sh
+++ cobbler-3.3.3/distro_build_configs.sh
@@ -10,7 +10,7 @@ export STATEPATH="/tmp/cobbler_settings/
 
 export HTTPD_SERVICE="apache2.service"
 export WEBROOT="/srv/www";
-export WEBCONFIG="/etc/apache2/vhosts.d";
+export WEBCONFIG="/etc/apache2/conf.d";
 export WEBROOTCONFIG="/etc/apache2";
 export TFTPROOT="/srv/tftpboot"
 export ZONEFILES="/var/lib/named"
Index: cobbler-3.3.3/setup.py
===================================================================
--- cobbler-3.3.3.orig/setup.py
+++ cobbler-3.3.3/setup.py
@@ -36,7 +36,7 @@ completion_path = os.environ.get('COMPLE
 statepath = os.environ.get('STATEPATH', "/tmp/cobbler_settings/devinstall")
 http_user = os.environ.get('HTTP_USER', "wwwrun")
 httpd_service = os.environ.get('HTTPD_SERVICE', "apache2.service")
-webconfig = os.environ.get('WEBCONFIG', "/etc/apache2/vhosts.d")
+webconfig = os.environ.get('WEBCONFIG', "/etc/apache2/conf.d")
 webroot = os.environ.get('WEBROOT', "/srv/www")
 tftproot = os.environ.get('TFTPROOT', "/srv/tftpboot")
 bind_zonefiles = os.environ.get('ZONEFILES', "/var/lib/named/")
openSUSE Build Service is sponsored by