Hello,
a package I maintain in OBS added a new feature to enable reproducible
builds:
https://github.com/AntiMicroX/antimicrox/pull/143
"By default, the date and time of the build are embedded into the
binary as sort of origin/version/etc. marker. This is not, however,
reproducible. This patch makes it so that packagers can define a
pręprocessor macro, ANTIMICROX_PKG_VERSION, to a C string which is then
used instead; if this macro is not defined nothing changes."
For example: "-DANTIMICROX_PKG_VERSION=\"'3.1.4-1 (Debian sid/amd64)'\""
How can I do this in the same way in OBS (add buildversion and
distribution version) via spec file?
Thank you,
Carsten
--
Anyone who thinks UNIX is intuitive should be forced to write 5000
lines of code using nothing but vi or emacs. AAAAACK!
-- Discussion on the intuitiveness of commands, especially Emacs