From c89d4cdbdf44490e21dd104192852a96d73f22d33602a75a8dc08ade09e4711d Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 12 Jun 2019 11:17:43 +0000 Subject: [PATCH] Accepting request 709132 from network:ha-clustering:Factory OBS-URL: https://build.opensuse.org/request/show/709132 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-shaptools?expand=0&rev=2 --- python-shaptools.changes | 28 ++++++++++++++++++++++++++-- python-shaptools.spec | 34 +++++++++++++++++++++++----------- shaptools-0.1.0.tar.gz | 3 --- shaptools-0.2.1.tar.gz | 3 +++ 4 files changed, 52 insertions(+), 16 deletions(-) delete mode 100644 shaptools-0.1.0.tar.gz create mode 100644 shaptools-0.2.1.tar.gz diff --git a/python-shaptools.changes b/python-shaptools.changes index ae7f1a1..0b04a16 100644 --- a/python-shaptools.changes +++ b/python-shaptools.changes @@ -1,7 +1,31 @@ +------------------------------------------------------------------- +Tue Jun 11 11:29:44 UTC 2019 - Xabier Arbulu Insausti + +- Create package version 0.2.1 with fixed spec files. Now the package + is available from SLE12-SP2 to SLE15 versions + +------------------------------------------------------------------- +Tue Jun 4 07:23:40 UTC 2019 - Xabier Arbulu Insausti + +- Create package version 0.2.0 with the latest changes + +------------------------------------------------------------------- +Wed May 29 12:26:08 UTC 2019 - Ayoub Belarbi (abelarbi@suse.com) + +- Update hdb connector to return metadata besides the query + records. + +------------------------------------------------------------------- +Thu May 16 09:35:41 UTC 2019 - Xabier Arbulu Insausti + +- Update SR registration process. Now the methods retries the + registration command until a successful return and copies the + SSFS files from the primary node as well + ------------------------------------------------------------------- Tue Apr 23 11:04:53 UTC 2019 - Xabier Arbulu Insausti -- Remove enum34 dependency from code +- Remove enum34 dependency from code ------------------------------------------------------------------- Wed Mar 6 11:01:10 UTC 2019 - dakechi@suse.com @@ -26,4 +50,4 @@ Thu Feb 25 10:20:10 UTC 2019 - dakechi@suse.com ------------------------------------------------------------------- Thu Dec 20 08:33:10 UTC 2018 - xarbulu@suse.com -- First package version +- First package version diff --git a/python-shaptools.spec b/python-shaptools.spec index 8b0e162..d049b90 100644 --- a/python-shaptools.spec +++ b/python-shaptools.spec @@ -14,23 +14,29 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ +%if 0%{?suse_version} < 1500 +%bcond_with test +%else +%bcond_without test +%endif %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-shaptools -Version: 0.1.0 +Version: 0.2.1 Release: 0 -License: Apache-2.0 Summary: Python tools to interact with SAP HANA utilities -Url: https://github.com/SUSE/shaptools +License: Apache-2.0 Group: Development/Languages/Python +Url: https://github.com/SUSE/shaptools Source: shaptools-%{version}.tar.gz -BuildRequires: python-rpm-macros -BuildRequires: %{python_module devel} +%if %{with test} +BuildRequires: %{python_module mock} +BuildRequires: %{python_module pytest} +%endif BuildRequires: %{python_module setuptools} -BuildRequires: unzip BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildArch: noarch - %python_subpackages %description @@ -45,13 +51,19 @@ API to expose SAP HANA functionalities %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +# do not install tests +%python_expand rm -r %{buildroot}%{$python_sitelib}/tests + +%if %{with test} +%check +%pytest tests +%endif %files %{python_files} -%doc CHANGELOG.md README.md -# %license macro is not availabe on older releases -%if 0%{?sle_version} <= 120300 -%doc LICENSE +%if 0%{?sle_version:1} && 0%{?sle_version} < 120300 +%doc README.md LICENSE %else +%doc README.md %license LICENSE %endif %{python_sitelib}/* diff --git a/shaptools-0.1.0.tar.gz b/shaptools-0.1.0.tar.gz deleted file mode 100644 index ceaf6b2..0000000 --- a/shaptools-0.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fbc0132263baf22de61beba1d1606d1480d634d9e5d1c8d30b29a4f59fb56833 -size 21213 diff --git a/shaptools-0.2.1.tar.gz b/shaptools-0.2.1.tar.gz new file mode 100644 index 0000000..6d370d8 --- /dev/null +++ b/shaptools-0.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4b75f2882a70c18edb032b304cbe371c46b0ecc103a283c75b27db764acfc1f5 +size 28306