diff --git a/_servicedata b/_servicedata index 5ee3955..e02fa17 100644 --- a/_servicedata +++ b/_servicedata @@ -1,6 +1,6 @@ https://github.com/openSUSE/rpm-config-SUSE - a5aa36f0f8d4e1d7228c93bacf7271786de5bd29 + f722dfb1ad78c8a4e348fa187aa7800ad8c4046a \ No newline at end of file diff --git a/rpm-config-SUSE-20220414.tar.zst b/rpm-config-SUSE-20220414.tar.zst deleted file mode 100644 index ecadae8..0000000 --- a/rpm-config-SUSE-20220414.tar.zst +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8f1e7ab54243cd77af2fbcced14ee2c227af09b46a753cca12fe46d85be44112 -size 18433 diff --git a/rpm-config-SUSE-20220421.tar.zst b/rpm-config-SUSE-20220421.tar.zst new file mode 100644 index 0000000..5e896ed --- /dev/null +++ b/rpm-config-SUSE-20220421.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fb15c0d1fd411052e8e30d846d320590f9db21b5ca52ed00298404f0b7045c7a +size 17666 diff --git a/rpm-config-SUSE.changes b/rpm-config-SUSE.changes index 8e68f3c..93f5563 100644 --- a/rpm-config-SUSE.changes +++ b/rpm-config-SUSE.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Apr 21 12:53:35 UTC 2022 - dmueller@suse.com + +- Update to version 20220421: + * Automatically trim opensuse changelogs to the last 3 years + * use zstd for tarball compression + ------------------------------------------------------------------- Thu Apr 14 12:56:30 UTC 2022 - lnussel@suse.de diff --git a/rpm-config-SUSE.spec b/rpm-config-SUSE.spec index 11a59f2..e148a4a 100644 --- a/rpm-config-SUSE.spec +++ b/rpm-config-SUSE.spec @@ -18,7 +18,7 @@ Name: rpm-config-SUSE -Version: 20220414 +Version: 20220421 Release: 0 Summary: SUSE specific RPM configuration files License: GPL-2.0-or-later @@ -58,6 +58,14 @@ sed -e 's/@suse_version@/%{?suse_version}%{!?suse_version:0}/' \ %endif < suse_macros.in > suse_macros +%if 0%{?is_opensuse} +cat < macros.d/macros.opensuse +# trim binary changelogs to include roughly 3 years +# maxnum,cuttime,minnum +%%_binarychangelogtrim 0,$(date -d "Jan 1 UTC 3 years ago" +%s),10 +EOF +%endif + cat < macros.d/macros.sbat # Common SBAT values for secure boot # https://github.com/rhboot/shim/blob/main/SBAT.md