[krb5] Keep the license from being a dangling symlink

Nalin Dahyabhai nalin at fedoraproject.org
Mon Sep 8 22:58:06 UTC 2014


commit 67988a74d0f2c290b805496ce7481b82bbaf80f0
Author: Nalin Dahyabhai <nalin at redhat.com>
Date:   Mon Sep 8 18:43:06 2014 -0400

    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.

 krb5.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/krb5.spec b/krb5.spec
index d08f938..264e74c 100644
--- a/krb5.spec
+++ b/krb5.spec
@@ -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 at 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 at 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


More information about the scm-commits mailing list