Blame SPECS/osbuild-composer.spec

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