ソースを参照

fix URLs, add official patches, etc.

Ralf S. Engelschall 23 年 前
コミット
a64ec86e06
1 ファイル変更15 行追加3 行削除
  1. 15 3
      bash/bash.spec

+ 15 - 3
bash/bash.spec

@@ -23,6 +23,10 @@
 ##  SUCH DAMAGE.
 ##
 
+#   package version
+%define       V_real 2.05b
+%define       V_comp 205b
+
 #   package information
 Name:         bash
 Summary:      Bourne-Again Shell
@@ -32,12 +36,16 @@ Packager:     The OpenPKG Project
 Distribution: OpenPKG [CORE]
 Group:        Shell
 License:      GPL
-Version:      2.05b
-Release:      20020809
+Version:      %{V_real}
+Release:      20020913
 
 #   list of sources
-Source0:      ftp://ftp.cwru.edu/pub/bash/bash-%{version}.tar.gz
+Source0:      ftp://ftp.cwru.edu/pub/bash/bash-%{V_real}.tar.gz
 Source1:      profile
+Patch0:       ftp://ftp.cwru.edu/pub/bash/bash-%{V_real}-patches/bash%{V_comp}-001
+Patch1:       ftp://ftp.cwru.edu/pub/bash/bash-%{V_real}-patches/bash%{V_comp}-002
+Patch2:       ftp://ftp.cwru.edu/pub/bash/bash-%{V_real}-patches/bash%{V_comp}-003
+Patch3:       ftp://ftp.cwru.edu/pub/bash/bash-%{V_real}-patches/bash%{V_comp}-004
 
 #   build information
 Prefix:       %{l_prefix}
@@ -56,6 +64,10 @@ AutoReqProv:  no
 
 %prep
     %setup -q
+    %patch0 -p0
+    %patch1 -p0
+    %patch2 -p0
+    %patch3 -p0
 
 %build
     CC="%{l_cc}" \