Rev openSUSE:Tools/434 Md5 5ededfa8037b9278ee8dcd4a093cd647 2021-08-19 10:14:40 adrianSuSE None
This commit is contained in:
OBS User adrianSuSE 2021-08-19 10:14:40 +00:00 committed by Git OBS Bridge
parent 0925d635a1
commit ca3fb06ebe
8 changed files with 62 additions and 20 deletions

View File

@ -1,5 +1,5 @@
pkgname=build pkgname=build
pkgver=20210120 pkgver=20210819
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">20210819</param>
<param name="version">20210120</param> <param name="version">20210819</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,41 @@
-------------------------------------------------------------------
Thu Aug 19 09: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
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: 20210819
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: 20210819
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
@ -48,36 +48,36 @@ BuildRequires: perl
BuildRequires: psmisc BuildRequires: psmisc
BuildRequires: tar BuildRequires: tar
# For testcases # For testcases
BuildRequires: perl(Date::Parse)
BuildRequires: perl(Test::Harness) BuildRequires: perl(Test::Harness)
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More)
%if 0%{?fedora} || 0%{?centos_version} || 0%{?almalinux_version} %if 0%{?fedora}
Requires: perl-MD5 Requires: perl-MD5
Requires: perl-TimeDate Requires: perl-TimeDate
BuildRequires: perl-TimeDate BuildRequires: perl-TimeDate
%else
BuildRequires: perl(Date::Parse)
%endif %endif
Conflicts: bsdtar < 2.5.5 Conflicts: bsdtar < 2.5.5
BuildRequires: perl(Date::Parse)
BuildRequires: perl(Test::Harness) BuildRequires: perl(Test::Harness)
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More)
%if 0%{?suse_version} > 1000 || 0%{?centos_version} >= 800 || 0%{?rhel_version} >= 800 || 0%{?fedora_version} >= 21 || 0%{?almalinux_version} >= 800
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
# None of them are actually required for core features. # None of them are actually required for core features.
# Perl helper scripts use them. # Perl helper scripts use them.
Recommends: perl(Date::Language) Recommends: perl(Date::Language)
Recommends: /sbin/mkfs.ext3
Recommends: /usr/bin/qemu-kvm
Recommends: bsdtar
Recommends: qemu-linux-user
Recommends: zstd
Recommends: perl(Date::Parse) Recommends: perl(Date::Parse)
Recommends: perl(LWP::UserAgent) Recommends: perl(LWP::UserAgent)
Recommends: perl(Net::SSL)
Recommends: perl(Pod::Usage) Recommends: perl(Pod::Usage)
Recommends: perl(Time::Zone) Recommends: perl(Time::Zone)
Recommends: perl(URI) Recommends: perl(URI)
Recommends: perl(XML::Parser) Recommends: perl(XML::Parser)
Recommends: perl(Net::SSL)
Recommends: perl(YAML::LibYAML) Recommends: perl(YAML::LibYAML)
Recommends: bsdtar
Recommends: qemu-linux-user
Recommends: zstd
Recommends: /usr/bin/qemu-kvm
Recommends: /sbin/mkfs.ext3
%endif %endif
%if 0%{?suse_version} > 1120 || ! 0%{?suse_version} %if 0%{?suse_version} > 1120 || ! 0%{?suse_version}
@ -126,7 +126,6 @@ for generating delta rpm packages.
%if "%{_host_cpu}" == "i686" %if "%{_host_cpu}" == "i686"
%define initvm_arch i586 %define initvm_arch i586
%endif %endif
%package initvm-%{initvm_arch} %package initvm-%{initvm_arch}
Summary: Virtualization initializer for emulated cross architecture builds Summary: Virtualization initializer for emulated cross architecture builds
Group: Development/Tools/Building Group: Development/Tools/Building
@ -247,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
@ -260,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 (20210819) 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:b4bb403f70644290df26c9e1f185cadfc3a196e98dc46def98a7a644fd58fe69
size 483500