forked from pool/rpmlint
Accepting request 576938 from home:coolo:branches:openSUSE:Factory
- Allow some deprecated licenses that we would replace on commit (SPDX 2->SPDX 3 conversion) OBS-URL: https://build.opensuse.org/request/show/576938 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=566
This commit is contained in:
parent
f3e40f9a67
commit
27e0f946b3
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 15 09:35:51 UTC 2018 - coolo@suse.com
|
||||
|
||||
- Allow some deprecated licenses that we would replace on commit
|
||||
(SPDX 2->SPDX 3 conversion)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 08 13:52:13 UTC 2018 - opensuse-packaging@opensuse.org
|
||||
|
||||
|
@ -142,6 +142,10 @@ cp %{SOURCE12} licenses.config
|
||||
cut '-d ' -f1 %{_prefix}/lib/obs/service/format_spec_file.files/licenses_changes.txt | tail -n +2 | sort -u | while read l; do
|
||||
sed -i -e "s/\(#VALIDLICENSES\)/\1\n '$l',/" licenses.config
|
||||
done
|
||||
# add some deprecated licenses we allow for now
|
||||
for l in AGPL-3.0 GFDL-1.1 GFDL-1.2 GFDL-1.3 GPL-1.0+ GPL-1.0 GPL-2.0+ GPL-2.0 GPL-3.0+ GPL-3.0 LGPL-2.0 LGPL-2.0+ LGPL-2.1+ LGPL-2.1 LGPL-3.0+ LGPL-3.0; do
|
||||
sed -i -e "s/\(#VALIDLICENSES\)/\1\n '$l',/" licenses.config
|
||||
done
|
||||
install -m 644 licenses.config %{buildroot}/%{_sysconfdir}/rpmlint/
|
||||
|
||||
%check
|
||||
|
Loading…
Reference in New Issue
Block a user