public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Alfredo Moralejo <amoralej@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-barbicanclient] epel10.2: Update to Stein release
Date: Sun, 30 Aug 2026 14:21:28 GMT	[thread overview]
Message-ID: <178809968817.1.15871271564202895531.rpms-python-barbicanclient-84b1ee64c6d2@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-barbicanclient
Branch : epel10.2
Commit : 84b1ee64c6d271c392cbc93377d7e39ad164f812
Author : Alfredo Moralejo <amoralej@redhat.com>
Date   : 2019-05-13T11:16:38+02:00
Stats  : +33/-27 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/python-barbicanclient/c/84b1ee64c6d271c392cbc93377d7e39ad164f812?branch=epel10.2

Log:
Update to Stein release

---
diff --git a/.gitignore b/.gitignore
index 4db5064..3d9545f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
 /python-barbicanclient-4.0.0.tar.gz
 /python-barbicanclient-4.1.0.tar.gz
 /python-barbicanclient-4.6.0.tar.gz
+/python-barbicanclient-4.8.1.tar.gz

diff --git a/python-barbicanclient.spec b/python-barbicanclient.spec
index 66e4803..80759c9 100644
--- a/python-barbicanclient.spec
+++ b/python-barbicanclient.spec
@@ -1,5 +1,19 @@
+# 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 %python%{pyver}_sitelib
+%global pyver_install %py%{pyver}_install
+%global pyver_build %py%{pyver}_build
+# End of macros for py2/py3 compatibility
 %{!?upstream_version: %global upstream_version %{version}%{?milestone}}
 
+
+%global with_doc 1
+
 %global sname barbicanclient
 
 %global common_desc \
@@ -8,8 +22,8 @@ Python library for accessing the API (barbicanclient module), and \
 a command-line script (barbican).
 
 Name:           python-barbicanclient
-Version:        4.6.0
-Release:        3%{?dist}
+Version:        4.8.1
+Release:        1%{?dist}
 Summary:        Client Library for OpenStack Barbican Key Management API
 
 License:        ASL 2.0
@@ -18,48 +32,40 @@ Source0:        https://tarballs.openstack.org/%{name}/%{name}-%{upstream_versio
 
 BuildArch:      noarch
 
-
+BuildRequires:  git
 %description
 %{common_desc}
 
-
 %package -n python3-%{sname}
 Summary:        Client Library for OpenStack Barbican Key Management API
+%{?python_provide:%python_provide python3-%{sname}}
 
 BuildRequires:  python3-devel
 BuildRequires:  python3-pbr
 BuildRequires:  python3-setuptools
-BuildRequires:  git-core
-
 Requires:       python3-requests
 Requires:       python3-six >= 1.10.0
-Requires:       python3-cliff
 Requires:       python3-oslo-i18n >= 3.15.3
 Requires:       python3-oslo-serialization >= 2.18.0
 Requires:       python3-oslo-utils >= 3.33.0
 Requires:       python3-prettytable
-Requires:       python3-keystoneauth1 >= 3.3.0
+Requires:       python3-keystoneauth1 >= 3.4.0
 Requires:       python3-pbr >= 2.0.0
-
-%{?python_provide:%python_provide python3-%{sname}}
+Requires:       python3-cliff
 
 %description -n python3-%{sname}
 %{common_desc}
 
-
+%if 0%{?with_doc}
 %package doc
 Summary: Documentation for OpenStack Barbican API client
 
 BuildRequires:  python3-sphinx
 BuildRequires:  python3-openstackdocstheme
-BuildRequires:  python3-oslo-utils
-BuildRequires:  python3-sphinx
-BuildRequires:  dos2unix
-BuildRequires:  python3-oslo-i18n
-BuildRequires:  python3-prettytable
 
 %description doc
 Documentation for the barbicanclient module
+%endif
 
 %prep
 %autosetup -n %{name}-%{upstream_version} -S git
@@ -71,35 +77,34 @@ rm -rf {test-,}requirements.txt
 %build
 %py3_build
 
+%if 0%{?with_doc}
 # doc
 %{__python3} setup.py build_sphinx -b html
 # Fix hidden-file-or-dir warnings
 rm -fr doc/build/html/.buildinfo
-dos2unix doc/build/html/_static/jquery.js
+%endif
 
 %install
 %py3_install
+mv %{buildroot}%{_bindir}/barbican %{buildroot}%{_bindir}/barbican-3
 
+ln -s ./barbican-3 %{buildroot}%{_bindir}/barbican
 
 %files -n python3-%{sname}
 %license LICENSE
 %doc AUTHORS CONTRIBUTING.rst README.rst PKG-INFO ChangeLog
+%{_bindir}/barbican-3
 %{_bindir}/barbican
 %{python3_sitelib}/barbicanclient
 %{python3_sitelib}/python_barbicanclient-%{upstream_version}-py?.?.egg-info
 
+%if 0%{?with_doc}
 %files doc
 %doc doc/build/html
 %license LICENSE
+%endif
 
 %changelog
-* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.6.0-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
-
-* Wed Nov 07 2018 Miro Hrončok <mhroncok@redhat.com> - 4.6.0-2
-- Subpackage python2-barbicanclient has been removed
-  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
-
-* Sat Feb 10 2018 RDO <dev@lists.rdoproject.org> 4.6.0-1
-- Update to 4.6.0
+* Tue Mar 12 2019 RDO <dev@lists.rdoproject.org> 4.8.1-1
+- Update to 4.8.1
 

diff --git a/sources b/sources
index c5d0af8..39bc368 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (python-barbicanclient-4.6.0.tar.gz) = c114dc4b706eda9ea3efc961e1c30471f64e90f6e0b39271a5670e4e086e3e9dd26afcaa5fd3695187c60c30878bb75d10526d10a809f71e0310a2c05268695a
+SHA512 (python-barbicanclient-4.8.1.tar.gz) = 836b54156e72faf7ec590d6f11ccc2ca61258da38368410fb65f448b8a0e0ea272d224f46f5c6f08afc7477197a090be77720e07e3a4cb60ef71982367dbfcdb

                 reply	other threads:[~2026-08-30 14:21 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=178809968817.1.15871271564202895531.rpms-python-barbicanclient-84b1ee64c6d2@fedoraproject.org \
    --to=amoralej@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