Projects
Kolab:3.4
kolab-webadmin
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 3
View file
kolab-webadmin.spec
Changed
@@ -13,6 +13,12 @@ %global kolabr_group kolab-r %global kolabr_group_id 414 +%if 0%{?suse_version} +%global _ap_sysconfdir %{_sysconfdir}/apache2 +%else +%global _ap_sysconfdir %{_sysconfdir}/httpd +%endif + Name: kolab-webadmin Version: 3.0.5 Release: 1%{?dist} @@ -47,13 +53,13 @@ %install mkdir -p \ %{buildroot}/%{_datadir}/%{name}/ \ - %{buildroot}/%{_sysconfdir}/httpd/conf.d/ \ + %{buildroot}/%{_ap_sysconfdir}/conf.d/ \ %{buildroot}/%{_var}/log/%{name} \ %{buildroot}/%{_var}/cache/%{name} cp -a lib/ public_html/ hosted/ %{buildroot}/%{_datadir}/%{name}/. -cp -a doc/kolab-webadmin.conf %{buildroot}/%{_sysconfdir}/httpd/conf.d/ -cp -a doc/hosted-kolab.conf %{buildroot}/%{_sysconfdir}/httpd/conf.d/ +cp -a doc/kolab-webadmin.conf %{buildroot}/%{_ap_sysconfdir}/conf.d/ +cp -a doc/hosted-kolab.conf %{buildroot}/%{_ap_sysconfdir}/conf.d/ pushd %{buildroot}/%{_datadir}/%{name}/ ln -s ../../..%{_var}/cache/%{name} cache ln -s ../../..%{_var}/log/%{name} logs @@ -94,10 +100,8 @@ %files %defattr(-, root, root) %doc doc/* INSTALL LICENSE -%dir %{_sysconfdir}/httpd -%dir %{_sysconfdir}/httpd/conf.d -%config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}.conf -%config(noreplace) %{_sysconfdir}/httpd/conf.d/hosted-kolab.conf +%config(noreplace) %{_ap_sysconfdir}/conf.d/%{name}.conf +%config(noreplace) %{_ap_sysconfdir}/conf.d/hosted-kolab.conf %{_datadir}/%{name} %attr(0770,apache,apache) %{_var}/cache/%{name} %attr(0770,apache,apache) %{_var}/log/%{name}
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.