Update to 0.6.0

- Migrate to rust2rpm.toml

Signed-off-by: Michel Lind <salimma@fedoraproject.org>
epel9 imports/e9/rust-build-fs-tree-0.6.0-1.el9
Michel Lind 1 year ago
parent e9da238e67
commit 65bb49135d
No known key found for this signature in database
GPG Key ID: 8B229D2F7CCC04F2

1
.gitignore vendored

@ -1 +1,2 @@
/build-fs-tree-0.3.1.crate /build-fs-tree-0.3.1.crate
/build-fs-tree-0.6.0.crate

@ -1,6 +1,6 @@
--- build-fs-tree-0.3.1/Cargo.toml 1970-01-01T00:00:01+00:00 --- build-fs-tree-0.6.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ build-fs-tree-0.3.1/Cargo.toml 2023-02-28T16:52:13.091863+00:00 +++ build-fs-tree-0.6.0/Cargo.toml 2024-01-03T21:44:29.816098+00:00
@@ -29,17 +29,6 @@ @@ -46,18 +46,6 @@
path = "lib.rs" path = "lib.rs"
doc = true doc = true
@ -15,6 +15,7 @@
-path = "_cli/build-fs-tree-completions.rs" -path = "_cli/build-fs-tree-completions.rs"
-doc = false -doc = false
-required-features = ["cli-completions"] -required-features = ["cli-completions"]
[dependencies.derive_more] -
version = "^0.99.17" [dependencies.clap]
version = "^4.0.32"
optional = true

@ -1,11 +1,11 @@
# Generated by rust2rpm 24 # Generated by rust2rpm 25
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate build-fs-tree %global crate build-fs-tree
Name: rust-build-fs-tree Name: rust-build-fs-tree
Version: 0.3.1 Version: 0.6.0
Release: %autorelease Release: %autorelease
Summary: Generate a filesystem tree from a macro or a YAML tree Summary: Generate a filesystem tree from a macro or a YAML tree
@ -15,7 +15,7 @@ Source: %{crates_source}
# Manually created patch for downstream crate metadata changes # Manually created patch for downstream crate metadata changes
Patch: build-fs-tree-fix-metadata.diff Patch: build-fs-tree-fix-metadata.diff
BuildRequires: rust-packaging >= 21 BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand: %global _description %{expand:
Generate a filesystem tree from a macro or a YAML tree.} Generate a filesystem tree from a macro or a YAML tree.}
@ -48,8 +48,20 @@ use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+clap-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+clap-devel %{_description}
This package contains library source intended for building other packages which
use the "clap" feature of the "%{crate}" crate.
%files -n %{name}+clap-devel
%ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version} -p1
%cargo_prep %cargo_prep
%generate_buildrequires %generate_buildrequires

@ -1,6 +0,0 @@
[DEFAULT]
unwanted-features =
cli
cli-completions
structopt
structopt-utilities

@ -0,0 +1,2 @@
[features]
hide = ["clap-utilities", "cli", "cli-completions"]

@ -1 +1 @@
SHA512 (build-fs-tree-0.3.1.crate) = 8f6c4b8d306d7fa27b74d6b68efc71fa4576ebcba0315084ef25ba949a669bd5e1072e94bed5275bcfa9d268099f90ab6ccd192c87fc8432f3a2dc2f729eecaf SHA512 (build-fs-tree-0.6.0.crate) = 906403ad6914bc92f7434597f82b9fa3625044ca79abca651367511a5d94fae55621c9ed6df1b8405ae09c91a0f7d7f4d82dd772c9544d595a457acaac1c06b5

Loading…
Cancel
Save