]> git.pld-linux.org Git - packages/bash.git/commitdiff
- BuildRequires: autoconf
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 11 Oct 2001 12:03:06 +0000 (12:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bash.spec -> 1.82

bash.spec

index 286f0b8aacdc77b4b75a3144311333f32b88679c..9826462cd355c588eddae59147638baad41941c3 100644 (file)
--- a/bash.spec
+++ b/bash.spec
@@ -38,8 +38,9 @@ BuildRequires:        readline-static >= 4.2
 BuildRequires: glibc-static >= 2.2
 %endif
 BuildRequires: bison
-PreReq:                grep
-PreReq:                fileutils
+BuildRequires: autoconf
+Prereq:                grep
+Prereq:                fileutils
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     bash-doc
 Obsoletes:     bash2
@@ -111,8 +112,8 @@ Group:              Applications/Shells
 Group(de):     Applikationen/Shells
 Group(pl):     Aplikacje/Pow³oki
 Requires:      %{name}
-PreReq:                grep
-PreReq:                fileutils
+Prereq:                grep
+Prereq:                fileutils
 
 %description static
 Bash is a GNU project sh-compatible shell or command language
@@ -187,7 +188,7 @@ mv -f $RPM_BUILD_ROOT%{_bindir}/bash $RPM_BUILD_ROOT/bin
 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/bashrc
 echo .so bash.1 > $RPM_BUILD_ROOT%{_mandir}/man1/rbash.1
 
-ln -s -f bash $RPM_BUILD_ROOT/bin/rbash
+ln -sf bash $RPM_BUILD_ROOT/bin/rbash
 
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/skel/.bash_logout
 install %{SOURCE3} $RPM_BUILD_ROOT/etc/skel/.bash_profile
@@ -195,6 +196,9 @@ install %{SOURCE4} $RPM_BUILD_ROOT/etc/skel/.bashrc
 
 gzip -9nf NEWS README doc/{FAQ,INTRO}
 
+%clean
+rm -rf $RPM_BUILD_ROOT
+
 %post
 if [ ! -f /etc/shells ]; then
        echo "/bin/bash" > /etc/shells
@@ -234,9 +238,6 @@ fi
 %postun
 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(644,root,root,755)
 %doc {NEWS,README}.gz doc/{FAQ,INTRO}.gz
This page took 0.270145 seconds and 4 git commands to generate.