diff --git a/src/rpm/builder.rs b/src/rpm/builder.rs index b256f385..8751fa87 100644 --- a/src/rpm/builder.rs +++ b/src/rpm/builder.rs @@ -141,10 +141,12 @@ impl RPMBuilder { let build_time: u32 = source_date_epoch .ok() .and_then(|s| s.parse().ok()) - .unwrap_or_else(|| SystemTime::now() - .duration_since(SystemTime::UNIX_EPOCH) - .expect("system time predates the Unix epoch?") - .as_secs() as u32); + .unwrap_or_else(|| { + SystemTime::now() + .duration_since(SystemTime::UNIX_EPOCH) + .expect("system time predates the Unix epoch?") + .as_secs() as u32 + }); let build_host = gethostname().to_string_lossy().to_string(); RPMBuilder { diff --git a/test_assets/monkeysphere-0.37-1.el7.noarch.rpm b/test_assets/monkeysphere-0.37-1.el7.noarch.rpm deleted file mode 100644 index 6889c54f..00000000 Binary files a/test_assets/monkeysphere-0.37-1.el7.noarch.rpm and /dev/null differ