URL: https://github.com/SSSD/sssd/pull/5859 Author: alexey-tikhonov Title: #5859: A couple of spec-file updates. Action: synchronized
To pull the PR as Git branch: git remote add ghsssd https://github.com/SSSD/sssd git fetch ghsssd pull/5859/head:pr5859 git checkout pr5859
From e200e94dbbd426721e05e847668c3b6675a3853b Mon Sep 17 00:00:00 2001 From: Alexey Tikhonov <atikh...@redhat.com> Date: Mon, 1 Nov 2021 12:08:08 +0100 Subject: [PATCH 1/2] SPEC: enabled build of 'subid ranges' support Since feature support in shadow-utils is available since upstream release version 4.9, support in SSSD can also be enabled by default. :packaging: 'subid ranges' support was enabled by default. --- contrib/sssd.spec.in | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index b46b988eb3..ea376bba43 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -14,6 +14,10 @@ %global child_attrs 4750 %endif +%if 0%{?fedora} >= 35 +%global build_subid 1 +%endif + %if 0%{?fedora} >= 34 %global build_kcm_renewals 1 %global krb5_version 1.19.1 @@ -136,6 +140,9 @@ BuildRequires: systemd-devel BuildRequires: systemtap-sdt-devel BuildRequires: uid_wrapper BuildRequires: po4a +%if %{build_subid} +BuildRequires: shadow-utils-subid-devel +%endif %if %{build_kcm_renewals} BuildRequires: krb5-libs >= %{krb5_version} %endif @@ -519,6 +526,9 @@ autoreconf -ivf --with-sssd-user=%{sssd_user} \ --with-syslog=journald \ --with-test-dir=/dev/shm \ +%if %{build_subid} + --with-subid \ +%endif %if 0%{?fedora} --enable-files-domain \ --disable-polkit-rules-path \ @@ -826,6 +836,9 @@ done %files client -f sssd_client.lang %license src/sss_client/COPYING src/sss_client/COPYING.LESSER %{_libdir}/libnss_sss.so.2 +%if %{build_subid} +%{_libdir}/libsubid_sss.so +%endif %{_libdir}/security/pam_sss.so %{_libdir}/security/pam_sss_gss.so %{_libdir}/krb5/plugins/libkrb5/sssd_krb5_locator_plugin.so From b26e3ab0e37a313b3931c1bd63b07ae29999df58 Mon Sep 17 00:00:00 2001 From: Alexey Tikhonov <atikh...@redhat.com> Date: Mon, 1 Nov 2021 12:12:23 +0100 Subject: [PATCH 2/2] SPEC: disable running files provider by default This is to sync Fedora and upstream spec-files. --- contrib/sssd.spec.in | 1 - 1 file changed, 1 deletion(-) diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index ea376bba43..30f5ce8b84 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -530,7 +530,6 @@ autoreconf -ivf --with-subid \ %endif %if 0%{?fedora} - --enable-files-domain \ --disable-polkit-rules-path \ %endif %{nil}
_______________________________________________ sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure