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:
commit
fb33a19cbb
@ -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
|
||||
==================
|
||||
|
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user