2
0
mirror of https://opendev.org/x/pyghmi synced 2025-01-28 11:57:34 +00:00

Merge "Fix minor .spec issues"

This commit is contained in:
Zuul 2018-08-17 12:42:21 +00:00 committed by Gerrit Code Review
commit fb33a19cbb
3 changed files with 5 additions and 8 deletions

0
README.md Executable file → Normal file
View File

View File

@ -11,10 +11,7 @@ Contents:
.. toctree::
:maxdepth: 2
.. automodule:: pyghmi.ipmi.command
.. autoclass:: pyghmi.ipmi.command
:members:
.. autoclass:: pyghmi.ipmi.command.Command
Indices and tables
==================

View File

@ -14,7 +14,7 @@ Name: python-%{sname}
Version: %{?version:%{version}}%{!?version:%(python setup.py --version)}
Release: %{?release:%{release}}%{!?release:1}
Source0: http://tarballs.openstack.org/%{sname}/%{sname}-%{version}.tar.gz
License: Apache License, Version 2.0
License: ASL 2.0
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Prefix: %{_prefix}
@ -33,7 +33,7 @@ BuildRequires: python2-devel
BuildRequires: python2-pbr
BuildRequires: python2-setuptools
Requires: python2-cryptography
Requires: python2-cryptography >= 2.1
%description -n python2-%{sname}
%{common_desc}
@ -55,7 +55,7 @@ BuildRequires: python3-devel
BuildRequires: python3-pbr
BuildRequires: python3-setuptools
Requires: python3-cryptography
Requires: python3-cryptography >= 2.1
%description -n python3-%{sname}
%{common_desc}
@ -78,7 +78,7 @@ BuildRequires: python2-sphinx
Documentation for the pyghmi library
%prep
%setup -n %{sname}-%{version}
%setup -qn %{sname}-%{version}
%build
%if 0%{?with_python3}