Hello community,
here is the log from the commit of package python-azure-storage-common for openSUSE:Factory checked in at 2019-05-14 13:40:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-azure-storage-common (Old)
and /work/SRC/openSUSE:Factory/.python-azure-storage-common.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-azure-storage-common"
Tue May 14 13:40:54 2019 rev:3 rq:699396 version:1.4.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-azure-storage-common/python-azure-storage-common.changes 2019-03-05 12:26:30.832831851 +0100
+++ /work/SRC/openSUSE:Factory/.python-azure-storage-common.new.5148/python-azure-storage-common.changes 2019-05-14 13:40:56.296331629 +0200
@@ -2 +2 @@
-Mon Feb 25 10:59:30 UTC 2019 - John Vandenberg
+Mon Apr 15 09:56:47 UTC 2019 - John Paul Adrian Glaubitz
@@ -4,6 +4,13 @@
-- Obtain LICENSE.txt from sdist
-- Add build dependency azure-common >= 1.1.5 to prevent building
- and publishing into an repository which doesnt have that, as tests
- do not exist to block incompatible builds
-- Remove unnecessary build dependency on python-devel and unzip
-- Update to v1.4.0
+- New upstream release
+ + Version 1.4.0
+- Add patch to drop extras_require field from setup.py,
+ required for SLES12 as the setuptools version is too old
+ + asc_drop-extras-require.patch
+- Bump minimum version for namespace packages
+ to 3.0.0 in BuildRequires and Requires
+- Remove python-devel package from BuildRequires
+- Remove unzip package from BuildRequires
+- Run fdupes to hardlink duplicate files
+ + Add fdupes to BuildRequires
+ + Add %fdupes invocation to %install
+- Update BuildRequires and Requires from setup.py
New:
----
LICENSE.txt
asc_drop-extras-require.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-azure-storage-common.spec ++++++
--- /var/tmp/diff_new_pack.LvCK8o/_old 2019-05-14 13:40:56.808332692 +0200
+++ /var/tmp/diff_new_pack.LvCK8o/_new 2019-05-14 13:40:56.808332692 +0200
@@ -25,14 +25,16 @@
Group: Development/Languages/Python
Url: https://github.com/Azure/azure-sdk-for-python
Source: https://files.pythonhosted.org/packages/source/a/azure-storage-common/azure-storage-common-%{version}.tar.gz
-BuildRequires: %{python_module azure-common >= 1.1.5}
-BuildRequires: %{python_module azure-nspkg}
-BuildRequires: %{python_module azure-storage-nspkg}
+Source1: LICENSE.txt
+Patch1: asc_drop-extras-require.patch
+BuildRequires: %{python_module azure-nspkg >= 3.0.0}
+BuildRequires: %{python_module azure-storage-nspkg >= 3.0.0}
BuildRequires: %{python_module setuptools}
+BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-azure-common >= 1.1.5
-Requires: python-azure-nspkg
-Requires: python-azure-storage-nspkg
+Requires: python-azure-nspkg >= 3.0.0
+Requires: python-azure-storage-nspkg >= 3.0.0
Requires: python-cryptography
Requires: python-python-dateutil
Requires: python-requests
@@ -51,12 +53,15 @@
%prep
%setup -q -n azure-storage-common-%{version}
+%patch1 -p1
%build
+install -m 644 %{SOURCE1} %{_builddir}/azure-storage-common-%{version}
%python_build
%install
%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
%{python_expand # delete common files
rm -rf %{buildroot}%{$python_sitelib}/azure/storage/__init__.*
rm -rf %{buildroot}%{$python_sitelib}/azure/storage/__pycache__
@@ -64,10 +69,8 @@
rm -rf %{buildroot}%{$python_sitelib}/azure/__pycache__
}
-# no tests readily available
-# https://github.com/Azure/azure-sdk-for-python/issues/4412
-
%files %{python_files}
+%defattr(-,root,root,-)
%doc README.rst
%license LICENSE.txt
%{python_sitelib}/azure/storage/common
++++++ LICENSE.txt ++++++
The MIT License (MIT)
Copyright (c) 2016 Microsoft Corporation. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
++++++ asc_drop-extras-require.patch ++++++
diff -Nru azure-storage-common-1.4.0.orig/setup.py azure-storage-common-1.4.0/setup.py
--- azure-storage-common-1.4.0.orig/setup.py 2018-11-10 00:24:52.000000000 +0100
+++ azure-storage-common-1.4.0/setup.py 2019-04-15 11:36:53.190409751 +0200
@@ -76,7 +76,4 @@
'python-dateutil',
'requests',
],
- extras_require={
- ":python_version<'3.0'": ['azure-storage-nspkg'],
- }
)