Import from RDO

Signed-off-by: Lon Hohberger <lhh@redhat.com>
This commit is contained in:
Lon Hohberger 2020-06-17 13:42:29 -04:00
parent ef49201830
commit 1f81a334c4
3 changed files with 18 additions and 4 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/pyghmi-1.0.12.tar.gz
/pyghmi-1.0.22.tar.gz
/pyghmi-1.2.16.tar.gz
/pyghmi-1.5.14.tar.gz

View File

@ -20,9 +20,9 @@ incorporate the pyghmi library into a Python application.
Summary: %{common_summary}
Name: python-%{sname}
Version: %{?version:%{version}}%{!?version:1.2.16}
Release: 4%{?dist}
Source0: http://tarballs.openstack.org/%{sname}/%{sname}-%{version}.tar.gz
Version: %{?version:%{version}}%{!?version:1.5.14}
Release: 2.1%{?dist}
Source0: https://tarballs.opendev.org/x/%{sname}/%{sname}-%{version}.tar.gz
License: ASL 2.0
Prefix: %{_prefix}
BuildArch: noarch
@ -41,6 +41,8 @@ BuildRequires: python2-pbr
BuildRequires: python2-setuptools
Requires: python2-cryptography >= 2.1
Requires: python2-six >= 1.10.0
Requires: python2-dateutil >= 2.6.1
%description -n python2-%{sname}
%{common_desc}
@ -65,6 +67,8 @@ BuildRequires: python3-pbr
BuildRequires: python3-setuptools
Requires: python3-cryptography >= 2.1
Requires: python3-six >= 1.10.0
Requires: python3-dateutil >= 2.6.1
%description -n python3-%{sname}
%{common_desc}
@ -95,6 +99,9 @@ Documentation for the pyghmi library
%prep
%setup -qn %{sname}-%{version}
# CentOS8 don't have dateutil 2.8.1
sed -i 's/python-dateutil.*/python-dateutil>=2.6.1/' requirements.txt
%build
%if 0%{?with_python3}
%py3_build
@ -169,6 +176,12 @@ popd
%doc doc/build/html README.md
%changelog
* Wed May 13 2020 Yatin Karel <ykarel@redhat.com> - 1.5.14-2
- Fix typo in requirements
* Mon May 11 2020 Yatin Karel <ykarel@redhat.com> - 1.5.14-1
- Updated to 1.5.14.
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.16-4
- Rebuilt for Python 3.8.0rc1 (#1748018)

View File

@ -1 +1 @@
088af87a95f800cb7ca07a21778231f1 pyghmi-1.2.16.tar.gz
849bf86d0ade745d1a132252de90e057 pyghmi-1.5.14.tar.gz