diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | build.macros.in | 3 | ||||
-rw-r--r-- | macros.in | 2 |
3 files changed, 5 insertions, 2 deletions
@@ -1,3 +1,5 @@ +- reduce triming changelog from 3 to 2 years + Version 2.34 - 8 September 2018, by Thierry Vignaud - emits requires(posttrans) on info-install 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)} @@ -18,8 +18,6 @@ %_host %{_host_cpu}-%{_real_vendor}-%{_host_os}%{?_gnu} -# 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.xzdio |