Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:FactoryCandidates
rocksdb
rocksdb-8.0.0-reproducible.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rocksdb-8.0.0-reproducible.patch of Package rocksdb
Index: rocksdb-9.7.3/Makefile =================================================================== --- rocksdb-9.7.3.orig/Makefile +++ rocksdb-9.7.3/Makefile @@ -816,9 +816,12 @@ ROCKSDB_PATCH = $(shell grep -E "ROCKSDB # the file needs to already exist or else the build will fail ifndef NO_UPDATE_BUILD_VERSION -# By default, use the current date-time as the date. If there are no changes, -# we will use the last commit date instead. -build_date := $(shell date "+%Y-%m-%d %T") +DATE_FMT = %Y-%m-%d +ifdef SOURCE_DATE_EPOCH + build_date ?= $(shell date -u -d "@$(SOURCE_DATE_EPOCH)" "+$(DATE_FMT)" 2>/dev/null || date -u -r "$(SOURCE_DATE_EPOCH)" "+$(DATE_FMT)" 2>/dev/null || date -u "+$(DATE_FMT)") +else + build_date ?= $(shell date "+$(DATE_FMT)") +endif ifdef FORCE_GIT_SHA git_sha := $(FORCE_GIT_SHA)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor