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/rpm.changes b/rpm.changes index 006a21f..51de8e6 100644 --- a/rpm.changes +++ b/rpm.changes @@ -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 diff --git a/rpm.spec b/rpm.spec index 9e70c08..04d3e74 100644 --- a/rpm.spec +++ b/rpm.spec @@ -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