Blame SPECS/osbuild-composer.spec

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