Projects
Kolab:3.4
pykolab
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 82
View file
pykolab.spec
Changed
@@ -1,9 +1,14 @@ +%if 0%{?opensuse_bs} +#!BuildIgnore: systemd +%endif + %{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %if 0%{?suse_version} < 1 && 0%{?fedora} < 1 && 0%{?rhel} < 7 %global with_systemd 0 %else %global with_systemd 1 +%{!?_unitdir: %global _unitdir /usr/lib/systemd/system/} %endif %global kolab_user kolab @@ -51,9 +56,6 @@ BuildRequires: python-sqlalchemy %if 0%{?suse_version} BuildRequires: python-pytz -%if 0%{?with_systemd} -BuildRequires: systemd -%endif %else BuildRequires: pytz %endif @@ -71,11 +73,13 @@ Requires(postun): systemd Requires(preun): systemd %else +%if 0%{?opensuse_bs} == 0 Requires(post): systemd-units Requires(postun): systemd-units Requires(preun): coreutils Requires(preun): systemd-units %endif +%endif %else Requires(post): chkconfig Requires(post): initscripts
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
.