forked from pool/python-opencensus-ext-azure
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 1b1968f49e | |||
| c7b01e4fde |
@@ -1,8 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Mon Jun 2 15:01:34 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
|
||||||
|
|
||||||
- Convert to pip-based build
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 6 12:38:45 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
|
Thu Feb 6 12:38:45 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
%define repo_version 0.11.4-1.1.14
|
%define repo_version 0.11.4-1.1.14
|
||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-opencensus-ext-azure
|
Name: python-opencensus-ext-azure
|
||||||
Version: 1.1.14
|
Version: 1.1.14
|
||||||
@@ -32,19 +33,17 @@ Patch1: python313.patch
|
|||||||
BuildRequires: %{python_module azure-core >= 1.12.0}
|
BuildRequires: %{python_module azure-core >= 1.12.0}
|
||||||
BuildRequires: %{python_module azure-identity >= 1.5.0}
|
BuildRequires: %{python_module azure-identity >= 1.5.0}
|
||||||
BuildRequires: %{python_module opencensus >= 0.11.0}
|
BuildRequires: %{python_module opencensus >= 0.11.0}
|
||||||
BuildRequires: %{python_module pip}
|
|
||||||
BuildRequires: %{python_module psutil >= 5.6.3}
|
BuildRequires: %{python_module psutil >= 5.6.3}
|
||||||
BuildRequires: %{python_module requests >= 2.19.0}
|
BuildRequires: %{python_module requests >= 2.19.0}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wheel}
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
BuildArch: noarch
|
||||||
Requires: python-azure-core >= 1.12.0
|
Requires: python-azure-core >= 1.12.0
|
||||||
Requires: python-azure-identity >= 1.5.0
|
Requires: python-azure-identity >= 1.5.0
|
||||||
Requires: python-opencensus >= 0.11.0
|
Requires: python-opencensus >= 0.11.0
|
||||||
Requires: python-psutil >= 5.6.3
|
Requires: python-psutil >= 5.6.3
|
||||||
Requires: python-requests >= 2.19.0
|
Requires: python-requests >= 2.19.0
|
||||||
BuildArch: noarch
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -59,10 +58,10 @@ popd
|
|||||||
touch tests/__init__.py
|
touch tests/__init__.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%pyproject_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
%{python_expand # delete common files
|
%{python_expand # delete common files
|
||||||
rm -rf %{buildroot}%{$python_sitelib}/opencensus/__init__.*
|
rm -rf %{buildroot}%{$python_sitelib}/opencensus/__init__.*
|
||||||
@@ -74,7 +73,7 @@ rm -rf %{buildroot}%{$python_sitelib}/opencensus/ext/__pycache__
|
|||||||
}
|
}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pyunittest -v
|
%python_exec -m unittest discover -v
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc CHANGELOG.md README.rst
|
%doc CHANGELOG.md README.rst
|
||||||
|
|||||||
Reference in New Issue
Block a user