diff --git a/.gitignore b/.gitignore index 08a458b..4df0786 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ /osbuild-composer-27.tar.gz /osbuild-composer-28.tar.gz /osbuild-composer-29.tar.gz +/osbuild-composer-30.tar.gz diff --git a/osbuild-composer.spec b/osbuild-composer.spec index b8d58e2..877d5c5 100644 --- a/osbuild-composer.spec +++ b/osbuild-composer.spec @@ -4,7 +4,7 @@ %global goipath github.com/osbuild/osbuild-composer -Version: 29 +Version: 30 %gometa @@ -110,6 +110,15 @@ sed -i "s$// +build !kolo_xmlrpc_oldapi$// +build kolo_xmlrpc_oldapi$" internal/ sed -i "s$// +build !azblob_oldapi$// +build azblob_oldapi$" internal/upload/azure/page_blob_url.go %endif +%if 0%{?fedora} >= 34 +# Fedora 34 and newer ships a newer version of github.com/getkin/kin-openapi +# package which has a different API than the older ones. Let's make the auto- +# generated code compatible by applying some sed magic. +# +# Remove when F33 is EOL +sed -i "s/openapi3.Swagger/openapi3.T/;s/openapi3.NewSwaggerLoader().LoadSwaggerFromData/openapi3.NewLoader().LoadFromData/" internal/cloudapi/openapi.gen.go +%endif + %build %if 0%{?rhel} GO_BUILD_PATH=$PWD/_build @@ -182,6 +191,7 @@ install -m 0755 -vp _bin/osbuild-image-tests %{buildroot}%{_l install -m 0755 -vp _bin/osbuild-auth-tests %{buildroot}%{_libexecdir}/osbuild-composer-test/ install -m 0755 -vp _bin/osbuild-koji-tests %{buildroot}%{_libexecdir}/osbuild-composer-test/ install -m 0755 -vp _bin/cloud-cleaner %{buildroot}%{_libexecdir}/osbuild-composer-test/ +install -m 0755 -vp tools/define-compose-url.sh %{buildroot}%{_libexecdir}/osbuild-composer-test/ install -m 0755 -vp tools/provision.sh %{buildroot}%{_libexecdir}/osbuild-composer-test/ install -m 0755 -vp tools/gen-certs.sh %{buildroot}%{_libexecdir}/osbuild-composer-test/ install -m 0755 -vp tools/image-info %{buildroot}%{_libexecdir}/osbuild-composer-test/ @@ -273,8 +283,8 @@ The core osbuild-composer binary. This is suitable both for spawning in containe Summary: The worker for osbuild-composer Requires: systemd Requires: qemu-img -Requires: osbuild >= 26 -Requires: osbuild-ostree >= 26 +Requires: osbuild >= 28 +Requires: osbuild-ostree >= 28 # remove in F34 Obsoletes: golang-github-osbuild-composer-worker < %{version}-%{release} @@ -311,7 +321,7 @@ Summary: Integration tests Requires: %{name} = %{version}-%{release} Requires: composer-cli Requires: createrepo_c -Requires: genisoimage +Requires: xorriso Requires: qemu-kvm-core Requires: systemd-container Requires: jq @@ -342,6 +352,8 @@ Requires: python3-lxml Requires: httpd Requires: openssl Requires: podman-plugins +Requires: dnf-plugins-core +Requires: skopeo %if 0%{?fedora} # koji and ansible are not in RHEL repositories. Depending on them breaks RHEL # gating (see OSCI-1541). The test script must enable EPEL and install those @@ -364,6 +376,9 @@ Integration tests to be run on a pristine-dedicated system to test the osbuild-c %endif %changelog +* Mon Jun 14 2021 Ondřej Budai - 30-1 +- New upstream release + * Fri Mar 05 2021 Martin Sehnoutka - 29-1 - New upstream release diff --git a/sources b/sources index 89825bd..fe467a1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (osbuild-composer-29.tar.gz) = d8be239756dcf68f566686ff554111a474153478346bcc14a9f71b1b9a7cfb4bc22113940ac81f34587ea4ec436837ac9061f6a26cd9e21b709baf9f0da73342 +SHA512 (osbuild-composer-30.tar.gz) = 2b2f56d29b61a242edc1ef79502862dbb651e23ba9f717908793401352bd4cf0ec17229df4643e40a42cc4740506adf044fac05565d95d1e64e4c0aee1ae7be9