mirror of
https://github.com/jordansissel/fpm
synced 2025-07-28 08:54:27 +02:00
* Add option --source-date-epoch-default and implement for deb output. This is the first step towards supporting bit-for-bit identical output files given identical inputs. Alas, Apple's ar is not too good at reading gnu ar archives, so always use ar_cmd to find ar. * deb: remove lines duplicated in a tragic merge conflict Probably introduced by 62d0060178 and not removed by 500f0c052fb52 * Add options --source-date-epoch-from-changelog and --gem-stagingdir to support bit-for-bit reproducible gem -> deb conversion In those cases where we can get the release date out of the changelog, use it; otherwise fall back to the value given by SOURCE_DATE_EPOCH aka --source-date-epoch-default. --gem-stagingdir is a bit of a kludge, only needed because no compiler supports https://reproducible-builds.org/specs/build-path-prefix-map/ yet. Could have been global option, but not sure any other package handler invokes compilers? Could hoist it up later. Also: - Defer initializing staging_path so subclasses can sneak in new value - gem: remove build files * gem: handle a few more gem changelog variants * gem: also remove mkmf.log; lets ffi, kgio, raindrops, and ruby-ldap build reproducibly. * deb: don't expect diffoscope to be installed in /usr/bin. Lets it be found on mac. * gem: document new options
6 lines
325 B
Plaintext
6 lines
325 B
Plaintext
<%= name %> (<%= "#{epoch}:" if epoch %><%= version %><%= "-" + iteration.to_s if iteration %>) whatever; urgency=medium
|
|
|
|
* Package created with FPM.
|
|
|
|
-- <%= maintainer %> <%= (if attributes[:source_date_epoch].nil? then Time.now() else Time.at(attributes[:source_date_epoch].to_i) end).strftime("%a, %d %b %Y %T %z") %>
|