SHA256
1
0
forked from jengelh/sssd

- 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
This commit is contained in:
Howard Guo 2017-12-01 14:37:44 +00:00 committed by Git OBS Bridge
parent 1509d47d02
commit d57d7436e1
2 changed files with 14 additions and 22 deletions

View File

@ -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

View File

@ -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