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
This commit is contained in:
Stephan Kulow 2012-02-01 13:47:14 +00:00 committed by Git OBS Bridge
parent d55a07dc5a
commit cf5e044e00
5 changed files with 9 additions and 1 deletions

View File

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

View File

@ -16,6 +16,7 @@
#
Name: python3-rpm
Version: 4.9.1.2
Release: 0

View File

@ -16,6 +16,7 @@
#
Name: rpm-python
Version: 4.9.1.2
Release: 0

View File

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

View File

@ -16,6 +16,7 @@
#
Name: rpm
BuildRequires: binutils
BuildRequires: bzip2