Fix minor .spec issues

Also require python-cryptography >= 2.1 in the .spec

Change-Id: Id72bde418a1c9ff9d69ae6d6d37733c3557c0ecd
This commit is contained in:
Ilya Etingof 2018-08-17 11:08:56 +02:00
parent fb44c47d40
commit 5e0f1dab3c
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}