From cf5e044e00ba6a63af2d6f142b264c6aa3f5110dbb6ddd96028d24dc95be9781 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 1 Feb 2012 13:47:14 +0000 Subject: [PATCH] Accepting request 102231 from home:lnussel:branches:Base:System - avoid error message if /usr/lib/rpm/brp-suse.d is empty bash automatically sorts patterns alphabetically OBS-URL: https://build.opensuse.org/request/show/102231 OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=189 --- brp.diff | 2 +- python3-rpm.spec | 1 + rpm-python.spec | 1 + rpm.changes | 5 +++++ rpm.spec | 1 + 5 files changed, 9 insertions(+), 1 deletion(-) diff --git a/brp.diff b/brp.diff index bca3cad..8f6f59e 100644 --- a/brp.diff +++ b/brp.diff @@ -29,7 +29,7 @@ + exit 0 +fi + -+ls -1 /usr/lib/rpm/brp-suse.d/brp* | sort | while read script; do ++for script in /usr/lib/rpm/brp-suse.d/brp*; do + if test -x "$script"; then + echo "calling $script" + $script || exit 1 diff --git a/python3-rpm.spec b/python3-rpm.spec index 5b826aa..6bd2afc 100644 --- a/python3-rpm.spec +++ b/python3-rpm.spec @@ -16,6 +16,7 @@ # + Name: python3-rpm Version: 4.9.1.2 Release: 0 diff --git a/rpm-python.spec b/rpm-python.spec index 5af67c9..fe0857e 100644 --- a/rpm-python.spec +++ b/rpm-python.spec @@ -16,6 +16,7 @@ # + Name: rpm-python Version: 4.9.1.2 Release: 0 diff --git a/rpm.changes b/rpm.changes index c35c913..51de8e6 100644 --- a/rpm.changes +++ b/rpm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 31 11:06:52 UTC 2012 - lnussel@suse.de + +- avoid error message if /usr/lib/rpm/brp-suse.d is empty + ------------------------------------------------------------------- Sat Jan 28 14:18:25 UTC 2012 - coolo@suse.com diff --git a/rpm.spec b/rpm.spec index 94485bc..04d3e74 100644 --- a/rpm.spec +++ b/rpm.spec @@ -16,6 +16,7 @@ # + Name: rpm BuildRequires: binutils BuildRequires: bzip2