Compare commits

..

No commits in common. "factory" and "factory" have entirely different histories.

9 changed files with 135 additions and 13 deletions

View File

@ -1,5 +1,5 @@
pkgname=build pkgname=build
pkgver=20220927 pkgver=20230628
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">20220927</param> <param name="revision">20230628</param>
<param name="version">20220927</param> <param name="version">20230628</param>
<param name="url">https://github.com/openSUSE/obs-build.git</param> <param name="url">https://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,110 @@
-------------------------------------------------------------------
Wed Jun 28 07:50:46 UTC 2023 - Adrian Schröter <adrian@suse.de>
- --vm-type=podman added (supports also root-less builds)
- Also support build constraints in the Dockerfile
- minor fixes
-------------------------------------------------------------------
Tue May 2 12:13:54 UTC 2023 - Adrian Schröter <adrian@suse.de>
- Add SUSE ALP build config
-------------------------------------------------------------------
Tue Apr 25 12:01:03 UTC 2023 - Adrian Schröter <adrian@suse.de>
- BREAKING: Record errors when parsing the project config
former behaviour was undefined
- container: Support compression format configuration option
- Don't setup ccache with --no-init
- improved loongarch64 support
- sbom: SPDX supplier tag added
- kiwi: support different versions per profile
- preinstallimage: fail when recompression fails
- Add support for recommends and supplements dependencies
- Support the "keepfilerequires" expand flag
- add '--buildtool-opt=OPTIONS' to pass options to the used build tool
- distro config updates
* ArchLinux
* Tumbleweed
- documentation updates
-------------------------------------------------------------------
Mon Apr 24 10:22:18 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
- openSUSE Tumbleweed: sync config and move to suse_version 1699.
-------------------------------------------------------------------
Tue Mar 14 13:33:33 UTC 2023 - Adrian Schröter <adrian@suse.de>
- universal post-build hook, just place a file in /usr/lib/build/post_build.d/
- mkbaselibs/hwcaps, fix pattern name once again (x86_64_v3)
- KiwiProduct: add --use-newest-package hint if the option is set
-------------------------------------------------------------------
Tue Feb 28 11:00:54 UTC 2023 - Adrian Schröter <adrian@suse.de>
- Dockerfile support:
* export multibuild flavor as argument
* allow parameters in FROM .. scratch lines
* include OS name in build result if != linux
- Workaround directory->symlink usrmerge problems for cross arch sysroot
- multiple fixes for SBOM support
-------------------------------------------------------------------
Wed Feb 15 14:23:09 UTC 2023 - Adrian Schröter <adrian@suse.de>
- KIWI VM image SBOM support added
-------------------------------------------------------------------
Wed Feb 15 07:41:28 UTC 2023 - Adrian Schröter <adrian@suse.de>
- CycloneDX SBOM support added
-------------------------------------------------------------------
Fri Feb 10 14:35:55 UTC 2023 - Adrian Schröter <adrian@suse.de>
- added support for generating VCS url information into rpms
-------------------------------------------------------------------
Wed Feb 8 11:54:16 UTC 2023 - Adrian Schröter <adrian@suse.de>
- SPDX SBOM generation for container and product builds
- Revert & Redo "Better filetype detection for temp changes files"
- Fix typo in glibc hwcaps supplements
- Implement lua string macros
-------------------------------------------------------------------
Mon Jan 2 08:09:43 UTC 2023 - Adrian Schröter <adrian@suse.de>
- configure mkbaselibs to create glibc-hwcaps baselibs as well
- Better filetype detection for temp changes files
- Add hook to run checks after mkbaselibs run
- Delete leftover multilinedefine variable definition
- Support multiline macros in the config's macro sections
- Support #!BuildConstraint lines
- Support #!BuildTarget in spec files to set the build target
(as workaround of broken BuildArch in rpm since 2001)
- Support a regexp for file renames
- Set home to /root when running build time services
-------------------------------------------------------------------
Fri Nov 18 15:34:56 UTC 2022 - Adrian Schröter <adrian@suse.de>
- INCOMPATIBLE CHANGE: get rid off the power8 cpu limitation (#889) on powerpc
- Add handling of non-compressed tar when creating Debian archive for DSC 3.0
- Add automatic build-in-place detection
- Support dist/package subdir builds in pbuild
- Skip iothreads on QEMU 7.1.0
- Fix permissions of /dev/pts/ptmx
- Add license to container package list output
- initial SP5 build configurations
- vm-type:qemu use virtio on x86_64
- Improve installation of obs-docker-support for multi-stage builds
- Tweak ARG handling in dockerfile parser
- fixed Undefined subroutine &PBuild::Job::ls issue
- Add missing dependencies from vc as Recommends
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Sep 27 07:01:33 UTC 2022 - Adrian Schröter <adrian@suse.de> Tue Sep 27 07:01:33 UTC 2022 - Adrian Schröter <adrian@suse.de>

View File

@ -1,9 +1,10 @@
Format: 1.0 Format: 1.0
Source: build Source: build
Version: 20220927 Version: 20230628
Binary: build Binary: build
Maintainer: Adrian Schroeter <adrian@suse.de> Maintainer: Adrian Schroeter <adrian@suse.de>
Architecture: all Architecture: all
Standards-Version: 3.7.2 Standards-Version: 3.7.2
Build-Depends: debhelper (>= 4) Build-Depends: debhelper (>= 4)
Depends: bash, binutils, findutils, perl, tar, psmisc, libwww-perl, libxml-parser-perl, libarchive-tools, zstd, qemu-kvm

View File

@ -1,7 +1,7 @@
# #
# spec file # spec file
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -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: 20220927 Version: 20230628
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
@ -72,20 +72,27 @@ BuildRequires: perl(YAML::LibYAML)
# Perl helper scripts use them. # Perl helper scripts use them.
Recommends: perl(Archive::Tar) Recommends: perl(Archive::Tar)
Recommends: /sbin/mkfs.ext3 Recommends: /sbin/mkfs.ext3
Recommends: /sbin/mkfs.ext3
Recommends: /usr/bin/qemu-kvm
Recommends: /usr/bin/qemu-kvm Recommends: /usr/bin/qemu-kvm
Recommends: bsdtar Recommends: bsdtar
Recommends: bsdtar
Recommends: qemu-linux-user Recommends: qemu-linux-user
Recommends: qemu-linux-user
Recommends: zstd
Recommends: zstd Recommends: zstd
Recommends: perl(Config::IniFiles) Recommends: perl(Config::IniFiles)
Recommends: perl(Date::Language) Recommends: perl(Date::Language)
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(YAML::LibYAML) Recommends: perl(YAML::LibYAML)
# for vc:
Recommends: /usr/bin/dnsdomainname
Recommends: /usr/bin/rpmdev-packager
%endif %endif
%if 0%{?suse_version} > 1120 || ! 0%{?suse_version} %if 0%{?suse_version} > 1120 || ! 0%{?suse_version}
@ -188,7 +195,7 @@ ln -s sl${SLE_V:0:2}.${SLE_V:3:1}.conf default.conf
# this is old openSUSE releases and Factory # this is old openSUSE releases and Factory
ln -s sl${SUSE_V:0:2}.${SUSE_V:2:1}.conf default.conf ln -s sl${SUSE_V:0:2}.${SUSE_V:2:1}.conf default.conf
%endif %endif
%if !0%{?sle_version} && ( 0%{?suse_version} == 1599 ) %if !0%{?sle_version} && ( 0%{?suse_version} == 1699 )
ln -s tumbleweed.conf default.conf ln -s tumbleweed.conf default.conf
%endif %endif
%if 0%{?sle_version} && !0%{?is_opensuse} %if 0%{?sle_version} && !0%{?is_opensuse}
@ -199,6 +206,10 @@ ln -s sle${SLE_V:0:2}.${SLE_V:3:1}.conf default.conf
# this is SUSE SLE 11 # this is SUSE SLE 11
ln -s sles11sp2.conf default.conf ln -s sles11sp2.conf default.conf
%endif %endif
%if 0%{?suse_version} == 1600
# this is SUSE ALP
ln -s alp.conf default.conf
%endif
# make sure that we have a config # make sure that we have a config
test -e default.conf || exit 1 test -e default.conf || exit 1
%endif %endif
@ -263,6 +274,9 @@ fi
if [ ! -e /.build.packages/rpmlint-strict.rpm ]; then if [ ! -e /.build.packages/rpmlint-strict.rpm ]; then
sed -i 's,rpmlint-strict,,' ../configs/*.conf sed -i 's,rpmlint-strict,,' ../configs/*.conf
fi fi
if [ ! -e /.build.packages/rpmlint-mini.rpm ]; then
sed -i 's,rpmlint-mini,,' ../configs/*.conf
fi
./testbuild.sh /.build.binaries/ ./testbuild.sh /.build.binaries/
%files %files

View File

@ -1,4 +1,4 @@
build (20220927) unstable; urgency=low build (20230628) 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 +1 @@
5 7

View File

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

View File

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