Accepting request 34267 from Archiving

Copy from Archiving/zip based on submit request 34267 from user coolo

OBS-URL: https://build.opensuse.org/request/show/34267
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zip?expand=0&rev=8
This commit is contained in:
OBS User autobuild 2010-03-12 16:37:35 +00:00 committed by Git OBS Bridge
commit 73ae43fd7a
3 changed files with 25 additions and 1 deletions

17
zip-notimestamp.patch Normal file
View File

@ -0,0 +1,17 @@
Index: unix/unix.c
===================================================================
--- unix/unix.c.orig
+++ unix/unix.c
@@ -835,11 +835,7 @@ void version_local()
/* Define the compile date string */
-#ifdef __DATE__
-# define COMPILE_DATE " on " __DATE__
-#else
-# define COMPILE_DATE ""
-#endif
+#define COMPILE_DATE ""
printf("Compiled with %s for Unix (%s)%s.\n\n",
COMPILER_NAME, OS_NAME, COMPILE_DATE);

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Mar 6 03:07:03 UTC 2010 - aj@suse.de
- Do not record build time in executable to have reproduceable builds.
-------------------------------------------------------------------
Thu Dec 17 21:00:06 CET 2009 - jengelh@medozas.de

View File

@ -25,7 +25,7 @@ Provides: crzip
Obsoletes: crzip
AutoReqProv: on
Version: 2.32
Release: 77
Release: 78
Summary: File compression program
Url: http://www.info-zip.org/
Source: %name-%version.tar.bz2
@ -33,6 +33,7 @@ Patch1: zip-2.3-tempfile.patch
Patch2: zip-2.3-iso8859_2.patch
Patch3: zip-2.3-nonexec-stack.patch
Patch4: zip-2.3-optflags.patch
Patch5: zip-notimestamp.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -51,6 +52,7 @@ Authors:
%patch2
%patch3
%patch4
%patch5
%build
make %{?jobs:-j%jobs} -f unix/Makefile prefix=/usr CC="gcc $RPM_OPT_FLAGS -DLARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" generic_gcc