URL: https://github.com/freeipa/freeipa/pull/2044 Author: flo-renaud Title: #2044: [Fedora29]: fix dependency for *-domainname.service file Action: opened
PR body: """ FreeIPA has a dependency on /usr/lib/systemd/system/*-domainname.service file. In fedora <=28, this is provided by package 'initscripts' but in fedora >= 29, this is provided by package 'hostname'. Fixes: https://pagure.io/freeipa/issue/7591 """ To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/2044/head:pr2044 git checkout pr2044
From 9c5ac7a9dad9958b6bd0514f675d51b3a69448be Mon Sep 17 00:00:00 2001 From: Florence Blanc-Renaud <f...@redhat.com> Date: Tue, 19 Jun 2018 10:10:51 +0200 Subject: [PATCH] [Fedora29]: fix dependency for *-domainname.service file FreeIPA has a dependency on /usr/lib/systemd/system/*-domainname.service file. In fedora <=28, this is provided by package 'initscripts' but in fedora >= 29, this is provided by package 'hostname'. Fixes: https://pagure.io/freeipa/issue/7591 --- freeipa.spec.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/freeipa.spec.in b/freeipa.spec.in index fb29adee68..0ebc6df3ea 100755 --- a/freeipa.spec.in +++ b/freeipa.spec.in @@ -576,7 +576,11 @@ Requires: krb5-workstation >= %{krb5_version} Requires: authselect >= 0.4-2 Requires: curl # NIS domain name config: /usr/lib/systemd/system/*-domainname.service +%if 0%{?fedora} >= 29 +Requires: hostname +%else Requires: initscripts +%endif Requires: libcurl >= 7.21.7-2 Requires: xmlrpc-c >= 1.27.4 Requires: sssd >= 1.14.0
_______________________________________________ FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/freeipa-devel@lists.fedorahosted.org/message/NGEEZK55WHZPDOKLVPNWF2U3XZHZ2SJD/