Summary: | Add SOURCE_DATE_EPOCH support | ||
---|---|---|---|
Product: | Sisyphus | Reporter: | Dmitry V. Levin <ldv> |
Component: | hasher | Assignee: | Dmitry V. Levin <ldv> |
Status: | CLOSED FIXED | QA Contact: | qa-sisyphus |
Severity: | enhancement | ||
Priority: | P3 | CC: | at, glebfm, ldv, placeholder, vseleznv |
Version: | unstable | ||
Hardware: | all | ||
OS: | Linux | ||
Bug Depends on: | |||
Bug Blocks: | 34214, 34105 |
Description
Dmitry V. Levin
2017-11-16 06:51:42 MSK
Alternatively, hasher should forward SOURCE_DATE_EPOCH environment variable to rpmbuild. I'm going to implement the following change: * when building from pkg.tar, use specfile mtime as SOURCE_DATE_EPOCH; * when building from src.rpm, use buildtime as SOURCE_DATE_EPOCH. hasher-1.3.30-alt1 -> sisyphus: Mon Nov 20 2017 Dmitry V. Levin <ldv@altlinux> 1.3.30-alt1 - hsh-rebuild, hsh-sh-rebuild-functions: implemented $SOURCE_DATE_EPOCH support (closes: #34202): + when building from pkg.tar, use specfile mtime as SOURCE_DATE_EPOCH; + when building from src.rpm, use buildtime as SOURCE_DATE_EPOCH. |