SHA256
1
0
forked from jengelh/sssd

Accepting request 1127633 from home:scabrero:jsc-ped6714

- Fix spec file for Leap

OBS-URL: https://build.opensuse.org/request/show/1127633
OBS-URL: https://build.opensuse.org/package/show/network:ldap/sssd?expand=0&rev=301
This commit is contained in:
Jan Engelhardt 2023-11-20 10:17:08 +00:00 committed by Git OBS Bridge
parent 523577d0c6
commit 462aba7e1d
2 changed files with 14 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Nov 17 14:52:30 UTC 2023 - Samuel Cabrero <scabrero@suse.de>
- Fix spec file for Leap
-------------------------------------------------------------------
Fri Nov 17 12:30:33 UTC 2023 - Samuel Cabrero <scabrero@suse.de>

View File

@ -41,7 +41,9 @@ BuildRequires: cyrus-sasl-devel
BuildRequires: docbook-xsl-stylesheets
BuildRequires: krb5-devel >= 1.12
BuildRequires: libcmocka-devel
%if 0%{?suse_version} >= 1600
BuildRequires: libsubid-devel
%endif
BuildRequires: libtool
BuildRequires: libunistring-devel
BuildRequires: libxml2-tools
@ -366,11 +368,13 @@ autoreconf -fiv
--enable-pammoddir="%_pam_moduledir" \
--with-ldb-lib-dir="%ldbdir" \
--with-selinux=yes \
--with-subid \
--with-os=suse \
--disable-ldb-version-check \
--without-python2-bindings \
--without-oidc-child
--without-oidc-child \
%if 0%{?suse_version} >= 1600
--with-subid
%endif
%make_build all
%install
@ -583,8 +587,10 @@ done
%_pam_moduledir/pam_sss_gss.so
%_libdir/krb5/
%_libdir/%name/modules/sssd_krb5_localauth_plugin.so
%_libdir/%name/modules/sssd_krb5_idp_plugin.so
%exclude %_libdir/%name/modules/sssd_krb5_idp_plugin.so
%if 0%{?suse_version} >= 1600
%_libdir/libsubid_sss.so
%endif
%_mandir/??/man8/sssd_krb5_locator_plugin.8*
%_mandir/??/man8/pam_sss.8*
%_mandir/??/man8/pam_sss_gss.8*