- Drop the epydoc dependency/documentation generating from the package
to allow building in py3 only enviroment OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=26
This commit is contained in:
parent
e0a7ec0bea
commit
47fed20b10
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 3 16:13:57 UTC 2018 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Drop the epydoc dependency/documentation generating from the package
|
||||||
|
to allow building in py3 only enviroment
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Dec 10 21:14:08 UTC 2017 - lduncan@suse.com
|
Sun Dec 10 21:14:08 UTC 2017 - lduncan@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-rtslib-fb
|
# spec file for package python-rtslib-fb
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -32,7 +32,6 @@ BuildRequires: %{python_module devel}
|
|||||||
BuildRequires: %{python_module pyudev}
|
BuildRequires: %{python_module pyudev}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module six}
|
BuildRequires: %{python_module six}
|
||||||
BuildRequires: epydoc
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-pyudev
|
Requires: python-pyudev
|
||||||
@ -47,23 +46,11 @@ rtslib-fb is an object-based Python library for configuring the LIO generic
|
|||||||
SCSI target, present in 3.x Linux kernel versions. rtslib-fb is licensed under
|
SCSI target, present in 3.x Linux kernel versions. rtslib-fb is licensed under
|
||||||
the Apache 2.0 license. Contributions are welcome
|
the Apache 2.0 license. Contributions are welcome
|
||||||
|
|
||||||
%package doc
|
|
||||||
Summary: Documentatoin for Python rtslib-fb
|
|
||||||
Group: Documentation/HTML
|
|
||||||
|
|
||||||
%description doc
|
|
||||||
rtslib-fb is an object-based Python library for configuring the LIO generic
|
|
||||||
SCSI target, present in 3.x Linux kernel versions. rtslib-fb is licensed under
|
|
||||||
the Apache 2.0 license. Contributions are welcome
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{oname}-%{realver}
|
%setup -q -n %{oname}-%{realver}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
mkdir -p doc/
|
|
||||||
epydoc --no-sourcecode --html -n %{oname} --exclude configobj rtslib_fb/*.py
|
|
||||||
mv html doc/
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
@ -95,7 +82,4 @@ install -d -m755 %{buildroot}/%{dbdir}/alua
|
|||||||
%dir %{dbdir}/pr
|
%dir %{dbdir}/pr
|
||||||
%dir %{dbdir}/alua
|
%dir %{dbdir}/alua
|
||||||
|
|
||||||
%files %{python_files doc}
|
|
||||||
%doc doc/*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user