Skip to content

Better support reproducible builds #156

@s-t-e-v-e-n-k

Description

@s-t-e-v-e-n-k

We are currently bad at reproducible builds, since we run install, then run fdupes, and that results in inconsistent timestamps in the pyc files versus the filesystem timestamp. My evil idea:

  1. Change %python_install and %pyproject_install to set the no bytecode enrvironment variable when calling install.
  2. Call fdupes inside the macro
  3. Then compile all pyc files

This should support existing spec files since calling fdupes a second time should result in no changes, and we can drop them when we get around to them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions