Am 29.06.2016 um 17:59 schrieb Olaf Hering:
On Wed, Jun 29, Stephan Kulow wrote:
Having an explicit export in the source rpm sounds like a good idea, but I don't really want to touch that script rewriting the specs :)
Where is that script? I think there is also code to redo some of the BuildRequires: strings.
Oh, that script is a joy to read :) https://github.com/openSUSE/obs-build/blob/master/substitutedeps
Will such a change automatically be used for building released products? There are many packages doing a manual 'date -r %{name}.changes', or grep the first timestamp out of that file in creative ways. I think having SOURCE_DATE_EPOCH available in each spec file would give us the chance to remove such code.
The build script is universal for the OBS - so if you change it, it will be in all distributions including maintenance. Greetings, Stephan -- Ma muaß weiterkämpfen, kämpfen bis zum Umfalln, a wenn die ganze Welt an Arsch offen hat, oder grad deswegn.