Blame SPECS/osbuild-composer.spec

478111
# Do not build with tests by default
478111
# Pass --with tests to rpmbuild to override
478111
%bcond_with tests
478111
a31120
# When --with relax_requires is specified osbuild-composer-tests
a31120
# will require osbuild-composer only by name, excluding version/release
a31120
# This is used internally during nightly pipeline testing!
a31120
%bcond_with relax_requires
a31120
478111
%global goipath         github.com/osbuild/osbuild-composer
478111
bd7fde
Version:        46.3
478111
478111
%gometa
478111
478111
%global common_description %{expand:
171bdc
A service for building customized OS artifacts, such as VM images and OSTree
171bdc
commits, that uses osbuild under the hood. Besides building images for local
171bdc
usage, it can also upload images directly to cloud.
171bdc
171bdc
It is compatible with composer-cli and cockpit-composer clients.
478111
}
478111
478111
Name:           osbuild-composer
478111
Release:        1%{?dist}
478111
Summary:        An image building service based on osbuild
478111
a31120
# osbuild-composer doesn't have support for building i686 and armv7hl images
a31120
ExcludeArch:    i686 armv7hl
478111
478111
# Upstream license specification: Apache-2.0
478111
License:        ASL 2.0
478111
URL:            %{gourl}
478111
Source0:        %{gosource}
478111
478111
478111
BuildRequires:  %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
478111
BuildRequires:  systemd
97df7e
BuildRequires:  krb5-devel
97df7e
BuildRequires:  python3-docutils
97df7e
BuildRequires:  make
478111
%if 0%{?fedora}
478111
BuildRequires:  systemd-rpm-macros
478111
BuildRequires:  git
478111
BuildRequires:  golang(github.com/aws/aws-sdk-go)
478111
BuildRequires:  golang(github.com/Azure/azure-sdk-for-go)
478111
BuildRequires:  golang(github.com/Azure/azure-storage-blob-go/azblob)
478111
BuildRequires:  golang(github.com/BurntSushi/toml)
478111
BuildRequires:  golang(github.com/coreos/go-semver/semver)
478111
BuildRequires:  golang(github.com/coreos/go-systemd/activation)
97df7e
BuildRequires:  golang(github.com/deepmap/oapi-codegen/pkg/codegen)
97df7e
BuildRequires:  golang(github.com/go-chi/chi)
a31120
BuildRequires:  golang(github.com/golang-jwt/jwt)
478111
BuildRequires:  golang(github.com/google/uuid)
171bdc
BuildRequires:  golang(github.com/jackc/pgx/v4)
478111
BuildRequires:  golang(github.com/julienschmidt/httprouter)
97df7e
BuildRequires:  golang(github.com/getkin/kin-openapi/openapi3)
97df7e
BuildRequires:  golang(github.com/kolo/xmlrpc)
97df7e
BuildRequires:  golang(github.com/labstack/echo/v4)
478111
BuildRequires:  golang(github.com/gobwas/glob)
478111
BuildRequires:  golang(github.com/google/go-cmp/cmp)
478111
BuildRequires:  golang(github.com/gophercloud/gophercloud)
171bdc
BuildRequires:  golang(github.com/prometheus/client_golang/prometheus/promhttp)
a31120
BuildRequires:  golang(github.com/openshift-online/ocm-sdk-go)
a31120
BuildRequires:  golang(github.com/segmentio/ksuid)
478111
BuildRequires:  golang(github.com/stretchr/testify/assert)
97df7e
BuildRequires:  golang(github.com/ubccr/kerby)
478111
BuildRequires:  golang(github.com/vmware/govmomi)
a31120
BuildRequires:  golang(github.com/oracle/oci-go-sdk/v54)
171bdc
BuildRequires:  golang(cloud.google.com/go)
2bd1b2
BuildRequires:  golang(gopkg.in/ini.v1)
478111
%endif
478111
97df7e
Requires: %{name}-core = %{version}-%{release}
478111
Requires: %{name}-worker = %{version}-%{release}
478111
Requires: systemd
478111
478111
Provides: weldr
478111
478111
%if 0%{?rhel}
478111
Obsoletes: lorax-composer <= 29
478111
Conflicts: lorax-composer
478111
%endif
478111
97df7e
# Remove when we stop releasing into Fedora 35
97df7e
%if 0%{?fedora} >= 34
97df7e
# lorax 34.3 is the first one without the composer subpackage
97df7e
Obsoletes: lorax-composer < 34.3
97df7e
%endif
97df7e
97df7e
# remove when F34 is EOL
97df7e
Obsoletes: osbuild-composer-koji <= 23
97df7e
478111
%description
478111
%{common_description}
478111
478111
%prep
478111
%if 0%{?rhel}
478111
%forgeautosetup -p1
478111
%else
478111
%goprep
478111
%endif
478111
478111
%build
a31120
export GOFLAGS="-buildmode=pie"
478111
%if 0%{?rhel}
478111
GO_BUILD_PATH=$PWD/_build
478111
install -m 0755 -vd $(dirname $GO_BUILD_PATH/src/%{goipath})
478111
ln -fs $PWD $GO_BUILD_PATH/src/%{goipath}
478111
cd $GO_BUILD_PATH/src/%{goipath}
478111
install -m 0755 -vd _bin
478111
export PATH=$PWD/_bin${PATH:+:$PATH}
478111
export GOPATH=$GO_BUILD_PATH:%{gopath}
a31120
export GOFLAGS+=" -mod=vendor"
a31120
%endif
a31120
a31120
# Set the commit hash so that composer can report what source version
a31120
# was used to build it. This has to be set explicitly when calling rpmbuild,
a31120
# this script will not attempt to automatically discover it.
a31120
%if %{?commit:1}0
a31120
export LDFLAGS="${LDFLAGS} -X 'github.com/osbuild/osbuild-composer/internal/common.GitRev=%{commit}'"
478111
%endif
a31120
export LDFLAGS="${LDFLAGS} -X 'github.com/osbuild/osbuild-composer/internal/common.RpmVersion=%{name}-%{?epoch:%epoch:}%{version}-%{release}.%{_arch}'"
478111
478111
%gobuild -o _bin/osbuild-composer %{goipath}/cmd/osbuild-composer
478111
%gobuild -o _bin/osbuild-worker %{goipath}/cmd/osbuild-worker
478111
97df7e
make man
478111
478111
%if %{with tests} || 0%{?rhel}
478111
478111
# Build test binaries with `go test -c`, so that they can take advantage of
478111
# golang's testing package. The golang rpm macros don't support building them
478111
# directly. Thus, do it manually, taking care to also include a build id.
478111
#
478111
# On Fedora, also turn off go modules and set the path to the one into which
478111
# the golang-* packages install source code.
478111
%if 0%{?fedora}
478111
export GO111MODULE=off
478111
export GOPATH=%{gobuilddir}:%{gopath}
478111
%endif
478111
478111
TEST_LDFLAGS="${LDFLAGS:-} -B 0x$(od -N 20 -An -tx1 -w100 /dev/urandom | tr -d ' ')"
478111
97df7e
go test -c -tags=integration -ldflags="${TEST_LDFLAGS}" -o _bin/osbuild-composer-cli-tests %{goipath}/cmd/osbuild-composer-cli-tests
478111
go test -c -tags=integration -ldflags="${TEST_LDFLAGS}" -o _bin/osbuild-dnf-json-tests %{goipath}/cmd/osbuild-dnf-json-tests
478111
go test -c -tags=integration -ldflags="${TEST_LDFLAGS}" -o _bin/osbuild-weldr-tests %{goipath}/internal/client/
478111
go test -c -tags=integration -ldflags="${TEST_LDFLAGS}" -o _bin/osbuild-image-tests %{goipath}/cmd/osbuild-image-tests
97df7e
go test -c -tags=integration -ldflags="${TEST_LDFLAGS}" -o _bin/osbuild-auth-tests %{goipath}/cmd/osbuild-auth-tests
97df7e
go test -c -tags=integration -ldflags="${TEST_LDFLAGS}" -o _bin/osbuild-koji-tests %{goipath}/cmd/osbuild-koji-tests
171bdc
go test -c -tags=integration -ldflags="${TEST_LDFLAGS}" -o _bin/osbuild-composer-dbjobqueue-tests %{goipath}/cmd/osbuild-composer-dbjobqueue-tests
a31120
go test -c -tags=integration -ldflags="${TEST_LDFLAGS}" -o _bin/osbuild-composer-manifest-tests %{goipath}/cmd/osbuild-composer-manifest-tests
97df7e
go build -tags=integration -ldflags="${TEST_LDFLAGS}" -o _bin/cloud-cleaner %{goipath}/cmd/cloud-cleaner
a31120
go build -tags=integration -ldflags="${TEST_LDFLAGS}" -o _bin/osbuild-mock-openid-provider %{goipath}/cmd/osbuild-mock-openid-provider
478111
478111
%endif
478111
478111
%install
a31120
install -m 0755 -vd                                                %{buildroot}%{_libexecdir}/osbuild-composer
a31120
install -m 0755 -vp _bin/osbuild-composer                          %{buildroot}%{_libexecdir}/osbuild-composer/
a31120
install -m 0755 -vp _bin/osbuild-worker                            %{buildroot}%{_libexecdir}/osbuild-composer/
a31120
install -m 0755 -vp dnf-json                                       %{buildroot}%{_libexecdir}/osbuild-composer/
478111
171bdc
# Only include repositories for the distribution and release
a31120
install -m 0755 -vd                                                %{buildroot}%{_datadir}/osbuild-composer/repositories
171bdc
# CentOS also defines rhel so we check for centos first
171bdc
%if 0%{?centos}
171bdc
171bdc
# CentOS 9 supports building for CentOS 8 and later
171bdc
%if 0%{?centos} >= 9
a31120
install -m 0644 -vp repositories/centos-*                          %{buildroot}%{_datadir}/osbuild-composer/repositories/
171bdc
%else
171bdc
# CentOS 8 only supports building for CentOS 8
a31120
install -m 0644 -vp repositories/centos-%{centos}*                 %{buildroot}%{_datadir}/osbuild-composer/repositories/
a31120
install -m 0644 -vp repositories/centos-stream-%{centos}*          %{buildroot}%{_datadir}/osbuild-composer/repositories/
171bdc
171bdc
%endif
171bdc
%else
171bdc
%if 0%{?rhel}
171bdc
# RHEL 9 supports building for RHEL 8 and later
171bdc
%if 0%{?rhel} >= 9
a31120
install -m 0644 -vp repositories/rhel-*                            %{buildroot}%{_datadir}/osbuild-composer/repositories/
171bdc
171bdc
%else
171bdc
# RHEL 8 only supports building for 8
a31120
install -m 0644 -vp repositories/rhel-%{rhel}*                     %{buildroot}%{_datadir}/osbuild-composer/repositories/
171bdc
171bdc
%endif
171bdc
%endif
171bdc
%endif
171bdc
171bdc
# Fedora can build for all included fedora releases
171bdc
%if 0%{?fedora}
a31120
install -m 0644 -vp repositories/fedora-*                          %{buildroot}%{_datadir}/osbuild-composer/repositories/
171bdc
%endif
478111
a31120
install -m 0755 -vd                                                %{buildroot}%{_unitdir}
a31120
install -m 0644 -vp distribution/*.{service,socket}                %{buildroot}%{_unitdir}/
478111
a31120
install -m 0755 -vd                                                %{buildroot}%{_sysusersdir}
a31120
install -m 0644 -vp distribution/osbuild-composer.conf             %{buildroot}%{_sysusersdir}/
478111
a31120
install -m 0755 -vd                                                %{buildroot}%{_localstatedir}/cache/osbuild-composer/dnf-cache
97df7e
a31120
install -m 0755 -vd                                                %{buildroot}%{_mandir}/man7
a31120
install -m 0644 -vp docs/*.7                                       %{buildroot}%{_mandir}/man7/
478111
478111
%if %{with tests} || 0%{?rhel}
478111
a31120
install -m 0755 -vd                                                %{buildroot}%{_libexecdir}/osbuild-composer-test
a31120
install -m 0755 -vp _bin/osbuild-composer-cli-tests                %{buildroot}%{_libexecdir}/osbuild-composer-test/
a31120
install -m 0755 -vp _bin/osbuild-weldr-tests                       %{buildroot}%{_libexecdir}/osbuild-composer-test/
a31120
install -m 0755 -vp _bin/osbuild-dnf-json-tests                    %{buildroot}%{_libexecdir}/osbuild-composer-test/
a31120
install -m 0755 -vp _bin/osbuild-image-tests                       %{buildroot}%{_libexecdir}/osbuild-composer-test/
a31120
install -m 0755 -vp _bin/osbuild-auth-tests                        %{buildroot}%{_libexecdir}/osbuild-composer-test/
a31120
install -m 0755 -vp _bin/osbuild-koji-tests                        %{buildroot}%{_libexecdir}/osbuild-composer-test/
a31120
install -m 0755 -vp _bin/osbuild-composer-dbjobqueue-tests         %{buildroot}%{_libexecdir}/osbuild-composer-test/
a31120
install -m 0755 -vp _bin/osbuild-composer-manifest-tests           %{buildroot}%{_libexecdir}/osbuild-composer-test/
a31120
install -m 0755 -vp _bin/cloud-cleaner                             %{buildroot}%{_libexecdir}/osbuild-composer-test/
a31120
install -m 0755 -vp _bin/osbuild-mock-openid-provider              %{buildroot}%{_libexecdir}/osbuild-composer-test/
a31120
install -m 0755 -vp tools/define-compose-url.sh                    %{buildroot}%{_libexecdir}/osbuild-composer-test/
a31120
install -m 0755 -vp tools/provision.sh                             %{buildroot}%{_libexecdir}/osbuild-composer-test/
a31120
install -m 0755 -vp tools/gen-certs.sh                             %{buildroot}%{_libexecdir}/osbuild-composer-test/
a31120
install -m 0755 -vp tools/gen-ssh.sh                               %{buildroot}%{_libexecdir}/osbuild-composer-test/
a31120
install -m 0755 -vp tools/image-info                               %{buildroot}%{_libexecdir}/osbuild-composer-test/
a31120
install -m 0755 -vp tools/run-koji-container.sh                    %{buildroot}%{_libexecdir}/osbuild-composer-test/
a31120
install -m 0755 -vp tools/koji-compose.py                          %{buildroot}%{_libexecdir}/osbuild-composer-test/
a31120
install -m 0755 -vp tools/koji-compose-v2.py                       %{buildroot}%{_libexecdir}/osbuild-composer-test/
a31120
install -m 0755 -vp tools/libvirt_test.sh                          %{buildroot}%{_libexecdir}/osbuild-composer-test/
a31120
install -m 0755 -vp tools/set-env-variables.sh                     %{buildroot}%{_libexecdir}/osbuild-composer-test/
a31120
install -m 0755 -vp tools/test-case-generators/generate-test-cases %{buildroot}%{_libexecdir}/osbuild-composer-test/
a31120
install -m 0755 -vd                                                %{buildroot}%{_libexecdir}/tests/osbuild-composer
a31120
install -m 0755 -vp test/cases/*                                   %{buildroot}%{_libexecdir}/tests/osbuild-composer/
a31120
a31120
install -m 0755 -vd                                                %{buildroot}%{_datadir}/tests/osbuild-composer/ansible
a31120
install -m 0644 -vp test/data/ansible/*                            %{buildroot}%{_datadir}/tests/osbuild-composer/ansible/
a31120
a31120
install -m 0755 -vd                                                %{buildroot}%{_datadir}/tests/osbuild-composer/azure
a31120
install -m 0644 -vp test/data/azure/*                              %{buildroot}%{_datadir}/tests/osbuild-composer/azure/
a31120
a31120
install -m 0755 -vd                                                %{buildroot}%{_datadir}/tests/osbuild-composer/manifests
a31120
install -m 0644 -vp test/data/manifests/*                          %{buildroot}%{_datadir}/tests/osbuild-composer/manifests/
a31120
a31120
install -m 0755 -vd                                                %{buildroot}%{_datadir}/tests/osbuild-composer/cloud-init
a31120
install -m 0644 -vp test/data/cloud-init/*                         %{buildroot}%{_datadir}/tests/osbuild-composer/cloud-init/
a31120
a31120
install -m 0755 -vd                                                %{buildroot}%{_datadir}/tests/osbuild-composer/composer
a31120
install -m 0644 -vp test/data/composer/*                           %{buildroot}%{_datadir}/tests/osbuild-composer/composer/
a31120
a31120
install -m 0755 -vd                                                %{buildroot}%{_datadir}/tests/osbuild-composer/worker
a31120
install -m 0644 -vp test/data/worker/*                             %{buildroot}%{_datadir}/tests/osbuild-composer/worker/
a31120
a31120
install -m 0755 -vd                                                %{buildroot}%{_datadir}/tests/osbuild-composer/repositories
a31120
install -m 0644 -vp test/data/repositories/*                       %{buildroot}%{_datadir}/tests/osbuild-composer/repositories/
a31120
a31120
install -m 0755 -vd                                                %{buildroot}%{_datadir}/tests/osbuild-composer/kerberos
a31120
install -m 0644 -vp test/data/kerberos/*                           %{buildroot}%{_datadir}/tests/osbuild-composer/kerberos/
a31120
a31120
install -m 0755 -vd                                                %{buildroot}%{_datadir}/tests/osbuild-composer/keyring
a31120
install -m 0644 -vp test/data/keyring/id_rsa.pub                   %{buildroot}%{_datadir}/tests/osbuild-composer/keyring/
a31120
install -m 0600 -vp test/data/keyring/id_rsa                       %{buildroot}%{_datadir}/tests/osbuild-composer/keyring/
a31120
a31120
install -m 0755 -vd                                                %{buildroot}%{_datadir}/tests/osbuild-composer/koji
a31120
install -m 0644 -vp test/data/koji/*                               %{buildroot}%{_datadir}/tests/osbuild-composer/koji/
a31120
a31120
install -m 0755 -vd                                                %{buildroot}%{_datadir}/tests/osbuild-composer/x509
a31120
install -m 0644 -vp test/data/x509/*                               %{buildroot}%{_datadir}/tests/osbuild-composer/x509/
a31120
a31120
install -m 0755 -vd                                                %{buildroot}%{_datadir}/tests/osbuild-composer/openshift
a31120
install -m 0644 -vp test/data/openshift/*                          %{buildroot}%{_datadir}/tests/osbuild-composer/openshift/
a31120
a31120
install -m 0755 -vd                                                %{buildroot}%{_datadir}/tests/osbuild-composer/schemas
a31120
install -m 0644 -vp internal/jobqueue/dbjobqueue/schemas/*         %{buildroot}%{_datadir}/tests/osbuild-composer/schemas/
a31120
a31120
install -m 0755 -vd                                               %{buildroot}%{_datadir}/tests/osbuild-composer/upgrade8to9
a31120
install -m 0644 -vp test/data/upgrade8to9/*                       %{buildroot}%{_datadir}/tests/osbuild-composer/upgrade8to9/
171bdc
478111
%endif
478111
478111
%check
a31120
export GOFLAGS="-buildmode=pie"
478111
%if 0%{?rhel}
a31120
export GOFLAGS+=" -mod=vendor"
478111
export GOPATH=$PWD/_build:%{gopath}
97df7e
# cd inside GOPATH, otherwise go with GO111MODULE=off ignores vendor directory
97df7e
cd $PWD/_build/src/%{goipath}
478111
%gotest ./...
478111
%else
478111
%gocheck
478111
%endif
478111
478111
%post
97df7e
%systemd_post osbuild-composer.service osbuild-composer.socket osbuild-composer-api.socket osbuild-remote-worker.socket
478111
478111
%preun
97df7e
%systemd_preun osbuild-composer.service osbuild-composer.socket osbuild-composer-api.socket osbuild-remote-worker.socket
478111
478111
%postun
97df7e
%systemd_postun_with_restart osbuild-composer.service osbuild-composer.socket osbuild-composer-api.socket osbuild-remote-worker.socket
478111
478111
%files
478111
%license LICENSE
478111
%doc README.md
97df7e
%{_mandir}/man7/%{name}.7*
478111
%{_unitdir}/osbuild-composer.service
478111
%{_unitdir}/osbuild-composer.socket
97df7e
%{_unitdir}/osbuild-composer-api.socket
97df7e
%{_unitdir}/osbuild-local-worker.socket
478111
%{_unitdir}/osbuild-remote-worker.socket
478111
%{_sysusersdir}/osbuild-composer.conf
478111
97df7e
%package core
97df7e
Summary:    The core osbuild-composer binary
a31120
Requires:   %{name}-dnf-json = %{version}-%{release}
97df7e
97df7e
%description core
97df7e
The core osbuild-composer binary. This is suitable both for spawning in containers and by systemd.
97df7e
97df7e
%files core
97df7e
%{_libexecdir}/osbuild-composer/osbuild-composer
97df7e
%{_datadir}/osbuild-composer/
97df7e
478111
%package worker
478111
Summary:    The worker for osbuild-composer
478111
Requires:   systemd
97df7e
Requires:   qemu-img
a31120
Requires:   osbuild >= 49
a31120
Requires:   osbuild-ostree >= 49
a31120
Requires:   osbuild-lvm2 >= 49
a31120
Requires:   osbuild-luks2 >= 49
a31120
Requires:   %{name}-dnf-json = %{version}-%{release}
478111
478111
# remove in F34
478111
Obsoletes: golang-github-osbuild-composer-worker < %{version}-%{release}
478111
Provides:  golang-github-osbuild-composer-worker = %{version}-%{release}
478111
478111
%description worker
478111
The worker for osbuild-composer
478111
478111
%files worker
478111
%{_libexecdir}/osbuild-composer/osbuild-worker
478111
%{_unitdir}/osbuild-worker@.service
478111
%{_unitdir}/osbuild-remote-worker@.service
478111
478111
%post worker
478111
%systemd_post osbuild-worker@.service osbuild-remote-worker@.service
478111
478111
%preun worker
478111
# systemd_preun uses systemctl disable --now which doesn't work well with template services.
478111
# See https://github.com/systemd/systemd/issues/15620
478111
# The following lines mimicks its behaviour by running two commands:
a31120
if [ -d /run/systemd/system ]; then
a31120
    # disable and stop all the worker services
a31120
    systemctl --no-reload disable osbuild-worker@.service osbuild-remote-worker@.service
a31120
    systemctl stop "osbuild-worker@*.service" "osbuild-remote-worker@*.service"
a31120
fi
478111
478111
%postun worker
478111
# restart all the worker services
478111
%systemd_postun_with_restart "osbuild-worker@*.service" "osbuild-remote-worker@*.service"
478111
a31120
%package dnf-json
a31120
Summary: The dnf-json binary used by osbuild-composer and the workers
a31120
a31120
# Conflicts with older versions of composer that provide the same files
a31120
# this can be removed when RHEL 8 and Fedora 35 reach EOL
a31120
Conflicts: osbuild-composer <= 35
a31120
a31120
%description dnf-json
a31120
The dnf-json binary used by osbuild-composer and the workers.
a31120
a31120
%files dnf-json
a31120
%{_libexecdir}/osbuild-composer/dnf-json
a31120
%{_unitdir}/osbuild-dnf-json.service
a31120
%{_unitdir}/osbuild-dnf-json.socket
a31120
478111
%if %{with tests} || 0%{?rhel}
478111
478111
%package tests
478111
Summary:    Integration tests
a31120
%if %{with relax_requires}
a31120
Requires:   %{name}
a31120
%else
478111
Requires:   %{name} = %{version}-%{release}
a31120
%endif
478111
Requires:   composer-cli
478111
Requires:   createrepo_c
171bdc
Requires:   xorriso
478111
Requires:   qemu-kvm-core
478111
Requires:   systemd-container
97df7e
Requires:   jq
97df7e
Requires:   unzip
97df7e
Requires:   container-selinux
97df7e
Requires:   dnsmasq
97df7e
Requires:   krb5-workstation
97df7e
Requires:   podman
97df7e
Requires:   python3
97df7e
Requires:   sssd-krb5
97df7e
Requires:   libvirt-client libvirt-daemon
97df7e
Requires:   libvirt-daemon-config-network
97df7e
Requires:   libvirt-daemon-config-nwfilter
97df7e
Requires:   libvirt-daemon-driver-interface
97df7e
Requires:   libvirt-daemon-driver-network
97df7e
Requires:   libvirt-daemon-driver-nodedev
97df7e
Requires:   libvirt-daemon-driver-nwfilter
97df7e
Requires:   libvirt-daemon-driver-qemu
97df7e
Requires:   libvirt-daemon-driver-secret
97df7e
Requires:   libvirt-daemon-driver-storage
97df7e
Requires:   libvirt-daemon-driver-storage-disk
97df7e
Requires:   libvirt-daemon-kvm
97df7e
Requires:   qemu-img
97df7e
Requires:   qemu-kvm
a31120
Requires:   rpmdevtools
97df7e
Requires:   virt-install
97df7e
Requires:   expect
97df7e
Requires:   python3-lxml
97df7e
Requires:   httpd
2bd1b2
Requires:   mod_ssl
97df7e
Requires:   openssl
171bdc
Requires:   firewalld
171bdc
# see https://bugzilla.redhat.com/show_bug.cgi?id=1986333
171bdc
%if 0%{?rhel} && 0%{?rhel} != 9
97df7e
Requires:   podman-plugins
171bdc
%endif
171bdc
Requires:   dnf-plugins-core
171bdc
Requires:   skopeo
97df7e
%if 0%{?fedora}
97df7e
# koji and ansible are not in RHEL repositories. Depending on them breaks RHEL
97df7e
# gating (see OSCI-1541). The test script must enable EPEL and install those
97df7e
# packages manually.
97df7e
Requires:   koji
97df7e
Requires:   ansible
97df7e
%endif
478111
%ifarch %{arm}
478111
Requires:   edk2-aarch64
478111
%endif
478111
478111
%description tests
478111
Integration tests to be run on a pristine-dedicated system to test the osbuild-composer package.
478111
478111
%files tests
97df7e
%{_libexecdir}/osbuild-composer-test/
478111
%{_libexecdir}/tests/osbuild-composer/
478111
%{_datadir}/tests/osbuild-composer/
478111
478111
%endif
478111
478111
%changelog
bd7fde
* Thu Apr 28 2022 Ondřej Budai <ondrej@budai.cz> - 46.3-1
bd7fde
- New upstream release
bd7fde
a31120
* Fri Apr 01 2022 Simon Steinbeiss <simon.steinbeiss@redhat.com> - 46.1-1
a31120
- New upstream release
a31120
a31120
* Tue Mar 01 2022 Ondřej Budai <ondrej@budai.cz> - 46-1
a31120
- New upstream release
a31120
a31120
* Sat Feb 19 2022 Ondřej Budai <ondrej@budai.cz> - 45-1
a31120
- New upstream release
a31120
a31120
* Mon Feb 14 2022 Thomas Lavocat <tlavocat@redhat.com> - 44-1
a31120
- New upstream release
a31120
a31120
* Mon Feb 07 2022 Thomas Lavocat <tlavocat@redhat.com> - 43-1
a31120
- New upstream release
a31120
a31120
* Tue Jan 18 2022 Thomas Lavocat <tlavocat@redhat.com> - 42-1
a31120
- New upstream release
a31120
a31120
* Thu Dec 09 2021 Ondřej Budai <ondrej@budai.cz> - 40-1
a31120
- New upstream release
a31120
a31120
* Fri Oct 15 2021 Achilleas Koutsou <achilleas@redhat.com> - 37-1
171bdc
- New upstream release
eeb59a
a31120
* Fri Oct 15 2021 Achilleas Koutsou <achilleas@redhat.com> - 36-1
97df7e
- New upstream release
97df7e
171bdc
* Mon Aug 30 2021 Tom Gundersen <teg@jklm.no> - 33-1
97df7e
- New upstream release
97df7e
171bdc
* Sun Aug 29 2021 Tom Gundersen <teg@jklm.no> - 32-2
97df7e
- New upstream release
97df7e
171bdc
* Thu Aug 12 2021 Ondřej Budai <ondrej@budai.cz> - 31-1
97df7e
- New upstream release
97df7e
97df7e
* Sat Feb 20 2021 Martin Sehnoutka <msehnout@redhat.com> - 28-1
97df7e
- New upstream release
97df7e
97df7e
* Fri Feb 05 2021 Ondrej Budai <obudai@redhat.com> - 27-1
97df7e
- New upstream release
97df7e
97df7e
* Thu Dec 17 2020 Ondrej Budai <obudai@redhat.com> - 26-1
97df7e
- New upstream release
97df7e
97df7e
* Mon Nov 30 2020 Ondrej Budai <obudai@redhat.com> - 25-1
97df7e
- New upstream release 25 (rhbz#1883481)
97df7e
478111
* Thu Sep 03 2020 Tom Gundersen <tgunders@redhat.com> - 20.1-1
478111
- New upstream release 20.1 (rhbz#1872370)
478111
478111
* Sun Aug 23 2020 Tom Gundersen <tgunders@redhat.com> - 20-1
478111
- New upstream release 20 (rhbz#1871184 and rhbz#1871179)
478111
478111
* Thu Aug 13 2020 Tom Gundersen <tgunders@redhat.com> - 19-1
478111
- New upstream release 19 (rhbz#1866015 and rhbz#1866013)
478111
478111
* Thu Jul 09 2020 Ondrej Budai <obudai@redhat.com> - 17-1
478111
- New upstream release 17 (rhbz#1831653)
478111
- Obsolete lorax-composer in favor of osbuild-composer (rhbz#1836844)
478111
478111
* Mon Jun 29 2020 Ondrej Budai <obudai@redhat.com> - 16-1
478111
- New upstream release 16 (rhbz#1831653)
478111
478111
* Fri Jun 12 2020 Ondrej Budai <obudai@redhat.com> - 15-1
478111
- New upstream release 15 (rhbz#1831653)
478111
478111
* Thu Jun 04 2020 Ondrej Budai <obudai@redhat.com> - 14-1
478111
- New upstream release 14 (rhbz#1831653)
478111
478111
* Thu May 28 2020 Ondrej Budai <obudai@redhat.com> - 13-1
478111
- New upstream release 13 (rhbz#1831653)
478111
478111
* Tue May 05 2020 Ondrej Budai <obudai@redhat.com> - 11-1
478111
- Initial package (renamed from golang-github-osbuild-composer) (rhbz#1771887)