diff --git a/.gitignore b/.gitignore index 7c652de..e6b83fb 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /system-deps-6.0.5.crate /system-deps-6.1.0.crate /system-deps-6.1.1.crate +/system-deps-6.1.2.crate diff --git a/rust-system-deps.spec b/rust-system-deps.spec index 7db047d..9b4f0e5 100644 --- a/rust-system-deps.spec +++ b/rust-system-deps.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 # * files required by tests are not shipped with published crates %bcond_with check %global debug_package %{nil} @@ -6,7 +6,7 @@ %global crate system-deps Name: rust-system-deps -Version: 6.1.1 +Version: 6.1.2 Release: %autorelease Summary: Declarative system dependencies in Cargo.toml @@ -14,7 +14,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/system-deps Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Discover and configure system dependencies from declarative dependencies @@ -50,7 +50,7 @@ use the "default" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires diff --git a/rust2rpm.conf b/rust2rpm.conf deleted file mode 100644 index 037250a..0000000 --- a/rust2rpm.conf +++ /dev/null @@ -1,2 +0,0 @@ -[DEFAULT] -summary = Declarative system dependencies in Cargo.toml diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..7d3a6b1 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,7 @@ +[package] +summary = "Declarative system dependencies in Cargo.toml" + +[tests] +run = ["none"] +comments = ["files required by tests are not shipped with published crates"] + diff --git a/sources b/sources index 809a23b..ca21103 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (system-deps-6.1.1.crate) = 14fc67e8a4447381bb5330ae6d579cafe7b1a1e62d3f528256217c18e07f6d0aa7095340b6c771eb62404b1e21771b627d77cdaadeb46cc80dc4fd6c789577d9 +SHA512 (system-deps-6.1.2.crate) = 5c7eda6391d66d5e8667b83f7f8a7353d963d7db5355a6fb18c3b724418f4de49d75c21f3789a684aaf48d45f3c3d7cf37247c3ec6a89c348327b79814a0d5b8