Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:Rebuild
hardinfo
hardinfo-0.5.1-reproducible.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File hardinfo-0.5.1-reproducible.patch of Package hardinfo
From: Chris Lamb <lamby debian.org> Subject: Make the build reproducible Date: 2016-08-03 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=833379 --- a/configure 2016-08-03 12:09:24.359183765 -0400 --- b/configure 2016-08-03 12:13:50.725579223 -0400 @@ -186,9 +186,15 @@ echo "#define $ARCH" >> config.h echo "#define ARCH \"$ARCH\"" >> config.h -echo "#define PLATFORM \"`uname`\"" >> config.h -echo "#define KERNEL \"`uname -r`\"" >> config.h -echo "#define HOSTNAME \"`hostname`\"" >> config.h +if [ "$SOURCE_DATE_EPOCH" = "" ]; then + echo "#define PLATFORM \"`uname`\"" >> config.h + echo "#define KERNEL \"`uname -r`\"" >> config.h + echo "#define HOSTNAME \"`hostname`\"" >> config.h +else + echo "#define PLATFORM \"-\"" >> config.h + echo "#define KERNEL \"-\"" >> config.h + echo "#define HOSTNAME \"-\"" >> config.h +fi echo "#define PREFIX \"/usr/share/hardinfo/\"" >> config.h echo "#define LIBPREFIX \"/usr/lib/hardinfo/\"" >> config.h
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