Blame SPECS/osbuild-composer.spec

92a79e
# Do not build with tests by default
92a79e
# Pass --with tests to rpmbuild to override
92a79e
%bcond_with tests
92a79e
92a79e
# When --with relax_requires is specified osbuild-composer-tests
92a79e
# will require osbuild-composer only by name, excluding version/release
92a79e
# This is used internally during nightly pipeline testing!
92a79e
%bcond_with relax_requires
92a79e
92a79e
%global goipath         github.com/osbuild/osbuild-composer
92a79e
596669
Version:        76
92a79e
92a79e
%gometa
92a79e
92a79e
%global common_description %{expand:
92a79e
A service for building customized OS artifacts, such as VM images and OSTree
92a79e
commits, that uses osbuild under the hood. Besides building images for local
92a79e
usage, it can also upload images directly to cloud.
92a79e
92a79e
It is compatible with composer-cli and cockpit-composer clients.
92a79e
}
92a79e
92a79e
Name:           osbuild-composer
596669
Release:        2%{?dist}
92a79e
Summary:        An image building service based on osbuild
92a79e
92a79e
# osbuild-composer doesn't have support for building i686 and armv7hl images
92a79e
ExcludeArch:    i686 armv7hl
92a79e
92a79e
# Upstream license specification: Apache-2.0
596669
License:        Apache-2.0
92a79e
URL:            %{gourl}
92a79e
Source0:        %{gosource}
92a79e
596669
# Patches were generated from the upstream 'rhel-9.2.0' branch:
596669
# git clone https://github.com/osbuild/osbuild-composer.git
596669
# cd osbuild-composer/
596669
# git checkout rhel-9.2.0
596669
# git format-patch HEAD...v76
596669
#
596669
# https://github.com/osbuild/osbuild-composer/pull/3349
596669
Patch0: 0001-tests-ostree-Change-centos-8-BOOT_LOCATION-to-a-work.patch
596669
Patch1: 0002-distro-rhel-add-payload-repos-to-os-package-set.patch
596669
# https://github.com/osbuild/osbuild-composer/pull/3348
596669
Patch2: 0003-Manifest-always-set-kernel-options-in-grub2-stage.patch
92a79e
92a79e
BuildRequires:  %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
92a79e
BuildRequires:  systemd
92a79e
BuildRequires:  krb5-devel
92a79e
BuildRequires:  python3-docutils
92a79e
BuildRequires:  make
52a87e
# Build requirements of 'theproglottis/gpgme' package
52a87e
BuildRequires:  gpgme-devel
52a87e
BuildRequires:  libassuan-devel
92a79e
%if 0%{?fedora}
92a79e
BuildRequires:  systemd-rpm-macros
92a79e
BuildRequires:  git
52a87e
# DO NOT REMOVE the BUNDLE_START and BUNDLE_END markers as they are used by 'tools/rpm_spec_add_provides_bundle.sh' to generate the Provides: bundled list
52a87e
# BUNDLE_START
52a87e
# BUNDLE_END
92a79e
%endif
92a79e
92a79e
Requires: %{name}-core = %{version}-%{release}
92a79e
Requires: %{name}-worker = %{version}-%{release}
92a79e
Requires: systemd
92a79e
92a79e
Provides: weldr
92a79e
92a79e
%description
92a79e
%{common_description}
92a79e
92a79e
%prep
92a79e
%if 0%{?rhel}
92a79e
%forgeautosetup -p1
92a79e
%else
52a87e
%goprep -k
92a79e
%endif
92a79e
92a79e
%build
92a79e
export GOFLAGS="-buildmode=pie"
92a79e
%if 0%{?rhel}
92a79e
GO_BUILD_PATH=$PWD/_build
92a79e
install -m 0755 -vd $(dirname $GO_BUILD_PATH/src/%{goipath})
92a79e
ln -fs $PWD $GO_BUILD_PATH/src/%{goipath}
92a79e
cd $GO_BUILD_PATH/src/%{goipath}
92a79e
install -m 0755 -vd _bin
92a79e
export PATH=$PWD/_bin${PATH:+:$PATH}
92a79e
export GOPATH=$GO_BUILD_PATH:%{gopath}
92a79e
export GOFLAGS+=" -mod=vendor"
92a79e
%endif
92a79e
92a79e
# Set the commit hash so that composer can report what source version
92a79e
# was used to build it. This has to be set explicitly when calling rpmbuild,
92a79e
# this script will not attempt to automatically discover it.
92a79e
%if %{?commit:1}0
92a79e
export LDFLAGS="${LDFLAGS} -X 'github.com/osbuild/osbuild-composer/internal/common.GitRev=%{commit}'"
92a79e
%endif
92a79e
export LDFLAGS="${LDFLAGS} -X 'github.com/osbuild/osbuild-composer/internal/common.RpmVersion=%{name}-%{?epoch:%epoch:}%{version}-%{release}.%{_arch}'"
92a79e
92a79e
%gobuild -o _bin/osbuild-composer %{goipath}/cmd/osbuild-composer
92a79e
%gobuild -o _bin/osbuild-worker %{goipath}/cmd/osbuild-worker
92a79e
92a79e
make man
92a79e
92a79e
%if %{with tests} || 0%{?rhel}
92a79e
92a79e
# Build test binaries with `go test -c`, so that they can take advantage of
92a79e
# golang's testing package. The golang rpm macros don't support building them
92a79e
# directly. Thus, do it manually, taking care to also include a build id.
92a79e
#
92a79e
# On Fedora, also turn off go modules and set the path to the one into which
92a79e
# the golang-* packages install source code.
92a79e
%if 0%{?fedora}
92a79e
export GO111MODULE=off
92a79e
export GOPATH=%{gobuilddir}:%{gopath}
92a79e
%endif
92a79e
92a79e
TEST_LDFLAGS="${LDFLAGS:-} -B 0x$(od -N 20 -An -tx1 -w100 /dev/urandom | tr -d ' ')"
92a79e
92a79e
go test -c -tags=integration -ldflags="${TEST_LDFLAGS}" -o _bin/osbuild-composer-cli-tests %{goipath}/cmd/osbuild-composer-cli-tests
92a79e
go test -c -tags=integration -ldflags="${TEST_LDFLAGS}" -o _bin/osbuild-dnf-json-tests %{goipath}/cmd/osbuild-dnf-json-tests
92a79e
go test -c -tags=integration -ldflags="${TEST_LDFLAGS}" -o _bin/osbuild-weldr-tests %{goipath}/internal/client/
92a79e
go test -c -tags=integration -ldflags="${TEST_LDFLAGS}" -o _bin/osbuild-image-tests %{goipath}/cmd/osbuild-image-tests
92a79e
go test -c -tags=integration -ldflags="${TEST_LDFLAGS}" -o _bin/osbuild-auth-tests %{goipath}/cmd/osbuild-auth-tests
92a79e
go test -c -tags=integration -ldflags="${TEST_LDFLAGS}" -o _bin/osbuild-koji-tests %{goipath}/cmd/osbuild-koji-tests
92a79e
go test -c -tags=integration -ldflags="${TEST_LDFLAGS}" -o _bin/osbuild-composer-dbjobqueue-tests %{goipath}/cmd/osbuild-composer-dbjobqueue-tests
92a79e
go test -c -tags=integration -ldflags="${TEST_LDFLAGS}" -o _bin/osbuild-composer-manifest-tests %{goipath}/cmd/osbuild-composer-manifest-tests
52a87e
go test -c -tags=integration -ldflags="${TEST_LDFLAGS}" -o _bin/osbuild-service-maintenance-tests %{goipath}/cmd/osbuild-service-maintenance
92a79e
go build -tags=integration -ldflags="${TEST_LDFLAGS}" -o _bin/osbuild-mock-openid-provider %{goipath}/cmd/osbuild-mock-openid-provider
92a79e
92a79e
%endif
92a79e
92a79e
%install
92a79e
install -m 0755 -vd                                                %{buildroot}%{_libexecdir}/osbuild-composer
92a79e
install -m 0755 -vp _bin/osbuild-composer                          %{buildroot}%{_libexecdir}/osbuild-composer/
92a79e
install -m 0755 -vp _bin/osbuild-worker                            %{buildroot}%{_libexecdir}/osbuild-composer/
92a79e
install -m 0755 -vp dnf-json                                       %{buildroot}%{_libexecdir}/osbuild-composer/
92a79e
92a79e
# Only include repositories for the distribution and release
92a79e
install -m 0755 -vd                                                %{buildroot}%{_datadir}/osbuild-composer/repositories
92a79e
# CentOS also defines rhel so we check for centos first
92a79e
%if 0%{?centos}
92a79e
92a79e
# CentOS 9 supports building for CentOS 8 and later
92a79e
%if 0%{?centos} >= 9
92a79e
install -m 0644 -vp repositories/centos-*                          %{buildroot}%{_datadir}/osbuild-composer/repositories/
92a79e
%else
92a79e
# CentOS 8 only supports building for CentOS 8
92a79e
install -m 0644 -vp repositories/centos-%{centos}*                 %{buildroot}%{_datadir}/osbuild-composer/repositories/
92a79e
install -m 0644 -vp repositories/centos-stream-%{centos}*          %{buildroot}%{_datadir}/osbuild-composer/repositories/
92a79e
92a79e
%endif
92a79e
%else
92a79e
%if 0%{?rhel}
92a79e
# RHEL 9 supports building for RHEL 8 and later
92a79e
%if 0%{?rhel} >= 9
92a79e
install -m 0644 -vp repositories/rhel-*                            %{buildroot}%{_datadir}/osbuild-composer/repositories/
92a79e
92a79e
%else
92a79e
# RHEL 8 only supports building for 8
92a79e
install -m 0644 -vp repositories/rhel-%{rhel}*                     %{buildroot}%{_datadir}/osbuild-composer/repositories/
92a79e
92a79e
%endif
92a79e
%endif
92a79e
%endif
92a79e
92a79e
# Fedora can build for all included fedora releases
92a79e
%if 0%{?fedora}
92a79e
install -m 0644 -vp repositories/fedora-*                          %{buildroot}%{_datadir}/osbuild-composer/repositories/
92a79e
%endif
92a79e
92a79e
install -m 0755 -vd                                                %{buildroot}%{_unitdir}
92a79e
install -m 0644 -vp distribution/*.{service,socket}                %{buildroot}%{_unitdir}/
92a79e
92a79e
install -m 0755 -vd                                                %{buildroot}%{_sysusersdir}
92a79e
install -m 0644 -vp distribution/osbuild-composer.conf             %{buildroot}%{_sysusersdir}/
92a79e
92a79e
install -m 0755 -vd                                                %{buildroot}%{_localstatedir}/cache/osbuild-composer/dnf-cache
92a79e
92a79e
install -m 0755 -vd                                                %{buildroot}%{_mandir}/man7
92a79e
install -m 0644 -vp docs/*.7                                       %{buildroot}%{_mandir}/man7/
92a79e
92a79e
%if %{with tests} || 0%{?rhel}
92a79e
92a79e
install -m 0755 -vd                                                %{buildroot}%{_libexecdir}/osbuild-composer-test
92a79e
install -m 0755 -vp _bin/osbuild-composer-cli-tests                %{buildroot}%{_libexecdir}/osbuild-composer-test/
92a79e
install -m 0755 -vp _bin/osbuild-weldr-tests                       %{buildroot}%{_libexecdir}/osbuild-composer-test/
92a79e
install -m 0755 -vp _bin/osbuild-dnf-json-tests                    %{buildroot}%{_libexecdir}/osbuild-composer-test/
92a79e
install -m 0755 -vp _bin/osbuild-image-tests                       %{buildroot}%{_libexecdir}/osbuild-composer-test/
92a79e
install -m 0755 -vp _bin/osbuild-auth-tests                        %{buildroot}%{_libexecdir}/osbuild-composer-test/
92a79e
install -m 0755 -vp _bin/osbuild-koji-tests                        %{buildroot}%{_libexecdir}/osbuild-composer-test/
92a79e
install -m 0755 -vp _bin/osbuild-composer-dbjobqueue-tests         %{buildroot}%{_libexecdir}/osbuild-composer-test/
92a79e
install -m 0755 -vp _bin/osbuild-composer-manifest-tests           %{buildroot}%{_libexecdir}/osbuild-composer-test/
52a87e
install -m 0755 -vp _bin/osbuild-service-maintenance-tests         %{buildroot}%{_libexecdir}/osbuild-composer-test/
92a79e
install -m 0755 -vp _bin/osbuild-mock-openid-provider              %{buildroot}%{_libexecdir}/osbuild-composer-test/
92a79e
install -m 0755 -vp tools/define-compose-url.sh                    %{buildroot}%{_libexecdir}/osbuild-composer-test/
92a79e
install -m 0755 -vp tools/provision.sh                             %{buildroot}%{_libexecdir}/osbuild-composer-test/
92a79e
install -m 0755 -vp tools/gen-certs.sh                             %{buildroot}%{_libexecdir}/osbuild-composer-test/
92a79e
install -m 0755 -vp tools/gen-ssh.sh                               %{buildroot}%{_libexecdir}/osbuild-composer-test/
92a79e
install -m 0755 -vp tools/image-info                               %{buildroot}%{_libexecdir}/osbuild-composer-test/
92a79e
install -m 0755 -vp tools/run-koji-container.sh                    %{buildroot}%{_libexecdir}/osbuild-composer-test/
92a79e
install -m 0755 -vp tools/koji-compose.py                          %{buildroot}%{_libexecdir}/osbuild-composer-test/
92a79e
install -m 0755 -vp tools/libvirt_test.sh                          %{buildroot}%{_libexecdir}/osbuild-composer-test/
52a87e
install -m 0755 -vp tools/s3_test.sh                               %{buildroot}%{_libexecdir}/osbuild-composer-test/
52a87e
install -m 0755 -vp tools/generic_s3_test.sh                       %{buildroot}%{_libexecdir}/osbuild-composer-test/
52a87e
install -m 0755 -vp tools/generic_s3_https_test.sh                 %{buildroot}%{_libexecdir}/osbuild-composer-test/
52a87e
install -m 0755 -vp tools/run-mock-auth-servers.sh                 %{buildroot}%{_libexecdir}/osbuild-composer-test/
92a79e
install -m 0755 -vp tools/set-env-variables.sh                     %{buildroot}%{_libexecdir}/osbuild-composer-test/
92a79e
install -m 0755 -vp tools/test-case-generators/generate-test-cases %{buildroot}%{_libexecdir}/osbuild-composer-test/
92a79e
install -m 0755 -vd                                                %{buildroot}%{_libexecdir}/tests/osbuild-composer
52a87e
install -m 0755 -vp test/cases/*.sh                                %{buildroot}%{_libexecdir}/tests/osbuild-composer/
52a87e
52a87e
install -m 0755 -vd                                                %{buildroot}%{_libexecdir}/tests/osbuild-composer/api
52a87e
install -m 0755 -vp test/cases/api/*.sh                            %{buildroot}%{_libexecdir}/tests/osbuild-composer/api/
52a87e
52a87e
install -m 0755 -vd                                                %{buildroot}%{_libexecdir}/tests/osbuild-composer/api/common
52a87e
install -m 0755 -vp test/cases/api/common/*.sh                     %{buildroot}%{_libexecdir}/tests/osbuild-composer/api/common/
92a79e
92a79e
install -m 0755 -vd                                                %{buildroot}%{_datadir}/tests/osbuild-composer/ansible
92a79e
install -m 0644 -vp test/data/ansible/*                            %{buildroot}%{_datadir}/tests/osbuild-composer/ansible/
92a79e
92a79e
install -m 0755 -vd                                                %{buildroot}%{_datadir}/tests/osbuild-composer/azure
92a79e
install -m 0644 -vp test/data/azure/*                              %{buildroot}%{_datadir}/tests/osbuild-composer/azure/
92a79e
92a79e
install -m 0755 -vd                                                %{buildroot}%{_datadir}/tests/osbuild-composer/manifests
92a79e
install -m 0644 -vp test/data/manifests/*                          %{buildroot}%{_datadir}/tests/osbuild-composer/manifests/
92a79e
92a79e
install -m 0755 -vd                                                %{buildroot}%{_datadir}/tests/osbuild-composer/cloud-init
92a79e
install -m 0644 -vp test/data/cloud-init/*                         %{buildroot}%{_datadir}/tests/osbuild-composer/cloud-init/
92a79e
92a79e
install -m 0755 -vd                                                %{buildroot}%{_datadir}/tests/osbuild-composer/composer
92a79e
install -m 0644 -vp test/data/composer/*                           %{buildroot}%{_datadir}/tests/osbuild-composer/composer/
92a79e
92a79e
install -m 0755 -vd                                                %{buildroot}%{_datadir}/tests/osbuild-composer/worker
92a79e
install -m 0644 -vp test/data/worker/*                             %{buildroot}%{_datadir}/tests/osbuild-composer/worker/
92a79e
92a79e
install -m 0755 -vd                                                %{buildroot}%{_datadir}/tests/osbuild-composer/repositories
92a79e
install -m 0644 -vp test/data/repositories/*                       %{buildroot}%{_datadir}/tests/osbuild-composer/repositories/
92a79e
92a79e
install -m 0755 -vd                                                %{buildroot}%{_datadir}/tests/osbuild-composer/kerberos
92a79e
install -m 0644 -vp test/data/kerberos/*                           %{buildroot}%{_datadir}/tests/osbuild-composer/kerberos/
92a79e
92a79e
install -m 0755 -vd                                                %{buildroot}%{_datadir}/tests/osbuild-composer/keyring
92a79e
install -m 0644 -vp test/data/keyring/id_rsa.pub                   %{buildroot}%{_datadir}/tests/osbuild-composer/keyring/
92a79e
install -m 0600 -vp test/data/keyring/id_rsa                       %{buildroot}%{_datadir}/tests/osbuild-composer/keyring/
92a79e
92a79e
install -m 0755 -vd                                                %{buildroot}%{_datadir}/tests/osbuild-composer/koji
92a79e
install -m 0644 -vp test/data/koji/*                               %{buildroot}%{_datadir}/tests/osbuild-composer/koji/
92a79e
92a79e
install -m 0755 -vd                                                %{buildroot}%{_datadir}/tests/osbuild-composer/x509
92a79e
install -m 0644 -vp test/data/x509/*                               %{buildroot}%{_datadir}/tests/osbuild-composer/x509/
92a79e
92a79e
install -m 0755 -vd                                                %{buildroot}%{_datadir}/tests/osbuild-composer/schemas
52a87e
install -m 0644 -vp pkg/jobqueue/dbjobqueue/schemas/*              %{buildroot}%{_datadir}/tests/osbuild-composer/schemas/
92a79e
92a79e
install -m 0755 -vd                                               %{buildroot}%{_datadir}/tests/osbuild-composer/upgrade8to9
92a79e
install -m 0644 -vp test/data/upgrade8to9/*                       %{buildroot}%{_datadir}/tests/osbuild-composer/upgrade8to9/
92a79e
92a79e
%endif
92a79e
92a79e
%check
92a79e
export GOFLAGS="-buildmode=pie"
92a79e
%if 0%{?rhel}
92a79e
export GOFLAGS+=" -mod=vendor"
92a79e
export GOPATH=$PWD/_build:%{gopath}
92a79e
# cd inside GOPATH, otherwise go with GO111MODULE=off ignores vendor directory
92a79e
cd $PWD/_build/src/%{goipath}
92a79e
%gotest ./...
92a79e
%else
92a79e
%gocheck
92a79e
%endif
92a79e
92a79e
%post
92a79e
%systemd_post osbuild-composer.service osbuild-composer.socket osbuild-composer-api.socket osbuild-remote-worker.socket
92a79e
92a79e
%preun
92a79e
%systemd_preun osbuild-composer.service osbuild-composer.socket osbuild-composer-api.socket osbuild-remote-worker.socket
92a79e
92a79e
%postun
92a79e
%systemd_postun_with_restart osbuild-composer.service osbuild-composer.socket osbuild-composer-api.socket osbuild-remote-worker.socket
92a79e
92a79e
%files
92a79e
%license LICENSE
92a79e
%doc README.md
92a79e
%{_mandir}/man7/%{name}.7*
92a79e
%{_unitdir}/osbuild-composer.service
92a79e
%{_unitdir}/osbuild-composer.socket
92a79e
%{_unitdir}/osbuild-composer-api.socket
92a79e
%{_unitdir}/osbuild-local-worker.socket
92a79e
%{_unitdir}/osbuild-remote-worker.socket
92a79e
%{_sysusersdir}/osbuild-composer.conf
92a79e
92a79e
%package core
92a79e
Summary:    The core osbuild-composer binary
92a79e
Requires:   %{name}-dnf-json = %{version}-%{release}
92a79e
92a79e
%description core
92a79e
The core osbuild-composer binary. This is suitable both for spawning in containers and by systemd.
92a79e
92a79e
%files core
92a79e
%{_libexecdir}/osbuild-composer/osbuild-composer
92a79e
%{_datadir}/osbuild-composer/
92a79e
92a79e
%package worker
92a79e
Summary:    The worker for osbuild-composer
92a79e
Requires:   systemd
92a79e
Requires:   qemu-img
596669
Requires:   osbuild >= 81
596669
Requires:   osbuild-ostree >= 81
596669
Requires:   osbuild-lvm2 >= 81
596669
Requires:   osbuild-luks2 >= 81
92a79e
Requires:   %{name}-dnf-json = %{version}-%{release}
92a79e
92a79e
%description worker
92a79e
The worker for osbuild-composer
92a79e
92a79e
%files worker
92a79e
%{_libexecdir}/osbuild-composer/osbuild-worker
92a79e
%{_unitdir}/osbuild-worker@.service
92a79e
%{_unitdir}/osbuild-remote-worker@.service
92a79e
92a79e
%post worker
92a79e
%systemd_post osbuild-worker@.service osbuild-remote-worker@.service
92a79e
92a79e
%preun worker
92a79e
# systemd_preun uses systemctl disable --now which doesn't work well with template services.
92a79e
# See https://github.com/systemd/systemd/issues/15620
596669
# The following lines mimicks its behaviour by running two commands.
596669
# The scriptlet is supposed to run only when the package is being removed.
596669
if [ $1 -eq 0 ] && [ -d /run/systemd/system ]; then
92a79e
    # disable and stop all the worker services
92a79e
    systemctl --no-reload disable osbuild-worker@.service osbuild-remote-worker@.service
92a79e
    systemctl stop "osbuild-worker@*.service" "osbuild-remote-worker@*.service"
92a79e
fi
92a79e
92a79e
%postun worker
92a79e
# restart all the worker services
92a79e
%systemd_postun_with_restart "osbuild-worker@*.service" "osbuild-remote-worker@*.service"
92a79e
92a79e
%package dnf-json
92a79e
Summary: The dnf-json binary used by osbuild-composer and the workers
92a79e
92a79e
# Conflicts with older versions of composer that provide the same files
596669
# this can be removed when RHEL 8 reaches EOL
92a79e
Conflicts: osbuild-composer <= 35
92a79e
92a79e
%description dnf-json
92a79e
The dnf-json binary used by osbuild-composer and the workers.
92a79e
92a79e
%files dnf-json
92a79e
%{_libexecdir}/osbuild-composer/dnf-json
92a79e
48faaa
%post dnf-json
48faaa
# Fix ownership of the rpmmd cache files from previous versions where it was owned by root:root
48faaa
if [ -e /var/cache/osbuild-composer/rpmmd ]; then
48faaa
    chown -f -R --from root:root _osbuild-composer:_osbuild-composer /var/cache/osbuild-composer/rpmmd
48faaa
fi
48faaa
92a79e
%if %{with tests} || 0%{?rhel}
92a79e
92a79e
%package tests
92a79e
Summary:    Integration tests
92a79e
%if %{with relax_requires}
92a79e
Requires:   %{name}
92a79e
%else
92a79e
Requires:   %{name} = %{version}-%{release}
92a79e
%endif
92a79e
Requires:   composer-cli
92a79e
Requires:   createrepo_c
92a79e
Requires:   xorriso
92a79e
Requires:   qemu-kvm-core
92a79e
Requires:   systemd-container
92a79e
Requires:   jq
92a79e
Requires:   unzip
92a79e
Requires:   container-selinux
92a79e
Requires:   dnsmasq
92a79e
Requires:   krb5-workstation
92a79e
Requires:   podman
92a79e
Requires:   python3
92a79e
Requires:   sssd-krb5
92a79e
Requires:   libvirt-client libvirt-daemon
92a79e
Requires:   libvirt-daemon-config-network
92a79e
Requires:   libvirt-daemon-config-nwfilter
92a79e
Requires:   libvirt-daemon-driver-interface
92a79e
Requires:   libvirt-daemon-driver-network
92a79e
Requires:   libvirt-daemon-driver-nodedev
92a79e
Requires:   libvirt-daemon-driver-nwfilter
92a79e
Requires:   libvirt-daemon-driver-qemu
92a79e
Requires:   libvirt-daemon-driver-secret
92a79e
Requires:   libvirt-daemon-driver-storage
92a79e
Requires:   libvirt-daemon-driver-storage-disk
92a79e
Requires:   libvirt-daemon-kvm
92a79e
Requires:   qemu-img
92a79e
Requires:   qemu-kvm
92a79e
Requires:   rpmdevtools
92a79e
Requires:   virt-install
92a79e
Requires:   expect
92a79e
Requires:   python3-lxml
92a79e
Requires:   httpd
92a79e
Requires:   mod_ssl
92a79e
Requires:   openssl
92a79e
Requires:   firewalld
92a79e
Requires:   podman-plugins
92a79e
Requires:   dnf-plugins-core
92a79e
Requires:   skopeo
52a87e
Requires:   make
52a87e
Requires:   python3-pip
92a79e
%if 0%{?fedora}
92a79e
# koji and ansible are not in RHEL repositories. Depending on them breaks RHEL
92a79e
# gating (see OSCI-1541). The test script must enable EPEL and install those
92a79e
# packages manually.
92a79e
Requires:   koji
92a79e
Requires:   ansible
92a79e
%endif
92a79e
%ifarch %{arm}
92a79e
Requires:   edk2-aarch64
92a79e
%endif
92a79e
92a79e
%description tests
92a79e
Integration tests to be run on a pristine-dedicated system to test the osbuild-composer package.
92a79e
92a79e
%files tests
92a79e
%{_libexecdir}/osbuild-composer-test/
92a79e
%{_libexecdir}/tests/osbuild-composer/
92a79e
%{_datadir}/tests/osbuild-composer/
92a79e
92a79e
%endif
92a79e
92a79e
%changelog
596669
* Mon Mar 27 2023 Tomáš Hozza <thozza@redhat.com> - 76-2
596669
- distro/rhel: add payload repos to os package set (rhbz#2177699)
596669
- Manifest: always set kernel options in grub2 stage (rhbz#2162299)
596669
596669
* Wed Mar 01 2023 imagebuilder-bot <imagebuilder-bots+imagebuilder-bot@redhat.com> - 76-1
596669
- New upstream release
596669
596669
* Wed Feb 22 2023 imagebuilder-bot <imagebuilder-bots+imagebuilder-bot@redhat.com> - 75-1
596669
- New upstream release
596669
596669
* Wed Feb 08 2023 imagebuilder-bot <imagebuilder-bots+imagebuilder-bot@redhat.com> - 74-1
596669
- New upstream release
596669
596669
* Wed Jan 25 2023 imagebuilder-bot <imagebuilder-bots+imagebuilder-bot@redhat.com> - 73-1
596669
- New upstream release
596669
596669
* Wed Jan 11 2023 imagebuilder-bot <imagebuilder-bots+imagebuilder-bot@redhat.com> - 72-1
596669
- New upstream release
596669
596669
* Wed Dec 28 2022 imagebuilder-bot <imagebuilder-bots+imagebuilder-bot@redhat.com> - 71-1
596669
- New upstream release
596669
596669
* Wed Dec 14 2022 imagebuilder-bot <imagebuilder-bots+imagebuilder-bot@redhat.com> - 70-1
596669
- New upstream release
596669
596669
* Wed Nov 30 2022 imagebuilder-bot <imagebuilder-bots+imagebuilder-bot@redhat.com> - 69-1
596669
- New upstream release
596669
596669
* Wed Nov 16 2022 imagebuilder-bot <imagebuilder-bots+imagebuilder-bot@redhat.com> - 68-1
596669
- New upstream release
48faaa
596669
* Thu Nov 03 2022 Tomas Hozza <thozza@redhat.com> - 67-2
596669
- Fix functional tests to make them pass in RHEL-9.2 gating
48faaa
596669
* Wed Nov 02 2022 imagebuilder-bots+imagebuilder-bot@redhat.com <imagebuilder-bot> - 67-1
52a87e
- New upstream release
52a87e
52a87e
* Mon Aug 29 2022 Ondřej Budai <ondrej@budai.cz> - 62-1
52a87e
- New upstream release
52a87e
52a87e
* Wed Aug 24 2022 imagebuilder-bot <imagebuilder-bots+imagebuilder-bot@redhat.com> - 60-1
52a87e
- New upstream release
52a87e
52a87e
* Wed Aug 10 2022 imagebuilder-bot <imagebuilder-bots+imagebuilder-bot@redhat.com> - 59-1
52a87e
- New upstream release
52a87e
52a87e
* Thu Jul 28 2022 imagebuilder-bot <imagebuilder-bots+imagebuilder-bot@redhat.com> - 58-1
52a87e
- New upstream release
52a87e
52a87e
* Wed Jul 13 2022 imagebuilder-bot <imagebuilder-bots+imagebuilder-bot@redhat.com> - 57-1
52a87e
- New upstream release
52a87e
52a87e
* Wed Jun 15 2022 imagebuilder-bot <imagebuilder-bots+imagebuilder-bot@redhat.com> - 55-1
52a87e
- New upstream release
52a87e
52a87e
* Wed Jun 01 2022 imagebuilder-bot <imagebuilder-bots+imagebuilder-bot@redhat.com> - 54-1
52a87e
- New upstream release
52a87e
52a87e
* Fri May 20 2022 imagebuilder-bot <imagebuilder-bots+imagebuilder-bot@redhat.com> - 53-1
220dc8
- New upstream release
220dc8
52a87e
* Wed May 04 2022 Ondřej Budai <ondrej@budai.cz> - 51-1
92a79e
- New upstream release
92a79e
92a79e
* Mon Feb 28 2022 Simon Steinbeiss <simon.steinbeiss@redhat.com> - 46-1
92a79e
- New upstream release
92a79e
92a79e
* Fri Feb 18 2022 Ondřej Budai <ondrej@budai.cz> - 45-1
92a79e
- New upstream release
92a79e
92a79e
* Fri Feb 11 2022 Thomas Lavocat <tlavocat@redhat.com> - 44-1
92a79e
- New upstream release
92a79e
92a79e
* Wed Jan 26 2022 Thomas Lavocat <tlavocat@redhat.com> - 43-1
92a79e
- New upstream release
92a79e
92a79e
* Wed Jan 12 2022 Thomas Lavocat <tlavocat@redhat.com> - 42-1
92a79e
- New upstream release
92a79e
92a79e
* Wed Dec 22 2021 Ondřej Budai <ondrej@budai.cz> - 41-1
92a79e
- New upstream release
92a79e
92a79e
* Thu Dec 09 2021 Ondřej Budai <ondrej@budai.cz> - 40-1
92a79e
- New upstream release
92a79e
92a79e
* Wed Nov 24 2021 Chloe Kaubisch <chloe.kaubisch@gmail.com> - 39-1
92a79e
- New upstream release
92a79e
92a79e
* Fri Nov 12 2021 'Diaa Sami' <'<disami@redhat.com>'> - 38-1
92a79e
- New upstream release
92a79e
92a79e
* Tue Nov 02 2021 lavocatt - 37-1
92a79e
- New upstream release
92a79e
92a79e
* Thu Oct 14 2021 Achilleas Koutsou <achilleas@redhat.com> - 36-1
92a79e
- New upstream release
92a79e
92a79e
* Mon Aug 30 2021 Tom Gundersen <teg@jklm.no> - 33-1
92a79e
- New upstream release
92a79e
92a79e
* Sun Aug 29 2021 Tom Gundersen <teg@jklm.no> - 32-1
92a79e
- New upstream release
92a79e
92a79e
* Sun Aug 15 2021 Ondřej Budai <ondrej@budai.cz> - 31-1
92a79e
- New upstream release
92a79e
92a79e
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 30-2
92a79e
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
92a79e
  Related: rhbz#1991688
92a79e
92a79e
* Fri Jul 02 2021 Ondřej Budai <ondrej@budai.cz> - 30-1
92a79e
- New upstream release
92a79e
92a79e
* Tue Jun 22 2021 Mohan Boddu <mboddu@redhat.com> - 29-3
92a79e
- Rebuilt for RHEL 9 BETA for openssl 3.0
92a79e
  Related: rhbz#1971065
92a79e
92a79e
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 29-2
92a79e
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
92a79e
92a79e
* Fri Mar 05 2021 Martin Sehnoutka <msehnout@redhat.com> - 29-1
92a79e
- New upstream release
92a79e
92a79e
* Sat Feb 20 2021 Martin Sehnoutka <msehnout@redhat.com> - 28-1
92a79e
- New upstream release
92a79e
92a79e
* Thu Feb 04 2021 Ondrej Budai <obudai@redhat.com> - 27-1
92a79e
- New upstream release
92a79e
92a79e
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 26-3
92a79e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
92a79e
92a79e
* Thu Dec 17 2020 Ondrej Budai <obudai@redhat.com> - 26-2
92a79e
- Fix the compatibility with a new golang-github-azure-storage-blob 0.12
92a79e
92a79e
* Thu Dec 17 2020 Ondrej Budai <obudai@redhat.com> - 26-1
92a79e
- New upstream release
92a79e
92a79e
* Thu Nov 19 2020 Ondrej Budai <obudai@redhat.com> - 25-1
92a79e
- New upstream release
92a79e
92a79e
* Thu Nov 12 2020 Ondrej Budai <obudai@redhat.com> - 24-1
92a79e
- New upstream release
92a79e
92a79e
* Fri Nov 06 2020 Ondrej Budai <obudai@redhat.com> - 23-1
92a79e
- New upstream release
92a79e
92a79e
* Fri Oct 16 2020 Ondrej Budai <obudai@redhat.com> - 22-1
92a79e
- New upstream release
92a79e
92a79e
* Sun Aug 23 2020 Tom Gundersen <teg@jklm.no> - 20-1
92a79e
- New upstream release
92a79e
92a79e
* Tue Aug 11 2020 Tom Gundersen <teg@jklm.no> - 19-1
92a79e
- New upstream release
92a79e
92a79e
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 18-2
92a79e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
92a79e
92a79e
* Wed Jul 22 2020 Ondrej Budai <obudai@redhat.com> - 18-1
92a79e
- New upstream release
92a79e
92a79e
* Wed Jul 08 2020 Ondrej Budai <obudai@redhat.com> - 17-1
92a79e
- New upstream release
92a79e
92a79e
* Mon Jun 29 2020 Ondrej Budai <obudai@redhat.com> - 16-1
92a79e
- New upstream release
92a79e
92a79e
* Fri Jun 12 2020 Ondrej Budai <obudai@redhat.com> - 15-1
92a79e
- New upstream release
92a79e
92a79e
* Thu Jun 04 2020 Ondrej Budai <obudai@redhat.com> - 14-1
92a79e
- New upstream release
92a79e
92a79e
* Fri May 29 2020 Ondrej Budai <obudai@redhat.com> - 13-2
92a79e
- Add missing osbuild-ostree dependency
92a79e
92a79e
* Thu May 28 2020 Ondrej Budai <obudai@redhat.com> - 13-1
92a79e
- New upstream release
92a79e
92a79e
* Thu May 14 2020 Ondrej Budai <obudai@redhat.com> - 12-1
92a79e
- New upstream release
92a79e
92a79e
* Wed Apr 29 2020 Ondrej Budai <obudai@redhat.com> - 11-1
92a79e
- New upstream release
92a79e
92a79e
* Wed Apr 15 2020 Ondrej Budai <obudai@redhat.com> - 10-1
92a79e
- New upstream release
92a79e
92a79e
* Wed Apr 01 2020 Ondrej Budai <obudai@redhat.com> - 9-1
92a79e
- New upstream release
92a79e
92a79e
* Mon Mar 23 2020 Ondrej Budai <obudai@redhat.com> - 8-1
92a79e
- Initial package (renamed from golang-github-osbuild-composer)