Keep vendor tarball source line unconditionally on Fedora

The conditional on `Sources` fails to download the vendor tarball
on C9S and RHEL9, so it's better to remove conditional to avoid
build failures.
This commit is contained in:
Sohan Kunkerkar 2022-01-17 11:39:59 -05:00 committed by Sohan Kunkerkar
parent 093b074d87
commit dd00333aef
3 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -15,3 +15,4 @@
/afterburn-5.0.0.crate
/afterburn-5.1.0.crate
/afterburn-5.2.0.crate
/afterburn-5.2.0-vendor.tar.gz

View File

@ -15,9 +15,8 @@ Summary: Simple cloud provider agent
License: ASL 2.0
URL: https://crates.io/crates/afterburn
Source0: %{crates_source}
%if 0%{?rhel} && !0%{?eln}
# not used on Fedora
Source1: https://github.com/coreos/%{crate}/releases/download/v%{version}/%{crate}-%{version}-vendor.tar.gz
%endif
ExclusiveArch: %{rust_arches}
%if 0%{?rhel} && !0%{?eln}

View File

@ -1 +1,2 @@
SHA512 (afterburn-5.2.0.crate) = f988eec2dd5f677d75a09eede3974ac7161ccd7b691908d3af560aa035cdbd93ee0e4f6f86f3a747882ce7d0c88a84a263a9d59afb0205d24f0041e6d53e41de
SHA512 (afterburn-5.2.0-vendor.tar.gz) = bfba2ecccc85fd57acd3f457018504398147da7c6b1019c6f618c4a21eeeb2791418dd36c5d7b5cd4f903ad7c9cf2dcfa5f40d413a67927b2538a4a4b51c9c84