From 1659af0c0726a7a2149c98c2b7f723867f3077be9ba32646e6ef98db148c2473 Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Tue, 8 Jan 2019 04:35:19 +0000 Subject: [PATCH 1/2] Accepting request 663463 from home:jbrownell:branches:devel:languages:python Enable building for Red Hat platforms OBS-URL: https://build.opensuse.org/request/show/663463 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-actdiag?expand=0&rev=7 --- python-actdiag.spec | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/python-actdiag.spec b/python-actdiag.spec index a127cff..ad7d188 100644 --- a/python-actdiag.spec +++ b/python-actdiag.spec @@ -1,7 +1,7 @@ # # spec file for package python-actdiag # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -23,17 +23,24 @@ Release: 0 Summary: Text to activity-diagram image generator License: Apache-2.0 Group: Development/Languages/Python -URL: http://blockdiag.com/ +Url: http://blockdiag.com/ Source: https://files.pythonhosted.org/packages/source/a/actdiag/actdiag-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-blockdiag >= 1.5.0 Requires: python-setuptools +%if 0%{?rhel} || 0%{?fedora} +Requires: python-docutils +Requires: python-nose +Requires: python-pep8 >= 1.3 +Requires: python-reportlab +%else Suggests: python-docutils Suggests: python-nose Suggests: python-pep8 >= 1.3 Suggests: python-reportlab +%endif BuildArch: noarch %python_subpackages From 72211a68648c4fd791e363b663cc0f4af23afb6ab4366e470a04488c3b51c59a Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Tue, 8 Jan 2019 04:46:24 +0000 Subject: [PATCH 2/2] - Use Requires instead of Suggests for RHEL/Fedora systems OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-actdiag?expand=0&rev=8 --- python-actdiag.changes | 5 +++++ python-actdiag.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-actdiag.changes b/python-actdiag.changes index 12d30ee..fa54325 100644 --- a/python-actdiag.changes +++ b/python-actdiag.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 8 04:43:59 UTC 2019 - Thomas Bechtold + +- Use Requires instead of Suggests for RHEL/Fedora systems + ------------------------------------------------------------------- Wed Dec 5 01:51:27 UTC 2018 - Jan Engelhardt diff --git a/python-actdiag.spec b/python-actdiag.spec index ad7d188..b863fc6 100644 --- a/python-actdiag.spec +++ b/python-actdiag.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ #