Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package obs-service-kiwi_metainfo_helper for
openSUSE:Factory checked in at 2021-02-02 16:54:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/obs-service-kiwi_metainfo_helper (Old)
and
/work/SRC/openSUSE:Factory/.obs-service-kiwi_metainfo_helper.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "obs-service-kiwi_metainfo_helper"
Tue Feb 2 16:54:34 2021 rev:8 rq:868341 version:0.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/obs-service-kiwi_metainfo_helper/obs-service-kiwi_metainfo_helper.changes
2021-01-30 13:56:06.742002309 +0100
+++
/work/SRC/openSUSE:Factory/.obs-service-kiwi_metainfo_helper.new.28504/obs-service-kiwi_metainfo_helper.changes
2021-02-02 16:54:35.634709609 +0100
@@ -1,0 +2,6 @@
+Mon Feb 1 10:29:08 UTC 2021 - Fabian Vogt <[email protected]>
+
+- Don't enable pipefail: rpm got SIGPIPE because grep -q exits early
+ and closes the other end, which made the whole expression fail
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kiwi_metainfo_helper ++++++
--- /var/tmp/diff_new_pack.ffbfzT/_old 2021-02-02 16:54:36.406710474 +0100
+++ /var/tmp/diff_new_pack.ffbfzT/_new 2021-02-02 16:54:36.406710474 +0100
@@ -1,5 +1,6 @@
#!/bin/bash
-set -euo pipefail
+# Not using -o pipefail, as SIGPIPE is annoying to deal with
+set -eu
shopt -s nullglob
if [ "${BUILD_DIST+x}" != "x" ]; then
@@ -36,7 +37,7 @@
# Print all rpm files which contain os-release
find_release_rpms() {
find ./repos -name \*-release\*.rpm | while read rpm; do
- if rpm -qlp "${rpm}" | grep -qE
"^(/etc/os-release|/usr/lib/os-release)$"; then
+ if rpm -qlp "${rpm}" | grep -qE
'^(/etc/os-release|/usr/lib/os-release)$'; then
echo "${rpm}"
fi
done