From 18c858c4670b2f292fb7bd7f2a61a5ecd9a542b01fb3fb293b144593fe825816 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 19 Mar 2018 14:54:29 +0000 Subject: [PATCH] Accepting request 588638 from home:kukuk:branches:Base:System - Use %license instead of %doc [bsc#1082318] OBS-URL: https://build.opensuse.org/request/show/588638 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=95 --- xz.changes | 5 +++++ xz.spec | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/xz.changes b/xz.changes index 4cc57ce..38384e2 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Mar 19 15:41:58 CET 2018 - kukuk@suse.de + +- Use %license instead of %doc [bsc#1082318] + ------------------------------------------------------------------- Mon Jul 10 10:50:01 UTC 2017 - jengelh@inai.de diff --git a/xz.spec b/xz.spec index 93d147a..5360032 100644 --- a/xz.spec +++ b/xz.spec @@ -1,7 +1,7 @@ # # spec file for package xz # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,7 +22,7 @@ Name: xz Version: 5.2.3 Release: 0 Summary: A Program for Compressing Files with the Lempel–Ziv–Markov algorithm -License: LGPL-2.1+ AND GPL-2.0+ +License: LGPL-2.1-or-later AND GPL-2.0-or-later Group: Productivity/Archiving/Compression Url: http://tukaani.org/xz/ Source0: http://tukaani.org/xz/%{name}-%{version}.tar.gz @@ -115,6 +115,7 @@ find %{buildroot} -type f -name "*.la" -delete -print %find_lang %{name} install -Dpm 0755 %{SOURCE4} %{buildroot}%{_bindir}/xznew install -Dpm 0644 %{SOURCE5} %{buildroot}%{_mandir}/man1/xznew.1 +rm -vf %{buildroot}%{_docdir}/%{name}/{COPYING,COPYING.GPLv2} %post -n liblzma5 -p /sbin/ldconfig %postun -n liblzma5 -p /sbin/ldconfig @@ -126,6 +127,7 @@ install -Dpm 0644 %{SOURCE5} %{buildroot}%{_mandir}/man1/xznew.1 %files %defattr(-, root, root) +%license COPYING COPYING.GPLv2 %{_docdir}/%{name} %{_bindir}/lzcat %{_bindir}/lzcmp