Drop useless windows-only binary /usr/bin/utils

epel9
Fabio Valentini 2 years ago
parent 9f4d6c6187
commit c52a503bc8
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -1,7 +1,14 @@
--- nu-utils-0.74.0/Cargo.toml 1970-01-01T00:00:01+00:00 --- nu-utils-0.74.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ nu-utils-0.74.0/Cargo.toml 2023-01-21T20:55:29.438956+00:00 +++ nu-utils-0.74.0/Cargo.toml 2023-02-05T13:35:10.350782+00:00
@@ -23,7 +23,7 @@ @@ -17,13 +17,10 @@
path = "src/main.rs" description = "Nushell utility functions"
license = "MIT"
repository = "https://github.com/nushell/nushell/tree/main/crates/nu-utils"
-
-[[bin]]
-name = "utils"
-path = "src/main.rs"
+autobins = false
[dependencies.lscolors] [dependencies.lscolors]
-version = "0.12.0" -version = "0.12.0"

@ -1,5 +1,6 @@
# Generated by rust2rpm 23 # Generated by rust2rpm 23
%bcond_without check %bcond_without check
%global debug_package %{nil}
%global crate nu-utils %global crate nu-utils
@ -15,6 +16,7 @@ Source: %{crates_source}
Patch: nu-utils-fix-metadata-auto.diff Patch: nu-utils-fix-metadata-auto.diff
# Manually created patch for downstream crate metadata changes # Manually created patch for downstream crate metadata changes
# * bump lscolors from 0.12.0 to 0.13.0 # * bump lscolors from 0.12.0 to 0.13.0
# * drop windows-only "utils" binary
Patch: nu-utils-fix-metadata.diff Patch: nu-utils-fix-metadata.diff
BuildRequires: rust-packaging >= 21 BuildRequires: rust-packaging >= 21
@ -24,15 +26,6 @@ Nushell utility functions.}
%description %{_description} %description %{_description}
%package -n %{crate}
Summary: %{summary}
%description -n %{crate} %{_description}
%files -n %{crate}
%license LICENSE
%{_bindir}/utils
%package devel %package devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch

Loading…
Cancel
Save