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