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:
commit
73ae43fd7a
17
zip-notimestamp.patch
Normal file
17
zip-notimestamp.patch
Normal 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);
|
@ -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
|
||||
|
||||
|
4
zip.spec
4
zip.spec
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user