- Use %license instead of %doc [bsc#1082318]

OBS-URL: https://build.opensuse.org/package/show/Base:System/issue-generator?expand=0&rev=17
This commit is contained in:
Thorsten Kukuk 2018-02-23 12:05:36 +00:00 committed by Git OBS Bridge
parent f332861b3f
commit b24714d56f
2 changed files with 9 additions and 5 deletions

View File

@ -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

View File

@ -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