From b24714d56fe977fdcce9b94db6091e411609268a16617f23db22db6f784e8d26 Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Fri, 23 Feb 2018 12:05:36 +0000 Subject: [PATCH] - Use %license instead of %doc [bsc#1082318] OBS-URL: https://build.opensuse.org/package/show/Base:System/issue-generator?expand=0&rev=17 --- issue-generator.changes | 5 +++++ issue-generator.spec | 9 ++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/issue-generator.changes b/issue-generator.changes index c894990..375f609 100644 --- a/issue-generator.changes +++ b/issue-generator.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 23 12:06:27 UTC 2018 - kukuk@suse.com + +- Use %license instead of %doc [bsc#1082318] + ------------------------------------------------------------------- Wed Feb 7 15:52:39 CET 2018 - kukuk@suse.de diff --git a/issue-generator.spec b/issue-generator.spec index eb67300..49f502c 100644 --- a/issue-generator.spec +++ b/issue-generator.spec @@ -20,13 +20,12 @@ Name: issue-generator Version: 1.4 Release: 0 Summary: Generates an issue files from different snippets -License: GPL-2.0+ +License: GPL-2.0-or-later Group: System/Base Url: https://github.com/thkukuk/issue-generator Source: %{name}-%{version}.tar.bz2 BuildRequires: fdupes Requires(post): %fillup_prereq -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description @@ -44,7 +43,7 @@ sed -i -e 's|NETWORK_INTERFACE_REGEX=.*|NETWORK_INTERFACE_REGEX="^[beqich]"|g' u %endif %install -make %{?_smp_mflags} DESTDIR=%{buildroot} install +%make_install ln -sf service %{buildroot}%{_sbindir}/rcissue-generator ln -sf service %{buildroot}%{_sbindir}/rcissue-add-ssh-keys mkdir -p %{buildroot}%{_fillupdir} @@ -66,8 +65,8 @@ install -m 644 udev/sysconfig.issue-generator %{buildroot}%{_fillupdir}/ %service_del_postun issue-generator.service issue-add-ssh-keys.service %files -%defattr(-,root,root) -%doc NEWS COPYING README.md +%license COPYING +%doc NEWS README.md #%ghost %{_sysconfdir}/issue %dir %{_sysconfdir}/issue.d %dir %{_prefix}/lib/issue.d