diff --git a/PKGBUILD b/PKGBUILD index f9fb6939..4cfaba93 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,5 +1,5 @@ pkgname=build -pkgver=20200131 +pkgver=20200520 pkgrel=0 pkgdesc="Build packages in sandbox" arch=('i686' 'x86_64') diff --git a/_service b/_service index 3bf406c0..aa7e3506 100644 --- a/_service +++ b/_service @@ -1,7 +1,7 @@ - 20200131 - 20200131 + 20200520 + 20200520 git://github.com/openSUSE/obs-build.git git dist/build.changes diff --git a/build.changes b/build.changes index 5e9dca0c..e8937348 100644 --- a/build.changes +++ b/build.changes @@ -1,3 +1,54 @@ +------------------------------------------------------------------- +Sun May 17 14:32:52 UTC 2020 - coolo@suse.com + +- enable sysrq operations on boot +- Set kvm_serial_device to virtio-serial in the fixup +- Split console arg setting code into kvm_add_console_args +- Update for zVM to make container builds work. +- Write to /proc/sys/kernel/hostname if the hostname command is not available +- Use --cgroup-manager=cgroupfs when calling podman +- Also squash by default in podman builds +- Support different interpreters in prein/postin scriptlets +- Use grep -E instead of egrep to check for the needsbinariesforbuild flag +- Use new Build::Intrepo module +- Add new Intrepo module to read/write build's internal repo format +- remove .gz from _ccache archive as it is no longer compressed +- Add support for Arch in build-recipe-kiwi +- Autodetect whether to use --pipe option of systemd-nspawn. +- Split parse_depfile() from readdeps() +- enable compression on ccache +- add bugzilla numbers for s390 workaround +- extend --ccache to generate _ccache.tar.gz and implement --pkg-ccache +- disable transparent_hugepage on s390x guests for now, causes hangs +- set buildflavor also for Build::parse + +------------------------------------------------------------------- +Fri Mar 13 13:41:20 UTC 2020 - Adrian Schröter + +- Leap 15.2 config update (libzstd1 for rpm) +- handle obscpio extraction error as fatal +- Return correct exit code from systemd-nspawn build +- Spec parser: do not parse included files from end to start +- running disk full check also outside of VM +- run disk full check only for chroot + +------------------------------------------------------------------- +Mon Feb 10 08:25:12 UTC 2020 - Adrian Schröter + +- Spec parser: add support for %elif, %elifarch, %elifos +- Support rpm's %include statement (EXPERIMENTAL, known limitations) +- Do not do vminstall expansion in expanddeps unless --vm is used + +------------------------------------------------------------------- +Wed Feb 5 08:23:06 UTC 2020 - Adrian Schröter + +- 15.2 config: preinstall gcrypt deps again +- Recommends for Fedora based distros +- support obsgendiff funcationality +- various smaller code cleanups +- additional test cases for spec file parsing +- various fixes for cornercases during spec file parsing + ------------------------------------------------------------------- Fri Jan 31 11:49:34 UTC 2020 - Adrian Schröter diff --git a/build.dsc b/build.dsc index fae46c88..6258ca8d 100644 --- a/build.dsc +++ b/build.dsc @@ -1,6 +1,6 @@ Format: 1.0 Source: build -Version: 20200131 +Version: 20200520 Binary: build Maintainer: Adrian Schroeter Architecture: all diff --git a/build.spec b/build.spec index 29a07c09..1e4e1081 100644 --- a/build.spec +++ b/build.spec @@ -18,17 +18,17 @@ # needsbinariesforbuild -%if 0%{?fedora} || 0%{?rhel} -%define __pkg_name obs-build -%else +%if 0%{?suse_version} %define __pkg_name build +%else +%define __pkg_name obs-build %endif Name: %{__pkg_name} Summary: A Script to Build SUSE Linux RPMs License: GPL-2.0-only OR GPL-3.0-only Group: Development/Tools/Building -Version: 20200131 +Version: 20200520 Release: 0 Source: obs-build-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -47,12 +47,20 @@ BuildRequires: binutils BuildRequires: perl BuildRequires: psmisc BuildRequires: tar +# For testcases +BuildRequires: perl(Date::Parse) +BuildRequires: perl(Test::Harness) +BuildRequires: perl(Test::More) %if 0%{?fedora} Requires: perl-MD5 Requires: perl-TimeDate +BuildRequires: perl-TimeDate %endif Conflicts: bsdtar < 2.5.5 -%if 0%{?suse_version} > 1000 +BuildRequires: perl(Date::Parse) +BuildRequires: perl(Test::Harness) +BuildRequires: perl(Test::More) +%if 0%{?suse_version} > 1000 || 0%{?centos_version} >= 800 || 0%{?rhel_version} >= 800 || 0%{?fedora_version} >= 21 # None of them are actually required for core features. # Perl helper scripts use them. Recommends: perl(Date::Language) @@ -199,12 +207,16 @@ test -e baselibs_global.conf || exit 1 %check for i in build build-* ; do bash -n $i || exit 1 ; done + +# run perl module unit tests +LANG=C make test || exit 1 + if [ `whoami` != "root" ]; then - echo "WARNING: Not building as root, tests did not run!" + echo "WARNING: Not building as root, build test did not run!" exit 0 fi if [ ! -f "%{buildroot}/usr/lib/build/configs/default.conf" ]; then - echo "WARNING: No default config, tests did not run!" + echo "WARNING: No default config, build test did not run!" exit 0 fi # get back the default.conf link @@ -213,6 +225,8 @@ cp -av %{buildroot}/usr/lib/build/configs/default.conf configs/ export BUILD_IGNORE_2ND_STAGE=1 # use our own build code export BUILD_DIR=$PWD + +# simple chroot build test cd test # target is autodetected %if 0%{?sles_version} diff --git a/debian.changelog b/debian.changelog index bca5d827..fc5ef003 100644 --- a/debian.changelog +++ b/debian.changelog @@ -1,4 +1,4 @@ -build (20200131) unstable; urgency=low +build (20200520) unstable; urgency=low * Update to current git trunk - add sles11sp2 build config and adapt autodetection diff --git a/obs-build-20200131.tar.gz b/obs-build-20200131.tar.gz deleted file mode 100644 index 1daea7aa..00000000 --- a/obs-build-20200131.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9442bb5d6c48f987bbf6a9678537e36c26abbc451a6f76b05a8849dd4981df08 -size 342012 diff --git a/obs-build-20200520.tar.gz b/obs-build-20200520.tar.gz new file mode 100644 index 00000000..c70be621 --- /dev/null +++ b/obs-build-20200520.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0d37d79f55abb400d488ae0f069e2cc62019345cf2955f69f97febc2d6b38423 +size 347598