Remove conditional around sourcing the vendor tarball

The conditional on `Sources` fails to download the vendor tarball, so
it's better to remove conditional to avoid build failures
This commit is contained in:
Sohan Kunkerkar 2021-12-08 10:39:24 -05:00
parent c32299f0ef
commit b0f5492d6f

View File

@ -12,18 +12,15 @@
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.11.0 Version: 0.11.0
Release: 2%{?dist} Release: 3%{?dist}
Summary: Installer for Fedora CoreOS and RHEL CoreOS Summary: Installer for Fedora CoreOS and RHEL CoreOS
# Upstream license specification: Apache-2.0 # Upstream license specification: Apache-2.0
License: ASL 2.0 License: ASL 2.0
URL: https://crates.io/crates/coreos-installer URL: https://crates.io/crates/coreos-installer
%if 0%{?rhel} && !0%{?eln}
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
Source1: https://github.com/coreos/%{crate}/releases/download/v%{version}/%{crate}-%{version}-vendor.tar.gz # Comment out this line on Fedora
%else # Source1: https://github.com/coreos/%{crate}/releases/download/v%{version}/%{crate}-%{version}-vendor.tar.gz
Source0: %{crates_source}
%endif
Source2: https://github.com/coreos/coreos-installer-dracut/archive/%{dracutcommit}/coreos-installer-dracut-%{dracutshortcommit}.tar.gz Source2: https://github.com/coreos/coreos-installer-dracut/archive/%{dracutcommit}/coreos-installer-dracut-%{dracutshortcommit}.tar.gz
Patch0: 0001-miniso-handle-hardlinked-files.patch Patch0: 0001-miniso-handle-hardlinked-files.patch
@ -195,6 +192,9 @@ from the initramfs.
%endif %endif
%changelog %changelog
* Wed Dec 08 2021 Sohan Kunkerkar <skunkerk@redhat.com> - 0.11.1-3
- Remove conditional around sourcing the vendor tarball
* Mon Nov 29 2021 Jonathan Lebon <jonathan@jlebon.com> - 0.11.0-2 * Mon Nov 29 2021 Jonathan Lebon <jonathan@jlebon.com> - 0.11.0-2
- Backport "miniso: handle hardlinked files" - Backport "miniso: handle hardlinked files"
https://github.com/coreos/coreos-installer/pull/694 https://github.com/coreos/coreos-installer/pull/694