Keep the license from being a dangling symlink

Processing of %license puts the named file in a directory other than the
docs directory, and doesn't rewrite relative symlinks to be correct.  So
we can't use a symlink to one of them as the license.
This commit is contained in:
Nalin Dahyabhai 2014-09-08 18:43:06 -04:00
parent 56cd96f9bd
commit 67988a74d0

View File

@ -42,7 +42,7 @@
Summary: The Kerberos network authentication system
Name: krb5
Version: 1.13
Release: 0%{?dist}.alpha1.2
Release: 0%{?dist}.alpha1.3
# Maybe we should explode from the now-available-to-everybody tarball instead?
# http://web.mit.edu/kerberos/dist/krb5/1.13/krb5-1.13-alpha1-signed.tar
Source0: krb5-%{version}%{prerelease}.tar.gz
@ -285,7 +285,7 @@ certificate.
%prep
%setup -q -n %{name}-%{version}%{prerelease} -a 3 -a 100 -a 102
ln -s NOTICE LICENSE
ln NOTICE LICENSE
%patch60 -p1 -b .pam
@ -973,6 +973,9 @@ exit 0
%{_sbindir}/uuserver
%changelog
* Mon Sep 8 2014 Nalin Dahyabhai <nalin@redhat.com> - 1.13-0.alpha1.3
- fix the problem where the %%license file has been a dangling symlink
* Tue Aug 26 2014 Nalin Dahyabhai <nalin@redhat.com> - 1.13-0.alpha1.2
- kpropd hasn't bothered with -S since 1.11; stop trying to use that flag
in the systemd unit file