From b0785106d8920a2c6efe47d25371f636da397660 Mon Sep 17 00:00:00 2001 From: Sandro Bonazzola Date: Mar 25 2022 11:06:38 +0000 Subject: drop product.img from tmpl product.img is used only for branding anaconda, moving it to its own package. Signed-off-by: Sandro Bonazzola --- diff --git a/ovirt-node-ng-image.spec.tmpl b/ovirt-node-ng-image.spec.tmpl index 1441235..14b244c 100644 --- a/ovirt-node-ng-image.spec.tmpl +++ b/ovirt-node-ng-image.spec.tmpl @@ -14,9 +14,7 @@ Epoch: $epoch License: GPLv2 Summary: oVirt Node Next Image Update URL: http://www.ovirt.org/node/ -Source0: %{name}-4.5.0.tar.gz Source1: $artifacts['.squashfs'][0] -Source2: product.img Requires: imgbased >= 0.7.2 Obsoletes: %{name}-placeholder < %{version}-%{release} @@ -24,7 +22,8 @@ Provides: %{name}-placeholder = %{version}-%{release} Obsoletes: ovirt-node-ng-image < %{version}-%{release} Provides: ovirt-node-ng-image = %{version}-%{release} -BuildArch: noarch +ExclusiveArch: x86_64 + BuildRequires: autoconf BuildRequires: automake @@ -42,7 +41,7 @@ make %{?_smp_mflags} # Install the image /usr/bin/install -d %{buildroot}/%{_node_image_dir} /usr/bin/install -m 644 %{SOURCE1} %{buildroot}/%{_node_image_file} -/usr/bin/install -m 644 %{SOURCE2} %{buildroot}/%{_node_image_dir}/product.img + %pre # Veriying avoiding installing over an active local storage, @@ -80,7 +79,7 @@ umount "\$MNTDIR" %files %dir %{_node_image_dir} %{_node_image_file} -%{_node_image_dir}/product.img + %changelog * Tue Sep 07 2021 Sandro Bonazzola - 4.5.0