- incorporate the next peckage review comment

This commit is contained in:
Ivana Varekova 2007-02-07 08:48:28 +00:00
parent c870bf9500
commit 45f52551c8
2 changed files with 17 additions and 1 deletions

11
zip-2.31-time.patch Normal file
View File

@ -0,0 +1,11 @@
--- zip-2.31/unix/Makefile.time 2007-02-07 09:36:30.000000000 +0100
+++ zip-2.31/unix/Makefile 2007-02-07 09:38:42.000000000 +0100
@@ -24,7 +24,7 @@
EXE =
# probably can change this to 'install' if you have it
-INSTALL_PROGRAM = cp
+INSTALL_PROGRAM = cp -p
# probably can change this to 'install -d' if you have it
# XXX NextStep 3.3 and Openstep 4.x don't know about -p !
INSTALL_D = mkdir -p

View File

@ -1,7 +1,7 @@
Summary: A file compression and packaging utility compatible with PKZIP Summary: A file compression and packaging utility compatible with PKZIP
Name: zip Name: zip
Version: 2.31 Version: 2.31
Release: 2%{?dist} Release: 3%{?dist}
License: BSD License: BSD
Group: Applications/Archiving Group: Applications/Archiving
Source: http://ftp.info-zip.org/pub/infozip/src/zip231.tar.gz Source: http://ftp.info-zip.org/pub/infozip/src/zip231.tar.gz
@ -14,6 +14,7 @@ Patch5: zip-2.3-currdir.patch
Patch6: zip-2.31-install.patch Patch6: zip-2.31-install.patch
Patch7: zip-2.31-near-4GB.patch Patch7: zip-2.31-near-4GB.patch
Patch8: zip-2.31-configure.patch Patch8: zip-2.31-configure.patch
Patch9: zip-2.31-time.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description %description
@ -34,6 +35,7 @@ program.
%patch6 -p1 -b .install %patch6 -p1 -b .install
%patch7 -p1 -b .4gb %patch7 -p1 -b .4gb
%patch8 -p1 -b .lhh %patch8 -p1 -b .lhh
%patch9 -p1 -b .time
%build %build
make -f unix/Makefile prefix=%{_prefix} "CFLAGS=$RPM_OPT_FLAGS -I. -DUNIX -D_LARGEFILE64_SOURCE" generic_gcc %{?_smp_mflags} make -f unix/Makefile prefix=%{_prefix} "CFLAGS=$RPM_OPT_FLAGS -I. -DUNIX -D_LARGEFILE64_SOURCE" generic_gcc %{?_smp_mflags}
@ -66,6 +68,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man1/zip.1* %{_mandir}/man1/zip.1*
%changelog %changelog
* Wed Feb 7 2007 Ivana Varekova <varekova@redhat.com> - 2.31-3
- incorporate the next peckage review comment
* Tue Feb 6 2007 Ivana Varekova <varekova@redhat.com> - 2.31-2 * Tue Feb 6 2007 Ivana Varekova <varekova@redhat.com> - 2.31-2
- incorporate the package review - incorporate the package review