diff --git a/license-expression-1.2.tar.gz b/license-expression-1.2.tar.gz deleted file mode 100644 index 6d488de..0000000 --- a/license-expression-1.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7960e1dfdf20d127e75ead931476f2b5c7556df05b117a73880b22ade17d1abc -size 54012 diff --git a/license-expression-30.0.0.tar.gz b/license-expression-30.0.0.tar.gz new file mode 100644 index 0000000..be68b8e --- /dev/null +++ b/license-expression-30.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ad638292aa8493f84354909b517922cb823582c2ce2c4d880e42544a86bea8dd +size 158232 diff --git a/python-license-expression.changes b/python-license-expression.changes index dd0b650..7222bf6 100644 --- a/python-license-expression.changes +++ b/python-license-expression.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Sat Sep 17 05:25:43 UTC 2022 - John Vandenberg + +- Update to v30.0.0 + * Use latest skeleton (and updated configure script) + * Drop using calver + * Improve error checking when combining licenses +- from v21.6.14 + * Switch to calver for package versioning to better convey the + currency of the bundled data. + * Include https://scancode-licensedb.aboutcode.org/ licenses list + with ScanCode (v21.6.7) and SPDX licenses (v3.13) keys. Add new + functions to create Licensing using these licenses as LicenseSymbol. + * Add new License.dedup() method to deduplicate and simplify license + expressions without over simplifying. + * Add new License.validate() method to return a new ExpressionInfo + object with details on a license expression validation. + * Drop support for Python 2. + * Adopt the project skeleton from https://github.com/nexB/skeleton + and its new configure script + ------------------------------------------------------------------- Wed Apr 15 11:55:39 UTC 2020 - pgajdos@suse.com diff --git a/python-license-expression.spec b/python-license-expression.spec index 7950b74..78dfba8 100644 --- a/python-license-expression.spec +++ b/python-license-expression.spec @@ -1,7 +1,7 @@ # # spec file for package python-license-expression # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-license-expression -Version: 1.2 +Version: 30.0.0 Release: 0 Summary: Library to parse, compare, simplify and normalize license expressions License: Apache-2.0 @@ -28,6 +28,7 @@ Source: https://files.pythonhosted.org/packages/source/l/license-express BuildRequires: %{python_module boolean.py >= 3.6} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module setuptools_scm} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-boolean.py >= 3.6 @@ -55,11 +56,11 @@ containment, equivalence and can be normalized or simplified. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest +%pytest tests %files %{python_files} %license apache-2.0.LICENSE NOTICE %doc README.rst -%{python_sitelib}/* +%{python_sitelib}/license[_-]expression* %changelog