Просмотр исходного кода

polish and bugfix this package

Ralf S. Engelschall 24 лет назад
Родитель
Сommit
e12bf63137
1 измененных файлов с 12 добавлено и 10 удалено
  1. 12 10
      gcc2/gcc2.spec

+ 12 - 10
gcc2/gcc2.spec

@@ -1,7 +1,8 @@
 ##
 ##
 ##  gcc2.spec -- OpenPKG RPM Specification
 ##  gcc2.spec -- OpenPKG RPM Specification
-##  Copyright (c) 2000-2001 Cable & Wireless Deutschland GmbH
-##  Copyright (c) 2000-2001 Ralf S. Engelschall <rse@engelschall.com>
+##  Copyright (c) 2000-2002 Cable & Wireless Deutschland GmbH
+##  Copyright (c) 2000-2002 The OpenPKG Project <http://www.openpkg.org/>
+##  Copyright (c) 2000-2002 Ralf S. Engelschall <rse@engelschall.com>
 ##
 ##
 ##  Permission to use, copy, modify, and distribute this software for
 ##  Permission to use, copy, modify, and distribute this software for
 ##  any purpose with or without fee is hereby granted, provided that
 ##  any purpose with or without fee is hereby granted, provided that
@@ -24,15 +25,15 @@
 
 
 #   package information
 #   package information
 Name:         gcc2
 Name:         gcc2
-Summary:      Old GNU C/C++ Compiler
-Group:        Language
+Summary:      Old GNU C/C++ Compiler (2.95)
 URL:          http://gcc.gnu.org/
 URL:          http://gcc.gnu.org/
 Vendor:       Free Software Foundation
 Vendor:       Free Software Foundation
-Packager:     rse@openpkg.org
+Packager:     The OpenPKG Project
 Distribution: OpenPKG [EXP]
 Distribution: OpenPKG [EXP]
+Group:        Language
 License:      GPL
 License:      GPL
 Version:      2.95.3
 Version:      2.95.3
-Release:      20020206
+Release:      20020311
 
 
 #   list of sources
 #   list of sources
 Source0:      ftp://gcc.gnu.org/pub/gcc/releases/%{version}/gcc-%{version}.tar.bz2
 Source0:      ftp://gcc.gnu.org/pub/gcc/releases/%{version}/gcc-%{version}.tar.bz2
@@ -42,13 +43,15 @@ Patch1:       gcc-2.95.3.patch-freebsd
 #   build information
 #   build information
 Prefix:       %{l_prefix}
 Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
 BuildRoot:    %{l_buildroot}
-BuildPreReq:  OpenPKG, openpkg >= 20020206.0.0, make
-PreReq:       OpenPKG, openpkg >= 20020206.0.0
+BuildPreReq:  OpenPKG, openpkg >= 20020206, make
+PreReq:       OpenPKG, openpkg >= 20020206
 AutoReq:      no
 AutoReq:      no
 AutoReqProv:  no
 AutoReqProv:  no
 
 
 %description
 %description
     The GNU Compiler Collection (GCC) provides C and C++ compilers.
     The GNU Compiler Collection (GCC) provides C and C++ compilers.
+    This is an old version of GCC. Do not use it unless you have a good
+    reason.
 
 
 %prep
 %prep
     %setup -q -n gcc-%{version}
     %setup -q -n gcc-%{version}
@@ -159,10 +162,9 @@ AutoReqProv:  no
 
 
     #   create file list
     #   create file list
     %{l_rpmtool} files -v -o$RPM_BUILD_DIR/gcc-%{version}/files -r$RPM_BUILD_ROOT %{l_files_std}
     %{l_rpmtool} files -v -o$RPM_BUILD_DIR/gcc-%{version}/files -r$RPM_BUILD_ROOT %{l_files_std}
-    exit 0
 
 
 %files -f files
 %files -f files
 
 
 %clean
 %clean
-    # rm -rf $RPM_BUILD_ROOT
+    rm -rf $RPM_BUILD_ROOT