From 5e0f1dab3cb95400f6d44150901add76c0ef4e7e Mon Sep 17 00:00:00 2001 From: Ilya Etingof Date: Fri, 17 Aug 2018 11:08:56 +0200 Subject: [PATCH] Fix minor .spec issues Also require python-cryptography >= 2.1 in the .spec Change-Id: Id72bde418a1c9ff9d69ae6d6d37733c3557c0ecd --- README.md | 0 doc/source/index.rst | 5 +---- python-pyghmi.spec | 8 ++++---- 3 files changed, 5 insertions(+), 8 deletions(-) mode change 100755 => 100644 README.md diff --git a/README.md b/README.md old mode 100755 new mode 100644 diff --git a/doc/source/index.rst b/doc/source/index.rst index ab4bac9c..83091d56 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -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 ================== diff --git a/python-pyghmi.spec b/python-pyghmi.spec index 62c8feef..24d144c7 100644 --- a/python-pyghmi.spec +++ b/python-pyghmi.spec @@ -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}