17
0
Tomáš Chvátal
2019-09-09 15:24:48 +00:00
committed by Git OBS Bridge
parent 3a2db59f33
commit 31efd2a02e
2 changed files with 12 additions and 8 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Sep 9 15:24:31 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Format with spec-cleaner
-------------------------------------------------------------------
Thu Sep 5 13:23:12 UTC 2019 - Carmen Bianca Bakker <carmen@carmenbianca.eu>

View File

@@ -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