Merge from rhos-14.0-rhel-7
This commit is contained in:
parent
ca06d0df92
commit
25a4fbd617
2
.gitignore
vendored
2
.gitignore
vendored
@ -0,0 +1,2 @@
|
||||
/pyghmi-1.0.12.tar.gz
|
||||
/pyghmi-1.0.22.tar.gz
|
88
python-pyghmi.spec
Normal file
88
python-pyghmi.spec
Normal file
@ -0,0 +1,88 @@
|
||||
%global sname pyghmi
|
||||
|
||||
Name: python-%{sname}
|
||||
Version: 1.0.22
|
||||
Release: 1%{?dist}
|
||||
Provides: python2-pyghmi = %{version}-%{release}
|
||||
Summary: Python General Hardware Management Initiative (IPMI and others)
|
||||
|
||||
License: ASL 2.0
|
||||
URL: https://github.com/stackforge/pyghmi
|
||||
Source0: http://tarballs.openstack.org/%{sname}/%{sname}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: python-pbr
|
||||
|
||||
Requires: python-crypto >= 2.6
|
||||
%global _description\
|
||||
This is a pure python implementation of the IPMI protocol.\
|
||||
|
||||
|
||||
%description %_description
|
||||
|
||||
%description -n python-%{sname} %_description
|
||||
|
||||
%prep
|
||||
%setup -q -n %{sname}-%{version}
|
||||
|
||||
# Remove bundled egg-info
|
||||
rm -rf %{sname}.egg-info
|
||||
|
||||
# Remove the requirements file so that pbr hooks don't add it
|
||||
# to distutils requires_dist config
|
||||
rm -rf {test-,}requirements.txt
|
||||
|
||||
|
||||
%build
|
||||
%{__python2} setup.py build
|
||||
|
||||
|
||||
%install
|
||||
%{__python2} setup.py install --skip-build --root %{buildroot}
|
||||
|
||||
|
||||
%files -n python-%{sname}
|
||||
%doc README LICENSE
|
||||
%{python2_sitelib}/pyghmi
|
||||
%{python2_sitelib}/*.egg-info
|
||||
%{_bindir}/pyghmicons
|
||||
%{_bindir}/pyghmiutil
|
||||
%{_bindir}/virshbmc
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Oct 5 2017 Haïkel Guémar <hguemar@fedoraproject.org> - 1.0.22-1
|
||||
- Upstream 1.0.22
|
||||
|
||||
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.0.12-4
|
||||
- Python 2 binary package renamed to python2-pyghmi
|
||||
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.12-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.12-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Mon Nov 07 2016 Lucas Alvares Gomes <lucasagomes@gmail.com> - 1.0.12-1
|
||||
- Rebased to 1.0.12
|
||||
|
||||
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.0-3
|
||||
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Fri Sep 25 2015 Lucas Alvares Gomes <lucasagomes@gmail.com> - 0.8.0-1
|
||||
- Rebased to 0.8.0
|
||||
|
||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.9-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.9-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Thu Feb 20 2014 Lucas Alvares Gomes <lucasagomes@gmail.com> - 0.5.9-1
|
||||
- Initial package.
|
Loading…
Reference in New Issue
Block a user