## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: python-opentelemetry-resource-detector-azure Version: 0.1.5 Release: %autorelease Summary: OpenTelemetry Resource detectors for Azure License: Apache-2.0 URL: https://pypi.org/project/opentelemetry-resource-detector-azure Source: %{pypi_source opentelemetry_resource_detector_azure} BuildArch: noarch BuildRequires: python3-devel BuildRequires: %{py3_dist pytest} %global common_description %{expand: This library contains OpenTelemetry Resource Detectors for the following Azure resources: • Azure App Service • Azure Virtual Machines} %description %{common_description} %package -n python3-opentelemetry-resource-detector-azure Summary: %{summary} %description -n python3-opentelemetry-resource-detector-azure %{common_description} %prep %autosetup -n opentelemetry_resource_detector_azure-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install # The opentelemetry and opentelemetry/sdk directies are shared # namespace package directories; they are co-owned with other opentelemetry # packages, including subpackages of python-opentelemetry and/or # python-opentelemetry-contrib. See RHBZ#1935266. %pyproject_save_files -l opentelemetry %check %pytest -v %files -n python3-opentelemetry-resource-detector-azure -f %{pyproject_files} %doc README.rst %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 0.1.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Jul 03 2024 Benjamin A. Beasley - 0.1.5-3 - Stop skipping tests that now work * Sun Jun 09 2024 Python Maint - 0.1.5-2 - Rebuilt for Python 3.13 * Fri May 17 2024 Benjamin A. Beasley - 0.1.5-1 - Update to 0.1.5 (close RHBZ#2280897) * Fri Apr 05 2024 Benjamin A. Beasley - 0.1.4-1 - Update to 0.1.4 (close RHBZ#2273723) * Wed Feb 21 2024 Benjamin A. Beasley - 0.1.3-1 - Initial package (separate from python-opentelemetry-contrib); close RHBZ#2263742 ## END: Generated by rpmautospec