Hello community,
here is the log from the commit of package python-mockldap for openSUSE:Factory
checked in at 2019-09-13 14:58:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mockldap (Old)
and /work/SRC/openSUSE:Factory/.python-mockldap.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mockldap"
Fri Sep 13 14:58:26 2019 rev:4 rq:730111 version:0.3.0.post1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-mockldap/python-mockldap.changes
2018-12-24 11:39:46.585538120 +0100
+++
/work/SRC/openSUSE:Factory/.python-mockldap.new.7948/python-mockldap.changes
2019-09-13 14:58:31.397277756 +0200
@@ -1,0 +2,6 @@
+Wed Sep 11 11:24:39 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 0.3.0post1:
+ * project archived and moved to github
+
+-------------------------------------------------------------------
Old:
----
mockldap-0.3.0.tar.gz
New:
----
mockldap-0.3.0.post1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-mockldap.spec ++++++
--- /var/tmp/diff_new_pack.tev6bo/_old 2019-09-13 14:58:31.905277778 +0200
+++ /var/tmp/diff_new_pack.tev6bo/_new 2019-09-13 14:58:31.909277778 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-mockldap
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -18,21 +18,24 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-mockldap
-Version: 0.3.0
+Version: 0.3.0.post1
Release: 0
Summary: A simple mock implementation of python-ldap
License: BSD-2-Clause
Group: Development/Languages/Python
-Url: http://bitbucket.org/psagers/mockldap/
+URL: https://github.com/psagers/mockldap
Source:
https://files.pythonhosted.org/packages/source/m/mockldap/mockldap-%{version}.tar.gz
-BuildRequires: %{python_module funcparserlib}
-BuildRequires: %{python_module ldap}
-BuildRequires: %{python_module mock}
-BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module funcparserlib >= 0.3.6}
+BuildRequires: %{python_module ldap >= 3.0}
+BuildRequires: %{python_module setuptools >= 0.6c11}
+BuildRequires: fdupes
+BuildRequires: python-mock
BuildRequires: python-rpm-macros
-Requires: python-funcparserlib
-Requires: python-ldap
+Requires: python-funcparserlib >= 0.3.6
+Requires: python-ldap >= 3.0
+%ifpython2
Requires: python-mock
+%endif
BuildArch: noarch
%python_subpackages
@@ -43,14 +46,18 @@
%prep
%setup -q -n mockldap-%{version}
+sed -i -e 's:==:>=:g' setup.py
%build
%python_build
%install
%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
+%doc CHANGES README.rst
+%license LICENSE.rst
%{python_sitelib}/*
%changelog