File HandBrake-no-builddate.patch of Package handbrake
--- make/configure.py.orig 2021-07-19 10:50:19.658064229 +0200
+++ make/configure.py 2021-07-19 10:50:19.690063654 +0200
@@ -989,7 +989,7 @@
url_ctype = '_unstable'
url_ntype = 'unstable'
- self.build = time.strftime('%Y%m%d', now) + '01'
+ self.build = '@BUILD@' + '01'
self.title = '%s %s (%s)' % (self.name,self.version,self.build)
else:
m = re.match('^([a-zA-Z]+)\.([0-9]+)$', self.suffix)
@@ -1008,7 +1008,7 @@
url_ctype = '_unstable'
url_ntype = 'unstable'
- self.build = time.strftime('%Y%m%d', now) + '00'
+ self.build = '@BUILD@' + '00'
self.title = '%s %s (%s)' % (self.name,self.version,self.build)
self.url_appcast = 'https://handbrake.fr/appcast%s%s.xml' % (url_ctype,url_arch)
@@ -1950,7 +1950,6 @@
## create document object
doc = ConfigDocument()
- doc.addComment( 'generated by configure on %s', time.strftime( '%c' ))
## add configure line for reconfigure purposes
doc.addBlank()
@@ -2007,7 +2006,6 @@
doc.add( 'BUILD.title', '%s %s' % (build_tuple.systemf,arch.mode.default) )
doc.add( 'BUILD.ncpu', core.count )
doc.add( 'BUILD.jobs', core.jobs )
- doc.add( 'BUILD.date', time.strftime('%c', now) ),
doc.addBlank()
doc.add( 'HOST.spec', host_tuple.spec )