From 31efd2a02ebc74cba7e502ef69dbfdb828f3fd5c0492aacded24318efc544237 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 9 Sep 2019 15:24:48 +0000 Subject: [PATCH] - Format with spec-cleaner OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-license-expression?expand=0&rev=2 --- python-license-expression.changes | 5 +++++ python-license-expression.spec | 15 +++++++-------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/python-license-expression.changes b/python-license-expression.changes index d321e3f..0d8493d 100644 --- a/python-license-expression.changes +++ b/python-license-expression.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Sep 9 15:24:31 UTC 2019 - Tomáš Chvátal + +- Format with spec-cleaner + ------------------------------------------------------------------- Thu Sep 5 13:23:12 UTC 2019 - Carmen Bianca Bakker diff --git a/python-license-expression.spec b/python-license-expression.spec index 1c8e317..3adca60 100644 --- a/python-license-expression.spec +++ b/python-license-expression.spec @@ -12,26 +12,26 @@ # 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/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-license-expression Version: 0.999 Release: 0 -License: Apache-2.0 Summary: Library to parse, compare, simplify and normalize license expressions -Url: https://github.com/nexB/license-expression +License: Apache-2.0 Group: Development/Languages/Python +URL: https://github.com/nexB/license-expression Source: https://files.pythonhosted.org/packages/source/l/license-expression/license-expression-%{version}.tar.gz -BuildRequires: python-rpm-macros -BuildRequires: %{python_module setuptools} BuildRequires: %{python_module boolean.py >= 3.6} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-boolean.py >= 3.6 BuildArch: noarch - %python_subpackages %description @@ -44,7 +44,6 @@ conventions and license identifiers aliases to resolve and normalize licenses. Using boolean logic, license expressions can be tested for equality, containment, equivalence and can be normalized or simplified. - %prep %setup -q -n license-expression-%{version} @@ -56,7 +55,7 @@ containment, equivalence and can be normalized or simplified. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%{pytest} +%pytest %files %{python_files} %license apache-2.0.LICENSE NOTICE