Hello community, here is the log from the commit of package build for openSUSE:Factory checked in at 2015-02-08 11:41:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/build (Old) and /work/SRC/openSUSE:Factory/.build.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "build" Changes: -------- --- /work/SRC/openSUSE:Factory/build/build.changes 2014-11-26 10:36:01.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.build.new/build.changes 2015-02-08 11:41:38.000000000 +0100 @@ -1,0 +2,11 @@ +Fri Jan 30 07:23:36 UTC 2015 - [email protected] + +- add recommend to perl(Net::SSL) (bnc#880212) +- add support for debian debootstrap build engine +- Update arch config +- Add support for conflicts, addselfprovides, weakdeps to query functions +- installed package handling works also for arch and debian now +- large code cleanup +- bugfixes and documentation updates + +------------------------------------------------------------------- Old: ---- obs-build-20141120.tar.gz New: ---- obs-build-20150115.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ build.spec ++++++ --- /var/tmp/diff_new_pack.i4tnoF/_old 2015-02-08 11:41:40.000000000 +0100 +++ /var/tmp/diff_new_pack.i4tnoF/_new 2015-02-08 11:41:40.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package build # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -14,21 +14,27 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +# needsrootforbuild +# needsbinariesforbuild Name: build Summary: A Script to Build SUSE Linux RPMs License: GPL-2.0+ and GPL-2.0 Group: Development/Tools/Building -Version: 20141120 +Version: 20150115 Release: 0 -#!BuildIgnore: build-mkbaselibs Source: obs-build-%{version}.tar.gz +#!BuildIgnore: build-mkbaselibs Source1: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch # Manual requires to avoid hard require to bash-static AutoReqProv: off +%if 0%{?suse_version} > 1200 +# required for test suite +BuildRequires: build-mkbaselibs +%endif # Keep the following dependencies in sync with obs-worker package Requires: bash Requires: binutils @@ -49,6 +55,7 @@ Recommends: perl(Time::Zone) Recommends: perl(URI) Recommends: perl(XML::Parser) +Recommends: perl(Net::SSL) Recommends: bsdtar Recommends: qemu-linux-user %endif @@ -138,8 +145,33 @@ V=%suse_version ln -s sl${V:0:2}.${V:2:1}.conf default.conf %endif -test -e default.conf +test -e default.conf || exit 1 +%endif + +%check +if [ `whoami` != "root" ]; then + echo "WARNING: Not building as root, tests did not run!" + exit 0 +fi +# get back the default.conf link +cp -av $RPM_BUILD_ROOT/usr/lib/build/configs/default.conf configs/ +# do not get confused when building this already with build: +export BUILD_IGNORE_2ND_STAGE=1 +# use our own build code +export BUILD_DIR=$PWD +cd test +# target is autodetected +%if 0%{?sles_version} +echo "SLES config differs currently on purpose between OBS and build script." +echo "Skipping test case" +exit 0 +%endif +%if 0%{?qemu_user_space_build} +echo "test suite is not prepared to run using qemu linux user" +echo "Skipping test case" +exit 0 %endif +./testbuild.sh /.build.binaries/ %files %defattr(-,root,root) ++++++ PKGBUILD ++++++ --- /var/tmp/diff_new_pack.i4tnoF/_old 2015-02-08 11:41:40.000000000 +0100 +++ /var/tmp/diff_new_pack.i4tnoF/_new 2015-02-08 11:41:40.000000000 +0100 @@ -1,5 +1,5 @@ pkgname=build -pkgver=20141120 +pkgver=20150115 pkgrel=0 pkgdesc="Build packages in sandbox" arch=('i686' 'x86_64') @@ -8,7 +8,7 @@ groups=('base-devel') depends=('perl') source=(obs-build-${pkgver}.tar.gz) -md5sums=('07405ad5bd573e5534508105a09a9677') +md5sums=('913a174848d39df902df09dedc0e1aa2') package() { msg "Installing build ..." ++++++ build.dsc ++++++ --- /var/tmp/diff_new_pack.i4tnoF/_old 2015-02-08 11:41:40.000000000 +0100 +++ /var/tmp/diff_new_pack.i4tnoF/_new 2015-02-08 11:41:40.000000000 +0100 @@ -1,6 +1,6 @@ Format: 1.0 Source: build -Version: 20141120 +Version: 20150115 Binary: build Maintainer: Adrian Schroeter <[email protected]> Architecture: all ++++++ debian.changelog ++++++ --- /var/tmp/diff_new_pack.i4tnoF/_old 2015-02-08 11:41:40.000000000 +0100 +++ /var/tmp/diff_new_pack.i4tnoF/_new 2015-02-08 11:41:40.000000000 +0100 @@ -1,4 +1,4 @@ -build (20141120) unstable; urgency=low +build (20150115) unstable; urgency=low * Update to current git trunk - add sles11sp2 build config and adapt autodetection ++++++ obs-build-20141120.tar.gz -> obs-build-20150115.tar.gz ++++++ ++++ 3842 lines of diff (skipped) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
