From 49e209f91da1d8167e68166ec6233cb9bea78e32 Mon Sep 17 00:00:00 2001 From: Elio Maldonado Date: Tue, 26 Nov 2013 14:15:45 -0800 Subject: [PATCH] Install symlink to setup-nsssysinit.sh, without the ".sh" suffix, that matches the man page documentation --- nss.spec | 4 ++++ 1 file changed, 4 insertions(+) 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