From 1282fd76b675142d0161d47ecded12ade15ccbab47187dbd2f999c0358e0e37c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Schr=C3=B6der?= Date: Tue, 2 Oct 2018 20:31:49 +0000 Subject: [PATCH] update to rpm git OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=483 --- dwz-compression.patch | 6 +++--- python-rpm.spec | 2 +- rpm.spec | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dwz-compression.patch b/dwz-compression.patch index 6929b5a..b3ebbd9 100644 --- a/dwz-compression.patch +++ b/dwz-compression.patch @@ -6,7 +6,7 @@ index 73275a11c..3dc438ce5 100755 && [ -d "${RPM_BUILD_ROOT}/usr/lib/debug" ]; then readarray dwz_files < <(cd "${RPM_BUILD_ROOT}/usr/lib/debug"; find -type f -name \*.debug | LC_ALL=C sort) if [ ${#dwz_files[@]} -gt 0 ]; then -+ size_before=$(du -sb ${RPM_BUILD_ROOT}/usr/lib/debug | cut -f1) ++ size_before=$(du -sk ${RPM_BUILD_ROOT}/usr/lib/debug | cut -f1) dwz_multifile_name="${RPM_PACKAGE_NAME}-${RPM_PACKAGE_VERSION}-${RPM_PACKAGE_RELEASE}.${RPM_ARCH}" dwz_multifile_suffix= dwz_multifile_idx=0 @@ -14,8 +14,8 @@ index 73275a11c..3dc438ce5 100755 echo >&2 "*** ERROR: DWARF compression requested, but no dwz installed" exit 2 fi -+ size_after=$(du -sb ${RPM_BUILD_ROOT}/usr/lib/debug | cut -f1) -+ echo "original debug info size: ${size_before}, size after compression: ${size_after}" ++ size_after=$(du -sk ${RPM_BUILD_ROOT}/usr/lib/debug | cut -f1) ++ echo "original debug info size: ${size_before}kB, size after compression: ${size_after}kB" # Remove .dwz directory if empty rmdir "${RPM_BUILD_ROOT}/usr/lib/debug/.dwz" 2>/dev/null if [ -f "${RPM_BUILD_ROOT}/usr/lib/debug/.dwz/${dwz_multifile_name}" ]; then diff --git a/python-rpm.spec b/python-rpm.spec index 9d4aea2..6ca0189 100644 --- a/python-rpm.spec +++ b/python-rpm.spec @@ -13,7 +13,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # diff --git a/rpm.spec b/rpm.spec index e5ffb02..127bd65 100644 --- a/rpm.spec +++ b/rpm.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ #