- Update to version 20220421:

* Automatically trim opensuse changelogs to the last 3 years
  * use zstd for tarball compression

OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm-config-SUSE?expand=0&rev=57
This commit is contained in:
Dirk Mueller 2022-04-21 12:54:00 +00:00 committed by Git OBS Bridge
parent aafac0c1ee
commit 85913db199
5 changed files with 20 additions and 5 deletions

View File

@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/openSUSE/rpm-config-SUSE</param>
<param name="changesrevision">a5aa36f0f8d4e1d7228c93bacf7271786de5bd29</param>
<param name="changesrevision">f722dfb1ad78c8a4e348fa187aa7800ad8c4046a</param>
</service>
</servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8f1e7ab54243cd77af2fbcced14ee2c227af09b46a753cca12fe46d85be44112
size 18433

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fb15c0d1fd411052e8e30d846d320590f9db21b5ca52ed00298404f0b7045c7a
size 17666

View File

@ -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

View File

@ -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 <<EOF > 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 <<EOF > macros.d/macros.sbat
# Common SBAT values for secure boot
# https://github.com/rhboot/shim/blob/main/SBAT.md