aboutsummaryrefslogtreecommitdiffstats
path: root/macros.in
diff options
context:
space:
mode:
Diffstat (limited to 'macros.in')
-rw-r--r--macros.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/macros.in b/macros.in
index efbfb37..9175dd4 100644
--- a/macros.in
+++ b/macros.in
@@ -19,7 +19,8 @@
%_host %{_host_cpu}-%{_real_vendor}-%{_host_os}%{?_gnu}
-%_changelog_truncate 3 years ago
+# automatic truncation of changelogs to 3 years
+%_changelog_trimtime %{lua:print(os.time() - 3 * 365 * 86400)}
# use LZMA to compress binary packages:
%_binary_payload w5.lzdio