Browse Source

upgrading package: cpio 2.4.2 -> 2.5

Ralf S. Engelschall 24 years ago
parent
commit
37e5003017
2 changed files with 4 additions and 27 deletions
  1. 0 21
      cpio/cpio.patch
  2. 4 6
      cpio/cpio.spec

+ 0 - 21
cpio/cpio.patch

@@ -1,21 +0,0 @@
---- rmt.c.orig	Tue Feb 27 17:38:30 2001
-+++ rmt.c	Tue Feb 27 17:38:37 2001
-@@ -75,7 +75,6 @@
- char count[SSIZE], mode[SSIZE], pos[SSIZE], op[SSIZE];
- 
- extern errno;
--extern char *sys_errlist[];
- char resp[BUFSIZ];
- 
- FILE *debug;
---- userspec.c.orig	Tue Feb 27 17:38:08 2001
-+++ userspec.c	Tue Feb 27 17:38:13 2001
-@@ -82,8 +82,6 @@
- 
- #define isdigit(c) ((c) >= '0' && (c) <= '9')
- 
--char *strdup ();
--
- /* Return nonzero if STR represents an unsigned decimal integer,
-    otherwise return 0. */
- 

+ 4 - 6
cpio/cpio.spec

@@ -32,17 +32,16 @@ Packager:     The OpenPKG Project
 Distribution: OpenPKG [REL]
 Distribution: OpenPKG [REL]
 Group:        Archiver
 Group:        Archiver
 License:      GPL
 License:      GPL
-Version:      2.4.2
-Release:      20020529
+Version:      2.5
+Release:      20020615
 
 
 #   list of sources
 #   list of sources
 Source0:      ftp://ftp.gnu.org/pub/gnu/cpio/cpio-%{version}.tar.gz
 Source0:      ftp://ftp.gnu.org/pub/gnu/cpio/cpio-%{version}.tar.gz
-Patch0:       cpio.patch
 
 
 #   build information
 #   build information
 Prefix:       %{l_prefix}
 Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
 BuildRoot:    %{l_buildroot}
-BuildPreReq:  OpenPKG, openpkg >= 20020206
+BuildPreReq:  OpenPKG, openpkg >= 20020206, texinfo
 PreReq:       OpenPKG, openpkg >= 20020206
 PreReq:       OpenPKG, openpkg >= 20020206
 AutoReq:      no
 AutoReq:      no
 AutoReqProv:  no
 AutoReqProv:  no
@@ -55,14 +54,13 @@ AutoReqProv:  no
 
 
 %prep
 %prep
     %setup -q
     %setup -q
-    %patch -p0
 
 
 %build
 %build
     CC="%{l_cc}" \
     CC="%{l_cc}" \
     CFLAGS="%{l_cflags -O}" \
     CFLAGS="%{l_cflags -O}" \
     ./configure \
     ./configure \
         --prefix=%{l_prefix}
         --prefix=%{l_prefix}
-    %{l_make} %{l_mflags -O} cpio
+    %{l_make} %{l_mflags -O} cpio cpio.info
 
 
 %install
 %install
     rm -rf $RPM_BUILD_ROOT
     rm -rf $RPM_BUILD_ROOT