From 58f65a74107220e52b1770fcac62fbc247b3e9c5d2f91dafb3c94fac094c8ebd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 19 Jan 2018 12:11:12 +0000 Subject: [PATCH] Accepting request 567662 from home:bergmannf:branches:devel:languages:python Reworked changes file to be more concise. OBS-URL: https://build.opensuse.org/request/show/567662 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=110 --- python-ldap-2.5.2.tar.gz | 3 --- python-ldap-2.5.2.tar.gz.asc | 11 ----------- python-ldap-3.0.0b4.tar.gz | 3 +++ python-ldap.changes | 13 +++++++++++++ python-ldap.keyring | 34 ---------------------------------- python-ldap.spec | 24 ++++++++++-------------- 6 files changed, 26 insertions(+), 62 deletions(-) delete mode 100644 python-ldap-2.5.2.tar.gz delete mode 100644 python-ldap-2.5.2.tar.gz.asc create mode 100644 python-ldap-3.0.0b4.tar.gz delete mode 100644 python-ldap.keyring diff --git a/python-ldap-2.5.2.tar.gz b/python-ldap-2.5.2.tar.gz deleted file mode 100644 index 545daa7..0000000 --- a/python-ldap-2.5.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b8c134dfedaef0e6ff4a4b94277708dcadb758b448905a83b8946df077356ed2 -size 297976 diff --git a/python-ldap-2.5.2.tar.gz.asc b/python-ldap-2.5.2.tar.gz.asc deleted file mode 100644 index 2fd513f..0000000 --- a/python-ldap-2.5.2.tar.gz.asc +++ /dev/null @@ -1,11 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQEzBAABCAAdFiEEQ8hzDoSiDlYHIoBsB9x642qLyTgFAloTFSgACgkQB9x642qL -yTiPQAf/XRDv1y0oOaV/JU9pPg1gXp3Iq1mTzJBsuEHSiBm7mFVyKJKYi+jyv1nS -VQAffEv0D3s6C6S4v/aaHJxByaEhqTXoa4P4O5mEPx4ae6J4Vnu9/0z4saTABqPO -ezlsetTy9Bx6hAa+3COOsfYs5tfbRi9Wvill5EjDMeafsW2k+eivNHrJ1iBKsQQL -t0LmJZqGFsI5E6d2YhrGKlmePqZFR9J88+Av3d02iT8GoC/ubYIj/appvelDCk4l -r8r0ZCpPSd8hM8cgb2a4DR6xjBr41kOvbK/m/vsKylPkJaPvCxEIbgHkGJyR0GNY -9bCd2YRB9p40/vzeFkeoMZLJQCD9ug== -=/JEC ------END PGP SIGNATURE----- diff --git a/python-ldap-3.0.0b4.tar.gz b/python-ldap-3.0.0b4.tar.gz new file mode 100644 index 0000000..4fa2437 --- /dev/null +++ b/python-ldap-3.0.0b4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0a7e39a47c356050977613e00be64f09f47adef0e26ed40c6303c41d534066c6 +size 363829 diff --git a/python-ldap.changes b/python-ldap.changes index 84c3720..fa9eb10 100644 --- a/python-ldap.changes +++ b/python-ldap.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu Jan 18 09:04:33 UTC 2018 - fbergmann@suse.com + +- update to upstream release 3.0.0b4: + - Adds support for Python 3.4+ + - Adds support for `bytes_mode` + - Idiotmatic python code changes + - Adds testing for `pypy` + - Fixes/enhances tests + +- Remove python-ldap.keyring and python-ldap-%{version}.tar.gz.asc: + There is no signature provided for the new upstream tarball + ------------------------------------------------------------------- Mon Nov 20 17:49:28 UTC 2017 - michael@stroeder.com diff --git a/python-ldap.keyring b/python-ldap.keyring deleted file mode 100644 index 1b5243c..0000000 --- a/python-ldap.keyring +++ /dev/null @@ -1,34 +0,0 @@ -pub rsa2048 2016-03-07 [SC] - 43C8730E84A20E560722806C07DC7AE36A8BC938 -uid [ unknown] Michael Ströder -sub rsa2048 2016-03-07 [E] - ------BEGIN PGP PUBLIC KEY BLOCK----- - -mQENBFbdnRoBCADj0vYA4aRwKJ6AE4mf8oElLgMT/1eLNKpJ2FYBWcwj9d8dTk5/ -p9b8DRxyS/qQIUUZqt9xRFZwU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nWe+YwdSUsB -fJxOhSv+umyW5GMqZGFu+4oYnkzbe+1LUs1JarCtABEBAAGJAR8EGAEIAAkFAlbd -nRoCGwwACgkQB9x642qLyTjEUgf+JX6Atatl/QKe37yCj1OZYNPd3B0rPLJRF5mE -mrADRXLZC9+uFeDSWxxln040gnR6rjBHrRcvVmlTDiZY26iuL16+V+0/aZ9uyXNQ -Szk2cwDSiI/8gvr72Y+FN5fhcGXpeNHxHilYc9onzDhxyE76cwzqTKm4q2ULIH2u -9IHQ5O86Fv6nHPYhe2fy1bhQapNwi/Xl3G3i2WNH/w7m+1zWU1IddZOjmXzoxLT1 -BATwXGa0Tt5RjVb2mM1Wg3Zj6kqFkF2vvKcvrwj0q0Ap5uyfN5m0uWzQMCMoaV9H -Qf7f5MkS1lnwBqDgnojjVAieX5uk7olUiRuPKHMfhvXulYP8AA== -=D+4K ------END PGP PUBLIC KEY BLOCK----- diff --git a/python-ldap.spec b/python-ldap.spec index 133ff32..410f895 100644 --- a/python-ldap.spec +++ b/python-ldap.spec @@ -1,7 +1,7 @@ # # spec file for package python-ldap # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,16 +16,17 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-ldap -Version: 2.5.2 +Version: 3.0.0b4 Release: 0 Summary: Python LDAP interface License: Python-2.0 Group: Development/Libraries/Python Url: https://www.python-ldap.org/ Source0: https://pypi.io/packages/source/p/python-ldap/python-ldap-%{version}.tar.gz -Source1: https://pypi.io/packages/source/p/python-ldap/python-ldap-%{version}.tar.gz.asc -Source2: %{name}.keyring +BuildRequires: %{python_module devel >= 2.7} +BuildRequires: %{python_module setuptools} BuildRequires: cyrus-sasl-devel >= 2.1 BuildRequires: fdupes BuildRequires: krb5-devel @@ -33,18 +34,13 @@ BuildRequires: libopenssl-devel >= 0.9.7 BuildRequires: openldap2 BuildRequires: openldap2-client BuildRequires: openldap2-devel >= 2.4.11 -BuildRequires: python-devel >= 2.7 -BuildRequires: python-setuptools +BuildRequires: python-rpm-macros Requires: libldap-2_4-2 >= 2.4.11 Requires: python-pyasn1 >= 0.3.7 Requires: python-pyasn1-modules >= 0.1.5 BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} -%endif -# for singlespec -Provides: python2-ldap +%python_subpackages %description python-ldap provides an object-oriented API to access LDAP directory @@ -57,13 +53,13 @@ LDAP-related stuff (e.g. processing LDIF, LDAPURLs, LDAPv3 schema, etc.). cp Build/setup.cfg.suse-linux setup.cfg %build -CFLAGS="%{optflags}" python setup.py build +CFLAGS="%{optflags}" %python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install %fdupes %{buildroot}/%{_libdir} -%files +%files %{python_files} %defattr(-,root,root) %doc README Demo CHANGES TODO LICENCE %{python_sitearch}/*