[bash] Create bashbug symlink

Roman Rakus rrakus at fedoraproject.org
Tue Nov 27 13:58:09 UTC 2012


commit 2dd7c33e76a3b6ad0f1fe927191d9021a79de9b3
Author: Roman Rakus <rrakus at redhat.com>
Date:   Tue Nov 27 14:45:52 2012 +0100

    Create bashbug symlink
    
    Signed-off-by: Roman Rakus <rrakus at redhat.com>

 bash.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/bash.spec b/bash.spec
index acc5541..22ac802 100644
--- a/bash.spec
+++ b/bash.spec
@@ -6,7 +6,7 @@
 Version: %{baseversion}%{patchleveltag}
 Name: bash
 Summary: The GNU Bourne Again shell
-Release: 1%{?dist}
+Release: 2%{?dist}
 Group: System Environment/Shells
 License: GPLv3+
 Url: http://www.gnu.org/software/bash
@@ -266,6 +266,7 @@ install -c -m644 %SOURCE3 $RPM_BUILD_ROOT/etc/skel/.bash_logout
 LONG_BIT=$(getconf LONG_BIT)
 mv $RPM_BUILD_ROOT%{_bindir}/bashbug \
    $RPM_BUILD_ROOT%{_bindir}/bashbug-"${LONG_BIT}"
+ln -s bashbug-"${LONG_BIT}" $RPM_BUILD_ROOT%{_bindir}/bashbug
 ln -s bashbug.1 $RPM_BUILD_ROOT/%{_mandir}/man1/bashbug-"$LONG_BIT".1
 
 # Fix missing sh-bangs in example scripts (bug #225609).
@@ -375,7 +376,7 @@ end
 %{_bindir}/wait
 %dir %{pkgdocdir}/
 %doc %{pkgdocdir}/COPYING
-%attr(0755,root,root) %{_bindir}/bashbug-*
+%attr(0755,root,root) %{_bindir}/bashbug*
 %{_infodir}/bash.info*
 %{_mandir}/*/*
 %{_mandir}/*/..1*
@@ -387,6 +388,9 @@ end
 #%doc doc/*.ps doc/*.0 doc/*.html doc/article.txt
 
 %changelog
+* Tue Nov 27 2012 Roman Rakus <rrakus at redhat.com> - 4.2.39-2
+- Create bashbug symlink
+
 * Fri Nov 02 2012 Roman Rakus <rrakus at redhat.com> - 4.2.39-1
 - Patchlevel 39
 


More information about the scm-commits mailing list