Hello community, here is the log from the commit of package build for openSUSE:Factory checked in at 2012-10-08 20:27:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/build (Old) and /work/SRC/openSUSE:Factory/.build.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "build", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/build/build.changes 2012-09-27 10:31:22.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.build.new/build.changes 2012-10-08 20:27:30.000000000 +0200 @@ -1,0 +2,5 @@ +Fri Oct 5 10:58:15 UTC 2012 - [email protected] + +- backport /proc mounting for rpmlint for factory + +------------------------------------------------------------------- New: ---- master.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ build.spec ++++++ --- /var/tmp/diff_new_pack.jCt2H7/_old 2012-10-08 20:27:34.000000000 +0200 +++ /var/tmp/diff_new_pack.jCt2H7/_new 2012-10-08 20:27:34.000000000 +0200 @@ -24,6 +24,7 @@ Release: 0 #!BuildIgnore: build-mkbaselibs Source: obs-build-%{version}.tar.gz +Patch0: master.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch # Manual requires to avoid hard require to bash-static @@ -87,6 +88,7 @@ %prep %setup -q -n obs-build-%version +%patch0 -p1 %build ++++++ master.diff ++++++ >From 7d1bfa52e9d2ffd60019481c1e3b96aa06d625ff Mon Sep 17 00:00:00 2001 From: Andreas Jaeger <[email protected]> Date: Thu, 4 Oct 2012 11:13:13 +0200 Subject: [PATCH] Mount /proc for rpmlint checks Otherwise rpm which is run in chroot will warn about missing /proc diff --git a/build b/build index 4ff7848..d88c094 100755 --- a/build +++ b/build @@ -2299,11 +2299,13 @@ if test -n "$RPMS" -a "$DO_CHECKS" != "false" -a -x "$BUILD_ROOT/opt/testing/bin rpmlint_logfile=$TOPDIR/OTHER/rpmlint.log rm -f "$BUILD_ROOT$rpmlint_logfile" ret=0 + mount -n -tproc none $BUILD_ROOT/proc 2> /dev/null chroot $BUILD_ROOT su -s /opt/testing/bin/rpmlint "$BUILD_USER" -- \ --info ${LINT_RPM_FILE_LIST[*]#$BUILD_ROOT} \ ${SRPM_FILE_LIST[*]#$BUILD_ROOT} > "$BUILD_ROOT$rpmlint_logfile" || ret=1 cat "$BUILD_ROOT$rpmlint_logfile" echo + umount -n $BUILD_ROOT/proc 2>/dev/null || true if test "$ret" = 1; then cleanup_and_exit 1 fi -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
