From c78032a75366325bab0e07ab56561a91393c7128f664e465ca303b9e2cc34a54 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 14:02:03 +0000 Subject: [PATCH 1/3] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-seqdiag?expand=0&rev=4 --- python-seqdiag.changes | 5 +++++ python-seqdiag.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python-seqdiag.changes b/python-seqdiag.changes index 6056b05..7522779 100644 --- a/python-seqdiag.changes +++ b/python-seqdiag.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:54:09 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Sun Oct 8 16:02:56 UTC 2017 - arun@gmx.de diff --git a/python-seqdiag.spec b/python-seqdiag.spec index f1563aa..2de1118 100644 --- a/python-seqdiag.spec +++ b/python-seqdiag.spec @@ -1,7 +1,7 @@ # # spec file for package python-seqdiag # -# 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 @@ -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/ # @@ -26,7 +26,6 @@ Group: Development/Languages/Python Url: http://blockdiag.com/ Source: https://pypi.python.org/packages/source/s/seqdiag/seqdiag-%{version}.tar.gz BuildRequires: %{python_module blockdiag >= 1.5.0} -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros Requires: python-blockdiag >= 1.5.0 From 7b038ab935127628c0737c4e8355cb82b2668c56d80f75349c0a942457c8b42b Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:22:21 +0000 Subject: [PATCH 2/3] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-seqdiag?expand=0&rev=5 --- python-seqdiag.spec | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/python-seqdiag.spec b/python-seqdiag.spec index 2de1118..d9c4f27 100644 --- a/python-seqdiag.spec +++ b/python-seqdiag.spec @@ -17,25 +17,24 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%if 0%{?suse_version} && 0%{?suse_version} <= 1110 +%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%else +BuildArch: noarch +%endif Name: python-seqdiag Version: 0.9.5 Release: 0 Summary: Generates sequence-diagram image from text License: Apache-2.0 Group: Development/Languages/Python -Url: http://blockdiag.com/ -Source: https://pypi.python.org/packages/source/s/seqdiag/seqdiag-%{version}.tar.gz +URL: http://blockdiag.com/ +Source: https://files.pythonhosted.org/packages/source/s/seqdiag/seqdiag-%{version}.tar.gz BuildRequires: %{python_module blockdiag >= 1.5.0} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros Requires: python-blockdiag >= 1.5.0 Requires: python-setuptools -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else -BuildArch: noarch -%endif %python_subpackages %description @@ -54,8 +53,8 @@ BuildArch: noarch %python_install %files %{python_files} -%defattr(-,root,root,-) -%doc CHANGES.rst LICENSE README.rst +%license LICENSE +%doc CHANGES.rst README.rst %python3_only %{_bindir}/seqdiag %{python_sitelib}/* From 9dcab63c7482100d917f3c3feb0f3a51cc1d47c917268aeedd20d26191ad8663 Mon Sep 17 00:00:00 2001 From: Todd R Date: Wed, 19 Dec 2018 03:56:03 +0000 Subject: [PATCH 3/3] Accepting request 659782 from home:jengelh:branches:devel:languages:python - Use noun phrase in summary. Fixup grammar issues. OBS-URL: https://build.opensuse.org/request/show/659782 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-seqdiag?expand=0&rev=6 --- python-seqdiag.changes | 5 +++++ python-seqdiag.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/python-seqdiag.changes b/python-seqdiag.changes index 7522779..85aa8b9 100644 --- a/python-seqdiag.changes +++ b/python-seqdiag.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 18 23:37:49 UTC 2018 - Jan Engelhardt + +- Use noun phrase in summary. Fixup grammar issues. + ------------------------------------------------------------------- Tue Dec 4 12:54:09 UTC 2018 - Matej Cepl diff --git a/python-seqdiag.spec b/python-seqdiag.spec index d9c4f27..252dc9c 100644 --- a/python-seqdiag.spec +++ b/python-seqdiag.spec @@ -25,7 +25,7 @@ BuildArch: noarch Name: python-seqdiag Version: 0.9.5 Release: 0 -Summary: Generates sequence-diagram image from text +Summary: Python module to generate sequence-diagram images from text License: Apache-2.0 Group: Development/Languages/Python URL: http://blockdiag.com/ @@ -38,10 +38,10 @@ Requires: python-setuptools %python_subpackages %description -`seqdiag` generate sequence-diagram image file from spec-text file. +`seqdiag` generates sequence-diagram image files from spec-text files. * Generate sequence-diagram from dot like text (basic feature). -* Multilingualization for node-label (utf-8 only). +* Multilingualization for node-label (UTF-8 only). %prep %setup -q -n seqdiag-%{version}