Migrate from rust2rpm.conf to rust2rpm.toml

epel10
Benjamin A. Beasley 3 months ago
parent 7bebd0d3db
commit 76bbaa3b20

@ -1,4 +1,4 @@
# Generated by rust2rpm 24 # Generated by rust2rpm 26
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
@ -14,7 +14,7 @@ License: MIT OR Apache-2.0
URL: https://crates.io/crates/relative-path URL: https://crates.io/crates/relative-path
Source: %{crates_source} Source: %{crates_source}
BuildRequires: rust-packaging >= 21 BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand: %global _description %{expand:
Portable, relative paths for Rust.} Portable, relative paths for Rust.}
@ -62,7 +62,7 @@ use the "serde" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml %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,2 +0,0 @@
[DEFAULT]
all-features = true

@ -0,0 +1,2 @@
[features]
enable-all = true
Loading…
Cancel
Save