Accepting request 34193 from home:a_jaeger:branches:openSUSE:Factory

Copy from home:a_jaeger:branches:openSUSE:Factory/zip via accept of submit request 34193 revision 2.
Request was accepted with message:
Reviewed ok

OBS-URL: https://build.opensuse.org/request/show/34193
OBS-URL: https://build.opensuse.org/package/show/Archiving/zip?expand=0&rev=7
This commit is contained in:
Stephan Kulow 2010-03-08 09:28:21 +00:00 committed by Git OBS Bridge
parent e7ae9896bf
commit cf24d26896
3 changed files with 24 additions and 0 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 Thu Dec 17 21:00:06 CET 2009 - jengelh@medozas.de

View File

@ -33,6 +33,7 @@ Patch1: zip-2.3-tempfile.patch
Patch2: zip-2.3-iso8859_2.patch Patch2: zip-2.3-iso8859_2.patch
Patch3: zip-2.3-nonexec-stack.patch Patch3: zip-2.3-nonexec-stack.patch
Patch4: zip-2.3-optflags.patch Patch4: zip-2.3-optflags.patch
Patch5: zip-notimestamp.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -51,6 +52,7 @@ Authors:
%patch2 %patch2
%patch3 %patch3
%patch4 %patch4
%patch5
%build %build
make %{?jobs:-j%jobs} -f unix/Makefile prefix=/usr CC="gcc $RPM_OPT_FLAGS -DLARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" generic_gcc make %{?jobs:-j%jobs} -f unix/Makefile prefix=/usr CC="gcc $RPM_OPT_FLAGS -DLARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" generic_gcc