Skip to content

Commit

Permalink
Delete unused RPM
Browse files Browse the repository at this point in the history
  • Loading branch information
dralley committed Apr 14, 2023
1 parent 5cfc3be commit 73f7a68
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/rpm/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Binary file removed test_assets/monkeysphere-0.37-1.el7.noarch.rpm
Binary file not shown.

0 comments on commit 73f7a68

Please sign in to comment.