From 47fed20b1053fb5b9987d4c4343818d9d95136872b1bfbeb5f00f5301d939d4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 3 Jan 2018 16:11:34 +0000 Subject: [PATCH] - 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 --- python-rtslib-fb.changes | 6 ++++++ python-rtslib-fb.spec | 18 +----------------- 2 files changed, 7 insertions(+), 17 deletions(-) diff --git a/python-rtslib-fb.changes b/python-rtslib-fb.changes index fb325a6..821199c 100644 --- a/python-rtslib-fb.changes +++ b/python-rtslib-fb.changes @@ -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 diff --git a/python-rtslib-fb.spec b/python-rtslib-fb.spec index 35625b6..f742c8c 100644 --- a/python-rtslib-fb.spec +++ b/python-rtslib-fb.spec @@ -1,7 +1,7 @@ # # 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 # 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 setuptools} BuildRequires: %{python_module six} -BuildRequires: epydoc BuildRequires: fdupes BuildRequires: python-rpm-macros 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 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 %setup -q -n %{oname}-%{realver} %build %python_build -mkdir -p doc/ -epydoc --no-sourcecode --html -n %{oname} --exclude configobj rtslib_fb/*.py -mv html doc/ %install %python_install @@ -95,7 +82,4 @@ install -d -m755 %{buildroot}/%{dbdir}/alua %dir %{dbdir}/pr %dir %{dbdir}/alua -%files %{python_files doc} -%doc doc/* - %changelog