Accepting request 913263 from openSUSE:Tools

Features:
- cross architecture build support (for rpm and kiwi)
- modulemd meta data support
- pbuild to build multiple source packages
  (initial release, can not be considered stable yet)
- supporting external asset stores for source files
- support multiple post build checks placed in the directory:
  /usr/lib/build/post-build-checks/
- sccache support
- New --shell-after-fail option
- allow to disable squashfs in SimpleImage
- supporting aarch64 kernel on armv?l distributions
- kiwi: Add support for OBS-RemoteAsset and OBS-CopyToImage directives
- container: FROM scratch build support
Improvements:
- supporting kvm builds as non-root user
- Extend stage selection support for rpm builds
- various distribution config updates
- Support "BuildFlags: cumulaterpms"
  (was done only via suse_version before)
Fixes:
- container builds
  * support newer podman versions
  * supporting multiple containers for multi-stage builds
- Supporting URL's in Flatpak manifests
- epoch handling in debian builds
- catch more cases where a failed build is marked as host error
- fixing wrong status reporting when a job got killed
- hugetlbfs handling fixes
- try mounting selinuxfs in VM

OBS-URL: https://build.opensuse.org/request/show/913263
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build?expand=0&rev=135
This commit is contained in:
Dominique Leuenberger 2021-08-24 08:54:09 +00:00 committed by Git OBS Bridge
commit 7f248f1453
8 changed files with 53 additions and 11 deletions

View File

@ -1,5 +1,5 @@
pkgname=build pkgname=build
pkgver=20210120 pkgver=20210820
pkgrel=0 pkgrel=0
pkgdesc="Build packages in sandbox" pkgdesc="Build packages in sandbox"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')

View File

@ -1,7 +1,7 @@
<services> <services>
<service name="tar_scm" mode="manual"> <service name="tar_scm" mode="manual">
<param name="revision">20210120</param> <param name="revision">20210820</param>
<param name="version">20210120</param> <param name="version">20210820</param>
<param name="url">git://github.com/openSUSE/obs-build.git</param> <param name="url">git://github.com/openSUSE/obs-build.git</param>
<param name="scm">git</param> <param name="scm">git</param>
<param name="extract">dist/build.changes</param> <param name="extract">dist/build.changes</param>

View File

@ -1,3 +1,42 @@
-------------------------------------------------------------------
Fri Aug 20 07:44:26 UTC 2021 - Adrian Schröter <adrian@suse.de>
Features:
- cross architecture build support (for rpm and kiwi)
- modulemd meta data support
- pbuild to build multiple source packages
(initial release, can not be considered stable yet)
- supporting external asset stores for source files
- support multiple post build checks placed in the directory:
/usr/lib/build/post-build-checks/
- sccache support
- New --shell-after-fail option
- allow to disable squashfs in SimpleImage
- supporting aarch64 kernel on armv?l distributions
- kiwi: Add support for OBS-RemoteAsset and OBS-CopyToImage directives
- container: FROM scratch build support
Improvements:
- supporting kvm builds as non-root user
- Extend stage selection support for rpm builds
- various distribution config updates
- Support "BuildFlags: cumulaterpms"
(was done only via suse_version before)
Fixes:
- container builds
* support newer podman versions
* supporting multiple containers for multi-stage builds
- Supporting URL's in Flatpak manifests
- epoch handling in debian builds
- catch more cases where a failed build is marked as host error
- fixing wrong status reporting when a job got killed
- hugetlbfs handling fixes
- try mounting selinuxfs in VM
- Also create the /sys dir when preinstalling (to satisfy dracut)
- various XML parser fixes
- and many minor ones
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 20 12:37:53 UTC 2021 - Adrian Schröter <adrian@suse.de> Wed Jan 20 12:37:53 UTC 2021 - Adrian Schröter <adrian@suse.de>

View File

@ -1,6 +1,6 @@
Format: 1.0 Format: 1.0
Source: build Source: build
Version: 20210120 Version: 20210820
Binary: build Binary: build
Maintainer: Adrian Schroeter <adrian@suse.de> Maintainer: Adrian Schroeter <adrian@suse.de>
Architecture: all Architecture: all

View File

@ -28,7 +28,7 @@ Name: %{__pkg_name}
Summary: A Script to Build SUSE Linux RPMs Summary: A Script to Build SUSE Linux RPMs
License: GPL-2.0-only OR GPL-3.0-only License: GPL-2.0-only OR GPL-3.0-only
Group: Development/Tools/Building Group: Development/Tools/Building
Version: 20210120 Version: 20210820
Release: 0 Release: 0
Source: obs-build-%{version}.tar.gz Source: obs-build-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -60,7 +60,6 @@ Conflicts: bsdtar < 2.5.5
BuildRequires: perl(Date::Parse) BuildRequires: perl(Date::Parse)
BuildRequires: perl(Test::Harness) BuildRequires: perl(Test::Harness)
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More)
BuildRequires: perl(YAML)
BuildRequires: perl(YAML::LibYAML) BuildRequires: perl(YAML::LibYAML)
%if 0%{?suse_version} > 1000 || 0%{?centos_version} >= 800 || 0%{?rhel_version} >= 800 || 0%{?fedora_version} >= 21 %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. # None of them are actually required for core features.
@ -73,7 +72,6 @@ Recommends: perl(Time::Zone)
Recommends: perl(URI) Recommends: perl(URI)
Recommends: perl(XML::Parser) Recommends: perl(XML::Parser)
Recommends: perl(Net::SSL) Recommends: perl(Net::SSL)
Recommends: perl(YAML)
Recommends: perl(YAML::LibYAML) Recommends: perl(YAML::LibYAML)
Recommends: bsdtar Recommends: bsdtar
Recommends: qemu-linux-user Recommends: qemu-linux-user
@ -248,12 +246,16 @@ exit 0
%endif %endif
# we need to patch the not packaged configs, due to the buildignore # we need to patch the not packaged configs, due to the buildignore
sed -i 's,build-mkbaselibs,,' ../configs/*.conf sed -i 's,build-mkbaselibs,,' ../configs/*.conf
if [ ! -e /.build.packages/rpmlint-Factory.rpm ]; then
sed -i 's,rpmlint-Factory,,' ../configs/*.conf
fi
./testbuild.sh /.build.binaries/ ./testbuild.sh /.build.binaries/
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc README.md %doc README.md
/usr/bin/build /usr/bin/build
/usr/bin/pbuild
/usr/bin/buildvc /usr/bin/buildvc
/usr/bin/unrpm /usr/bin/unrpm
/usr/lib/build /usr/lib/build
@ -261,6 +263,7 @@ sed -i 's,build-mkbaselibs,,' ../configs/*.conf
%{_mandir}/man1/build.1* %{_mandir}/man1/build.1*
%{_mandir}/man1/unrpm.1* %{_mandir}/man1/unrpm.1*
%{_mandir}/man1/buildvc.1* %{_mandir}/man1/buildvc.1*
%{_mandir}/man1/pbuild.1*
%if 0%{?suse_version} %if 0%{?suse_version}
%exclude /usr/lib/build/initvm.* %exclude /usr/lib/build/initvm.*
%endif %endif

View File

@ -1,4 +1,4 @@
build (20210120) unstable; urgency=low build (20210820) unstable; urgency=low
* Update to current git trunk * Update to current git trunk
- add sles11sp2 build config and adapt autodetection - add sles11sp2 build config and adapt autodetection

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:aad2410cc6bd040c91c6e5e2f738818e3e906fd7dbb730880fedd7924fdf5196
size 382360

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:50509e6ad3f782c5eadf2c8e4e32557fc96da9239e7e02cd8b6e5c7353249be3
size 484099