public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Joel Capitao <jcapitao@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-aodhclient] epel10: Sync from RDO ussuri release from python-aodhclient-2.0.1-1.el8
Date: Sun, 31 May 2026 14:38:30 GMT	[thread overview]
Message-ID: <178023831041.1.6931188502296930695.rpms-python-aodhclient-d0f551c80b87@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-aodhclient
Branch : epel10
Commit : d0f551c80b877abc8d303edddc8f2cba72e8271f
Author : Joel Capitao <jcapitao@redhat.com>
Date   : 2020-06-04T10:10:35+02:00
Stats  : +45/-57 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/python-aodhclient/c/d0f551c80b877abc8d303edddc8f2cba72e8271f?branch=epel10

Log:
Sync from RDO ussuri release from python-aodhclient-2.0.1-1.el8

---
diff --git a/.gitignore b/.gitignore
index 40a69c2..61b3ec8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
 /aodhclient-0.7.0.tar.gz
 /aodhclient-1.2.0.tar.gz
 /aodhclient-1.3.0.tar.gz
+/aodhclient-2.0.1.tar.gz

diff --git a/python-aodhclient.spec b/python-aodhclient.spec
index 4e472ee..b408fff 100644
--- a/python-aodhclient.spec
+++ b/python-aodhclient.spec
@@ -1,14 +1,3 @@
-# Macros for py2/py3 compatibility
-%if 0%{?fedora} || 0%{?rhel} > 7
-%global pyver %{python3_pkgversion}
-%else
-%global pyver 2
-%endif
-%global pyver_bin python%{pyver}
-%global pyver_sitelib %{expand:%{python%{pyver}_sitelib}}
-%global pyver_install %{expand:%{py%{pyver}_install}}
-%global pyver_build %{expand:%{py%{pyver}_build}}
-# End of macros for py2/py3 compatibility
 %global pypi_name aodhclient
 
 %{!?upstream_version: %global upstream_version %{version}%{?milestone}}
@@ -19,57 +8,52 @@ This is a client library for Aodh built on the Aodh API. It \
 provides a Python API (the aodhclient module) and a command-line tool.
 
 Name:             python-aodhclient
-Version:          1.3.0
-Release:          4%{?dist}
+Version:          2.0.1
+Release:          1%{?dist}
 Summary:          Python API and CLI for OpenStack Aodh
 
 License:          ASL 2.0
 URL:              https://launchpad.net/python-aodhclient
 Source0:          https://tarballs.openstack.org/%{name}/%{pypi_name}-%{upstream_version}.tar.gz
-Patch0:           0001-Revert-Add-OSprofiler-support-for-Aodh-client.patch
 
 BuildArch:        noarch
 
 %description
 %{common_desc}
 
-%package -n python%{pyver}-%{pypi_name}
+%package -n python3-%{pypi_name}
 Summary:          Python API and CLI for OpenStack Aodh
-%{?python_provide:%python_provide python%{pyver}-%{pypi_name}}
+%{?python_provide:%python_provide python3-%{pypi_name}}
 
-BuildRequires:    python%{pyver}-setuptools
-BuildRequires:    python%{pyver}-devel
-BuildRequires:    python%{pyver}-pbr
+BuildRequires:    python3-setuptools
+BuildRequires:    python3-devel
+BuildRequires:    python3-pbr
 BuildRequires:    git
 
-Requires:         python%{pyver}-pbr
-Requires:         python%{pyver}-cliff >= 1.14.0
-Requires:         python%{pyver}-oslo-i18n >= 1.5.0
-Requires:         python%{pyver}-oslo-serialization >= 1.4.0
-Requires:         python%{pyver}-oslo-utils >= 2.0.0
-Requires:         python%{pyver}-keystoneauth1 >= 1.0.0
-Requires:         python%{pyver}-six >= 1.9.0
-Requires:         python%{pyver}-osc-lib >= 1.0.1
-# Handle python2 exception
-%if %{pyver} == 2
-Requires:         pyparsing
-%else
-Requires:         python%{pyver}-pyparsing
-%endif
-
-%description -n python%{pyver}-%{pypi_name}
+Requires:         python3-pbr
+Requires:         python3-cliff >= 1.14.0
+Requires:         python3-oslo-i18n >= 1.5.0
+Requires:         python3-oslo-serialization >= 1.4.0
+Requires:         python3-oslo-utils >= 2.0.0
+Requires:         python3-osprofiler >= 1.4.0
+Requires:         python3-keystoneauth1 >= 1.0.0
+Requires:         python3-six >= 1.9.0
+Requires:         python3-osc-lib >= 1.0.1
+Requires:         python3-pyparsing
+
+%description -n python3-%{pypi_name}
 %{common_desc}
 
 %if 0%{?with_doc}
 %package  doc
 Summary:          Documentation for OpenStack Aodh API Client
 
-BuildRequires:    python%{pyver}-sphinx
-BuildRequires:    python%{pyver}-openstackdocstheme
-BuildRequires:    python%{pyver}-keystoneauth1
-BuildRequires:    python%{pyver}-oslo-utils
-BuildRequires:    python%{pyver}-oslo-serialization
-BuildRequires:    python%{pyver}-cliff
+BuildRequires:    python3-sphinx
+BuildRequires:    python3-openstackdocstheme
+BuildRequires:    python3-keystoneauth1
+BuildRequires:    python3-oslo-utils
+BuildRequires:    python3-oslo-serialization
+BuildRequires:    python3-cliff
 
 
 %description doc
@@ -79,11 +63,11 @@ BuildRequires:    python%{pyver}-cliff
 This package contains auto-generated documentation.
 %endif
 
-%package -n python%{pyver}-%{pypi_name}-tests
+%package -n python3-%{pypi_name}-tests
 Summary:          Python API and CLI for OpenStack Aodh Tests
-Requires:         python%{pyver}-%{pypi_name} = %{version}-%{release}
+Requires:         python3-%{pypi_name} = %{version}-%{release}
 
-%description -n python%{pyver}-%{pypi_name}-tests
+%description -n python3-%{pypi_name}-tests
 %{common_desc}
 
 %prep
@@ -94,33 +78,33 @@ rm -f {,test-}requirements.txt
 
 
 %build
-%{pyver_build}
+%{py3_build}
 
 %install
-%{pyver_install}
+%{py3_install}
 
 # Create a versioned binary for backwards compatibility until everything is pure py3
-ln -s aodh %{buildroot}%{_bindir}/aodh-%{pyver}
+ln -s aodh %{buildroot}%{_bindir}/aodh-3
 
 %if 0%{?with_doc}
 export PYTHONPATH=.
-sphinx-build-%{pyver} -b html doc/source doc/build/html
-# remove the sphinx-build-%{pyver} leftovers
+sphinx-build-3 -b html doc/source doc/build/html
+# remove the sphinx-build-3 leftovers
 rm -rf doc/build/html/.{doctrees,buildinfo}
 %endif
 
-%files -n python%{pyver}-%{pypi_name}
+%files -n python3-%{pypi_name}
 %doc README.rst
 %license LICENSE
-%{pyver_sitelib}/aodhclient
-%{pyver_sitelib}/*.egg-info
+%{python3_sitelib}/aodhclient
+%{python3_sitelib}/*.egg-info
 %{_bindir}/aodh
-%{_bindir}/aodh-%{pyver}
-%exclude %{pyver_sitelib}/aodhclient/tests
+%{_bindir}/aodh-3
+%exclude %{python3_sitelib}/aodhclient/tests
 
-%files -n python%{pyver}-%{pypi_name}-tests
+%files -n python3-%{pypi_name}-tests
 %license LICENSE
-%{pyver_sitelib}/aodhclient/tests
+%{python3_sitelib}/aodhclient/tests
 
 %if 0%{?with_doc}
 %files doc
@@ -129,6 +113,9 @@ rm -rf doc/build/html/.{doctrees,buildinfo}
 %endif
 
 %changelog
+* Thu Jun 04 2020 Joel Capitao <jcapitao@redhat.com> 2.0.1-1
+- Update to upstream version 2.0.1
+
 * Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.3.0-4
 - Rebuilt for Python 3.9
 

diff --git a/sources b/sources
index d47a076..fd35908 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (aodhclient-1.3.0.tar.gz) = 609ceb335dd46efb4a54b32dec2988c0ebe505fc3ed19867413b35fc4c59930f3d27279b7afb94175dc865ef0c5ce3a962ae5145e0c1bcb34873f5d667f18a82
+SHA512 (aodhclient-2.0.1.tar.gz) = d3d119bf9630511cade3aa0580d9047e3f2c3a2d32ca5954f99f5c5377dbad5215dddd2042b6074672a62324a5d6baa46400e7371fa4fe7aaf3b3ee541c3b670

                 reply	other threads:[~2026-05-31 14:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178023831041.1.6931188502296930695.rpms-python-aodhclient-d0f551c80b87@fedoraproject.org \
    --to=jcapitao@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox