Import python-pyghmi-1.5.19-1.el8 from CBS

This commit is contained in:
Lon Hohberger 2021-03-30 09:44:01 -04:00
parent 1f81a334c4
commit c3fa48d0f1
3 changed files with 23 additions and 5 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
/pyghmi-1.0.22.tar.gz /pyghmi-1.0.22.tar.gz
/pyghmi-1.2.16.tar.gz /pyghmi-1.2.16.tar.gz
/pyghmi-1.5.14.tar.gz /pyghmi-1.5.14.tar.gz
/pyghmi-1.5.19.tar.gz

View File

@ -20,8 +20,8 @@ incorporate the pyghmi library into a Python application.
Summary: %{common_summary} Summary: %{common_summary}
Name: python-%{sname} Name: python-%{sname}
Version: %{?version:%{version}}%{!?version:1.5.14} Version: %{?version:%{version}}%{!?version:1.5.19}
Release: 2.1%{?dist} Release: 1%{?dist}
Source0: https://tarballs.opendev.org/x/%{sname}/%{sname}-%{version}.tar.gz Source0: https://tarballs.opendev.org/x/%{sname}/%{sname}-%{version}.tar.gz
License: ASL 2.0 License: ASL 2.0
Prefix: %{_prefix} Prefix: %{_prefix}
@ -36,6 +36,7 @@ Url: https://git.openstack.org/cgit/openstack/pyghmi
Summary: %{common_summary} Summary: %{common_summary}
%{?python_provide:%python_provide python2-%{sname}} %{?python_provide:%python_provide python2-%{sname}}
BuildRequires: openstack-macros
BuildRequires: python2-devel BuildRequires: python2-devel
BuildRequires: python2-pbr BuildRequires: python2-pbr
BuildRequires: python2-setuptools BuildRequires: python2-setuptools
@ -98,8 +99,9 @@ Documentation for the pyghmi library
%prep %prep
%setup -qn %{sname}-%{version} %setup -qn %{sname}-%{version}
# NOTE(dtantsur): pyghmi is actual fine with older dateutil, 2.8.1 is missing
# CentOS8 don't have dateutil 2.8.1 # from both Fedora and CentOS currently. See
# https://bugzilla.redhat.com/show_bug.cgi?id=1835084
sed -i 's/python-dateutil.*/python-dateutil>=2.6.1/' requirements.txt sed -i 's/python-dateutil.*/python-dateutil>=2.6.1/' requirements.txt
%build %build
@ -176,6 +178,21 @@ popd
%doc doc/build/html README.md %doc doc/build/html README.md
%changelog %changelog
* Fri Nov 06 2020 Joel Capitao <jcapitao@redhat.com> - 1.5.19-1
- Updated to 1.5.19.
* Sun Aug 30 2020 Dmitry Tantsur <divius.inside@gmail.com> - 1.5.16-1
- Updated to 1.5.16.
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.14-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue May 26 2020 Dmitry Tantsur <divius.inside@gmail.com> - 1.5.14-4
- Relax dateutil requirement in requirement.txt as well (#1835084)
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.5.14-3
- Rebuilt for Python 3.9
* Wed May 13 2020 Yatin Karel <ykarel@redhat.com> - 1.5.14-2 * Wed May 13 2020 Yatin Karel <ykarel@redhat.com> - 1.5.14-2
- Fix typo in requirements - Fix typo in requirements

View File

@ -1 +1 @@
849bf86d0ade745d1a132252de90e057 pyghmi-1.5.14.tar.gz SHA512 (pyghmi-1.5.19.tar.gz) = 2d94f3abcae9a45b08e40ab779e0f8f2434e3eea260772dc49007deb8382cc7dc75b10c91f952c26e220d7f937c2d3d8d663a0dc54337d3e2a59c6bfe6929f72