Accepting request 807799 from openSUSE:Tools
- 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 - 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 - Spec parser: add support for %elif, %elifarch, %elifos - Support rpm's %include statement (EXPERIMENTAL, known limitations) OBS-URL: https://build.opensuse.org/request/show/807799 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build?expand=0&rev=131
This commit is contained in:
commit
47c3ca5fad
2
PKGBUILD
2
PKGBUILD
@ -1,5 +1,5 @@
|
||||
pkgname=build
|
||||
pkgver=20200131
|
||||
pkgver=20200520
|
||||
pkgrel=0
|
||||
pkgdesc="Build packages in sandbox"
|
||||
arch=('i686' 'x86_64')
|
||||
|
4
_service
4
_service
@ -1,7 +1,7 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="revision">20200131</param>
|
||||
<param name="version">20200131</param>
|
||||
<param name="revision">20200520</param>
|
||||
<param name="version">20200520</param>
|
||||
<param name="url">git://github.com/openSUSE/obs-build.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="extract">dist/build.changes</param>
|
||||
|
@ -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 <adrian@suse.de>
|
||||
|
||||
- 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 <adrian@suse.de>
|
||||
|
||||
- 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 <adrian@suse.de>
|
||||
|
||||
- 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 <adrian@suse.de>
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
Format: 1.0
|
||||
Source: build
|
||||
Version: 20200131
|
||||
Version: 20200520
|
||||
Binary: build
|
||||
Maintainer: Adrian Schroeter <adrian@suse.de>
|
||||
Architecture: all
|
||||
|
28
build.spec
28
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}
|
||||
|
@ -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
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9442bb5d6c48f987bbf6a9678537e36c26abbc451a6f76b05a8849dd4981df08
|
||||
size 342012
|
3
obs-build-20200520.tar.gz
Normal file
3
obs-build-20200520.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0d37d79f55abb400d488ae0f069e2cc62019345cf2955f69f97febc2d6b38423
|
||||
size 347598
|
Loading…
Reference in New Issue
Block a user