aboutsummaryrefslogtreecommitdiffstats
path: root/build.macros.in
diff options
context:
space:
mode:
Diffstat (limited to 'build.macros.in')
-rw-r--r--build.macros.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/build.macros.in b/build.macros.in
index f34d581..bf4552e 100644
--- a/build.macros.in
+++ b/build.macros.in
@@ -469,3 +469,6 @@ popd
%check %%check \
[ %{_with check} -eq 1 ] || exit 0 \
%{nil}
+
+# Automatically trim changelog entries after 2 years
+%_changelog_trimtime %{lua:print(os.time() - 2 * 365 * 86400)}