File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ Summary: Bootloader updater
99
1010License: Apache-2.0
1111URL: https://github.com/coreos/bootupd
12- Source0: %{crates_source }
12+ Source0: %{url }/releases/download/v%{ version }/bootupd-%{ version }.crate
1313Source1: %{url }/releases/download/v%{version }/bootupd-%{version }-vendor.tar.zstd
1414%if 0%{?fedora } || 0%{?rhel } >= 10
1515ExcludeArch: %{ix86}
Original file line number Diff line number Diff line change @@ -89,7 +89,6 @@ fn git_timestamp(sh: &Shell) -> Result<String> {
8989struct Package {
9090 version : String ,
9191 srcpath : Utf8PathBuf ,
92- vendorpath : Utf8PathBuf ,
9392}
9493
9594/// Return the timestamp of the latest git commit in seconds since the Unix epoch.
@@ -176,7 +175,6 @@ fn impl_srpm(sh: &Shell) -> Result<Utf8PathBuf> {
176175 let pkg = impl_package ( sh) ?;
177176 vendor ( sh) ?;
178177 let td = tempfile:: tempdir_in ( "target" ) . context ( "Allocating tmpdir" ) ?;
179- let td = td. into_path ( ) ;
180178 let td: & Utf8Path = td. as_path ( ) . try_into ( ) . unwrap ( ) ;
181179 let srcpath = td. join ( pkg. srcpath . file_name ( ) . unwrap ( ) ) ;
182180 std:: fs:: rename ( pkg. srcpath , srcpath) ?;
You can’t perform that action at this time.
0 commit comments