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
This commit is contained in:
Adam Majer 2019-06-03 14:00:53 +00:00 committed by Git OBS Bridge
parent 6b234e6773
commit b207fee127
2 changed files with 9 additions and 1 deletions

View File

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

View File

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