Accepting request 102371 from Base:System

- avoid error message if /usr/lib/rpm/brp-suse.d is empty

bash automatically sorts patterns alphabetically (forwarded request 102231 from lnussel)

OBS-URL: https://build.opensuse.org/request/show/102371
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpm?expand=0&rev=173
This commit is contained in:
Stephan Kulow 2012-02-03 09:26:41 +00:00 committed by Git OBS Bridge
commit 1322d98ceb
3 changed files with 21 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

@ -1,3 +1,13 @@
-------------------------------------------------------------------
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
- make the buildrequires more inclusive, rpm is special
-------------------------------------------------------------------
Fri Jan 20 11:43:05 UTC 2012 - mvyskocil@suse.cz

View File

@ -18,7 +18,14 @@
Name: rpm
BuildRequires: binutils
BuildRequires: bzip2
BuildRequires: file-devel
BuildRequires: findutils
BuildRequires: gcc
BuildRequires: gettext-tools
BuildRequires: glibc-devel
BuildRequires: gzip
BuildRequires: libacl-devel
BuildRequires: libbz2-devel
BuildRequires: libcap-devel
@ -27,7 +34,10 @@ BuildRequires: libselinux-devel
BuildRequires: libsemanage-devel
BuildRequires: libtool
BuildRequires: lua51-devel
BuildRequires: make
BuildRequires: ncurses-devel
BuildRequires: patch
BuildRequires: perl-base
BuildRequires: popt-devel
BuildRequires: xz-devel
BuildRequires: zlib-devel