Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make package release dates reproducible #667

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

innir
Copy link
Contributor

@innir innir commented Feb 18, 2024

Using string(TIMESTAMP ...) respects SOURCE_DATE_EPOCH since CMake 3.8, which makes it possible to fix the date used as release date in AppStream metadata and Fedora packaging.

I didn"t change the PACKAGE_RFC_DATE as %z was anlyadded in CMake 3.26 and I didn"t want to raise the required CMake version. Might be an option to just remove the in-tree Debian packaging finally?

Using `string(TIMESTAMP ...)` respects `SOURCE_DATE_EPOCH` since CMake 3.8, which makes it possible to fix the date used as release date in AppStream metadata and Fedora packaging.
@manisandro manisandro merged commit deabedb into manisandro:master Feb 20, 2024
@manisandro
Copy link
Owner

Thanks - I guess the in-tree distro packaging can also be removed if there is a downside keeping it. Indeed also for Fedora and OpenSuse the specs are managed separately in the respective build environments.

@bmwiedemann
Copy link

coming from openSUSE: For .spec files, it does not hurt, if they are also in git / tar. It can even help in packaging when updates require changes to the .spec file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants