From b207fee1278d823a311d32ed1035afc7f1a177a2e50f7f499d56a9418532b4cb Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Mon, 3 Jun 2019 14:00:53 +0000 Subject: [PATCH] Backport from SLE license install changes - install license as %license instead of documentation OBS-URL: https://build.opensuse.org/package/show/network/freeradius-server?expand=0&rev=124 --- freeradius-server.changes | 5 +++++ freeradius-server.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/freeradius-server.changes b/freeradius-server.changes index 799c80e..e3050ba 100644 --- a/freeradius-server.changes +++ b/freeradius-server.changes @@ -160,6 +160,11 @@ BUG FIXES * Fix rare occurance of bad xlat expansion. * Check for rare race condition when a proxy reply arrives too late. +------------------------------------------------------------------- +Wed Jul 4 14:54:50 UTC 2018 - adam.majer@suse.de + +- install license as %license instead of documentation + ------------------------------------------------------------------- Tue Jun 26 18:24:21 UTC 2018 - michael@stroeder.com diff --git a/freeradius-server.spec b/freeradius-server.spec index c61801a..4b6402f 100644 --- a/freeradius-server.spec +++ b/freeradius-server.spec @@ -387,11 +387,13 @@ systemd-tmpfiles --create %{_tmpfilesdir}/%{unitname}.conf %files doc %defattr(-,root,root) %doc doc/* +%license LICENSE COPYRIGHT %files %defattr(-,root,root) # doc -%doc COPYRIGHT CREDITS LICENSE doc/ChangeLog +%doc CREDITS doc/ChangeLog +%license LICENSE COPYRIGHT # SUSE %config %{_sysconfdir}/pam.d/radiusd %config %{_sysconfdir}/logrotate.d/radiusd @@ -702,6 +704,7 @@ systemd-tmpfiles --create %{_tmpfilesdir}/%{unitname}.conf %files libs %defattr(-,root,root) +%license LICENSE COPYRIGHT # RADIUS shared libs %attr(755,root,root) %dir %{_libdir}/freeradius %attr(755,root,root) %{_libdir}/freeradius/lib*.so*