Accepting request 534246 from devel:languages:python
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/534246 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-mgmt-containerinstance?expand=0&rev=2
This commit is contained in:
parent
f6090fb8f6
commit
41bae2ef25
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 9 14:43:14 UTC 2017 - adrian.glaubitz@suse.com
|
||||
|
||||
- Remove versioning for namespace packages in Requires
|
||||
- Add namespace packages to BuildRequires
|
||||
- Remove namespace files in %install target
|
||||
- Explicitly specify Python files of the package in %files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 14 14:06:35 UTC 2017 - adrian.glaubitz@suse.com
|
||||
|
||||
|
@ -15,6 +15,7 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-azure-mgmt-containerinstance
|
||||
Version: 0.1.0
|
||||
@ -25,18 +26,18 @@ Group: Development/Languages/Python
|
||||
Url: https://github.com/Azure/azure-sdk-for-python
|
||||
Source: https://files.pythonhosted.org/packages/source/a/azure-mgmt-containerinstance/azure-mgmt-containerinstance-%{version}.zip
|
||||
Source1: LICENSE.txt
|
||||
BuildRequires: %{python_module azure-mgmt-nspkg}
|
||||
BuildRequires: %{python_module azure-nspkg}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: unzip
|
||||
Requires: python-azure-nspkg < 3.0.0
|
||||
Requires: python-azure-nspkg >= 2.0.0
|
||||
Requires: python-azure-mgmt-nspkg < 3.0.0
|
||||
Requires: python-azure-mgmt-nspkg >= 2.0.0
|
||||
Requires: python-msrestazure >= 0.4.11
|
||||
Requires: python-msrestazure < 1.0.0
|
||||
Requires: python-azure-common >= 1.1
|
||||
Requires: python-azure-common < 2.0.0
|
||||
Requires: python-azure-common >= 1.1
|
||||
Requires: python-azure-mgmt-nspkg
|
||||
Requires: python-azure-nspkg
|
||||
Requires: python-msrestazure < 1.0.0
|
||||
Requires: python-msrestazure >= 0.4.11
|
||||
Conflicts: python-azure-sdk <= 2.0.0
|
||||
|
||||
BuildArch: noarch
|
||||
@ -60,14 +61,17 @@ install -m 644 %{SOURCE1} %{_builddir}/azure-mgmt-containerinstance-%{version}
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%{python_expand # delete common files
|
||||
rm -rf %{buildroot}%{$python_sitelib}/azure/mgmt/__init__.*
|
||||
rm -rf %{buildroot}%{$python_sitelib}/azure/mgmt/__pycache__
|
||||
rm -rf %{buildroot}%{$python_sitelib}/azure/__init__.*
|
||||
rm -rf %{buildroot}%{$python_sitelib}/azure/__pycache__
|
||||
}
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE.txt README.rst
|
||||
%exclude %{python2_sitelib}/azure/mgmt/__init__.*py*
|
||||
%exclude %{python3_sitelib}/azure/mgmt/__pycache__/__init__.*py*
|
||||
%exclude %{python2_sitelib}/azure/__init__.*py*
|
||||
%exclude %{python3_sitelib}/azure/__pycache__/__init__.*py*
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/azure/mgmt/containerinstance
|
||||
%{python_sitelib}/azure_mgmt_containerinstance-*.egg-info
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user