diff --git a/.gitignore b/.gitignore index 99cda95..cee64fd 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /human_format-1.0.3.crate +/human_format-1.1.0.crate diff --git a/rust-human_format.spec b/rust-human_format.spec index fa76b54..7b56b7e 100644 --- a/rust-human_format.spec +++ b/rust-human_format.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm 24 -# Deactivate tests because of missing dependency: galvanic-test (rhbz#2224175) +# Generated by rust2rpm 25 +# * Deactivate tests because of missing dependency: galvanic-test (rhbz#2224175) %bcond_with check %global debug_package %{nil} %global crate human_format Name: rust-human_format -Version: 1.0.3 +Version: 1.1.0 Release: %autorelease Summary: Converts a number to/from a human readable string @@ -14,7 +14,7 @@ License: MIT URL: https://crates.io/crates/human_format Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 BuildRequires: dos2unix %global _description %{expand: @@ -51,7 +51,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 # Fix EOL encodings for f in src/lib.rs changelog.md README.md; do # Keep timestamp of the old file diff --git a/rust2rpm.conf b/rust2rpm.conf deleted file mode 100644 index 5207d1e..0000000 --- a/rust2rpm.conf +++ /dev/null @@ -1,2 +0,0 @@ -[DEFAULT] -summary = Converts a number to/from a human readable string diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..9114440 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,8 @@ +[package] +summary = "Converts a number to/from a human readable string" + +[tests] +run = ["none"] +comments = [ + "Deactivate tests because of missing dependency: galvanic-test (rhbz#2224175)", +] diff --git a/sources b/sources index 59f6706..a3a79fd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (human_format-1.0.3.crate) = a91357f791c136db826fc4704266b20d7acbbf681cf4b4c7e43ef3ae33f22a31bbbda13feccdddeb33619ceab61ff593ae431ad2816645e8a4d6c6d7b48dde77 +SHA512 (human_format-1.1.0.crate) = 73f092bd89f6db5acdbaca95e5c21fa908dda63183b1f75569fa480fa1f60c816be7b821bf2da900bf71e23027af68e40636ec6b7aad27ecef0c77a323848d12