diff --git a/.gitignore b/.gitignore index 51a9fa7..b876451 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /*.src.rpm /crunchy-0.2.2.crate +/crunchy-0.2.3.crate diff --git a/rust-crunchy.spec b/rust-crunchy.spec index 3316e57..165b616 100644 --- a/rust-crunchy.spec +++ b/rust-crunchy.spec @@ -1,20 +1,19 @@ -# Generated by rust2rpm 24 -%bcond_without check +# Generated by rust2rpm 27 +%bcond check 1 %global debug_package %{nil} %global crate crunchy Name: rust-crunchy -Version: 0.2.2 +Version: 0.2.3 Release: %autorelease Summary: Crunchy unroller: deterministically unroll constant loops -# https://github.com/eira-fransham/crunchy/issues/6 License: MIT URL: https://crates.io/crates/crunchy Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Crunchy unroller: deterministically unroll constant loops.} @@ -31,6 +30,7 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel +%license %{crate_instdir}/LICENSE %doc %{crate_instdir}/README.md %{crate_instdir}/ @@ -131,7 +131,7 @@ use the "std" 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.toml b/rust2rpm.toml new file mode 100644 index 0000000..38427a1 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,3 @@ +[package] +summary = "Crunchy unroller: deterministically unroll constant loops" + diff --git a/sources b/sources index 7518ad0..7dda482 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (crunchy-0.2.2.crate) = 36dc0aebc41a3aac5f1b178a7e61b65bcd9bb5c8539b2024f79428200f7c62daa7098af55c6ab0765febd2f8969bd6c0ac8096f73cdc0958e5c4e4eb6a4f7025 +SHA512 (crunchy-0.2.3.crate) = f97919ee077981da8a14d0cf4a1622b08059710918d97fbbd1f7a5aeb92d51ae5452934c2c45c1f9f79b320aeac6eca41f2a54b35d0710e077069d8841be52ca