| |
@@ -358,7 +358,7 @@
|
| |
%__global_compiler_flags %{_general_options} %{_warning_options} %{_preprocessor_defines} %{_hardened_cflags} %{_annotation_cflags} %{_legacy_options}
|
| |
|
| |
# Automatically trim changelog entries after 2 years
|
| |
- %_changelog_trimtime %{lua:print(os.time() - 2 * 365 * 86400)}
|
| |
+ %_changelog_trimage %{expr:2*365*24*60*60}
|
| |
|
| |
#==============================================================================
|
| |
# ---- Generic auto req/prov filtering macros
|
| |
_changelog_trimtime is deprecated in favor of _changelog_trimage.
Furthermore, _changelog_trimage is relative to the newest entry
instead of the build time - which helps with package reproducibility.
Details:
- https://github.com/rpm-software-management/rpm/commit/a587258
- https://bugzilla.redhat.com/1722806