From d57d7436e1ddab77e179e6c551834d204ad5312c4b4b85479628761a2dcdd42d Mon Sep 17 00:00:00 2001 From: Howard Guo Date: Fri, 1 Dec 2017 14:37:44 +0000 Subject: [PATCH] - In an ongoing effort to reduce dependency on python version 2, the following python libraries are no longer built. Nevertheless their python3 counterparts remain in place: * python-ipa_hbac * python-sss-murmur * python-sss_nss_idmap * python-sssd-config OBS-URL: https://build.opensuse.org/package/show/network:ldap/sssd?expand=0&rev=191 --- sssd.changes | 11 +++++++++++ sssd.spec | 25 +++---------------------- 2 files changed, 14 insertions(+), 22 deletions(-) diff --git a/sssd.changes b/sssd.changes index a664be3..a88f99e 100644 --- a/sssd.changes +++ b/sssd.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Dec 1 14:35:08 UTC 2017 - hguo@suse.com + +- In an ongoing effort to reduce dependency on python version 2, + the following python libraries are no longer built. Nevertheless + their python3 counterparts remain in place: + * python-ipa_hbac + * python-sss-murmur + * python-sss_nss_idmap + * python-sssd-config + ------------------------------------------------------------------- Mon Oct 23 16:31:54 UTC 2017 - michael@stroeder.com diff --git a/sssd.spec b/sssd.spec index ffc9710..2e6bb5b 100644 --- a/sssd.spec +++ b/sssd.spec @@ -53,7 +53,6 @@ BuildRequires: nscd BuildRequires: openldap2-devel BuildRequires: pam-devel BuildRequires: pkg-config >= 0.21 -BuildRequires: python-devel BuildRequires: python3-devel BuildRequires: systemd-rpm-macros BuildRequires: libcmocka-devel @@ -76,7 +75,7 @@ BuildRequires: pkgconfig(libpcre) >= 7 BuildRequires: pkgconfig(libsystemd) BuildRequires: pkgconfig(ndr_nbt) BuildRequires: pkgconfig(popt) -BuildRequires: pkgconfig(python) +BuildRequires: pkgconfig(python3) BuildRequires: pkgconfig(talloc) BuildRequires: pkgconfig(tdb) >= 1.1.3 BuildRequires: pkgconfig(tevent) @@ -427,7 +426,8 @@ export LDFLAGS="-pie" --with-semanage=no \ --disable-ldb-version-check \ --without-kcm \ - --without-secrets + --without-secrets \ + --without-python2-bindings make %{?_smp_mflags} all %install @@ -754,39 +754,20 @@ rm -f /var/lib/sss/db/*.ldb %_libdir/libsss_simpleifp.so %_libdir/pkgconfig/sss_simpleifp.pc -%files -n python-ipa_hbac -%defattr(-,root,root) -%dir %python_sitearch -%python_sitearch/pyhbac.so - %files -n python3-ipa_hbac %defattr(-,root,root) %dir %python3_sitearch %python3_sitearch/pyhbac.so -%files -n python-sss-murmur -%defattr(-,root,root) -%python_sitearch/pysss_murmur.so - %files -n python3-sss-murmur %defattr(-,root,root) %python3_sitearch/pysss_murmur.so -%files -n python-sss_nss_idmap -%defattr(-,root,root) -%dir %python_sitearch -%python_sitearch/pysss_nss_idmap.so - %files -n python3-sss_nss_idmap %defattr(-,root,root) %dir %python3_sitearch %python3_sitearch/pysss_nss_idmap.so -%files -n python-sssd-config -%defattr(-,root,root) -%python_sitearch/pysss.so -%python_sitelib/SSSDConfig* - %files -n python3-sssd-config %defattr(-,root,root) %python3_sitearch/pysss.so