fix: ouch (#846)

This commit is contained in:
madomado
2023-12-17 17:04:19 +08:00
committed by GitHub
parent 9ddd8f1ed3
commit cd6acfd8ba
2 changed files with 8 additions and 8 deletions
@@ -1,8 +1,8 @@
--- ouch-0.4.2/Cargo.toml 1970-01-01T00:00:01+00:00
+++ ouch-0.4.2/Cargo.toml 2023-08-16T09:08:02.651053+00:00
@@ -165,5 +165,3 @@
"zstd/thin",
--- ouch-0.5.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ ouch-0.5.1/Cargo.toml 2023-12-10T09:36:31.446957+00:00
@@ -176,5 +176,3 @@
]
use_zstd_thin = ["zstd/thin"]
-[target."cfg(not(unix))".dependencies.is_executable]
-version = "1.0.1"
+4 -4
View File
@@ -1,4 +1,4 @@
# Generated by rust2rpm 24
# Generated by rust2rpm 25
%bcond_without check
%global crate ouch
@@ -11,10 +11,10 @@ Summary: Command-line utility for easily compressing and decompressing fi
License: MIT
URL: https://crates.io/crates/ouch
Source: %{crates_source}
# Automatically generated patch to strip foreign dependencies
# Automatically generated patch to strip dependencies and normalize metadata
Patch: ouch-fix-metadata-auto.diff
BuildRequires: anda-srpm-macros rust-packaging >= 21
BuildRequires: anda-srpm-macros cargo-rpm-macros >= 24
BuildRequires: gcc-c++
%global _description %{expand:
@@ -36,7 +36,7 @@ Summary: %{summary}
%{_bindir}/ouch
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%autosetup -n %{crate}-%{version} -p1
%cargo_prep_online
%build