[nss] Install symlink to setup-nsssysinit.sh, without the ".sh" suffix, that matches the man page document

Elio Maldonado emaldonado at fedoraproject.org
Tue Nov 26 22:16:22 UTC 2013


commit 49e209f91da1d8167e68166ec6233cb9bea78e32
Author: Elio Maldonado <emaldona at redhat.com>
Date:   Tue Nov 26 14:15:45 2013 -0800

    Install symlink to setup-nsssysinit.sh, without the ".sh" suffix, that matches the man page documentation

 nss.spec |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/nss.spec b/nss.spec
index f213ae4..d3fc86c 100644
--- a/nss.spec
+++ b/nss.spec
@@ -528,6 +528,10 @@ done
 %{__install} -p -m 755 ./dist/pkgconfig/nss-config $RPM_BUILD_ROOT/%{_bindir}/nss-config
 # Copy the pkcs #11 configuration script
 %{__install} -p -m 755 ./dist/pkgconfig/setup-nsssysinit.sh $RPM_BUILD_ROOT/%{_bindir}/setup-nsssysinit.sh
+# install a symbolic link to it, without the ".sh" suffix,
+# that matches the man page documentation
+ln -r -s -f $RPM_BUILD_ROOT/%{_bindir}/setup-nsssysinit.sh $RPM_BUILD_ROOT/%{_bindir}/setup-nsssysinit
+
 # Copy the man pages for scripts
 for f in nss-config setup-nsssysinit; do 
    install -c -m 644 ${f}.1 $RPM_BUILD_ROOT%{_mandir}/man1/${f}.1


More information about the scm-commits mailing list