Licensing fixes

- the license tag
 - the LICENSE files

See https://github.com/thoth-station/micropipenv/commit/b61217fb

Before:

    $ rpm -qvlp micropipenv-0.2.0-1.fc33.noarch.rpm | grep LICENSE
    lrwxrwxrwx 1 root root    12 Jun 4 09:22 /usr/share/licenses/micropipenv/LICENSE -> LICENSE-LGPL

    $ rpmlint ./micropipenv-0.2.0-1.fc33.noarch.rpm
    micropipenv.noarch: W: dangling-relative-symlink /usr/share/licenses/micropipenv/LICENSE LICENSE-LGPL

After:

    $ rpm -qvlp .micropipenv-0.2.0-2.fc33.noarch.rpm | grep LICENSE
    lrwxrwxrwx 1 root root    12 Jun 4 09:22 /usr/share/licenses/micropipenv/LICENSE -> LICENSE-LGPL
    -rw-r--r-- 1 root root 35149 Jun 4 09:22 /usr/share/licenses/micropipenv/LICENSE-GPL
    -rw-r--r-- 1 root root  7652 Jun 4 09:22 /usr/share/licenses/micropipenv/LICENSE-LGPL
This commit is contained in:
Miro Hrončok 2020-06-05 10:08:07 +02:00
parent a4d7b9a945
commit 6b1a38a731

View File

@ -1,9 +1,9 @@
Name: micropipenv
Version: 0.2.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: A simple wrapper around pip to support Pipenv and Poetry files
License: GPLv3+
License: LGPLv3+
URL: https://github.com/thoth-station/%{name}
Source0: %{url}/archive/v%{version}.tar.gz
BuildArch: noarch
@ -44,12 +44,16 @@ sed -i '1{\@^#!/usr/bin/env python@d}' %{name}.py
%files
%doc README.rst
%license LICENSE
%license LICENSE*
%{_bindir}/micropipenv
%pycached %{python3_sitelib}/%{name}.py
%{python3_sitelib}/%{name}-%{version}-py*.egg-info/
%changelog
* Fri Jun 05 2020 Miro Hrončok <mhroncok@redhat.com> - 0.2.0-2
- Correct the license tag (GPLv3+ to LGPLv3+)
- Include the actual LICENSE files in the package
* Thu Jun 04 2020 Lumír Balhar <lbalhar@redhat.com> - 0.2.0-1
- Update to 0.2.0 (#1838278, #1841641)