diff --git a/.gitignore b/.gitignore index 6955ed5..b5da3c5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /primal-check-0.3.2.crate /primal-check-0.3.3.crate +/primal-check-0.3.4.crate diff --git a/README.md b/README.md deleted file mode 100644 index f28d40a..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-primal-check - -The rust-primal-check package diff --git a/rust-primal-check.spec b/rust-primal-check.spec index ee0b1fd..acd02e7 100644 --- a/rust-primal-check.spec +++ b/rust-primal-check.spec @@ -1,12 +1,11 @@ -# Generated by rust2rpm 22 -# Circular dep with primal - build without check to bootstrap -%bcond_with check +# Generated by rust2rpm 26 +%bcond_without check %global debug_package %{nil} %global crate primal-check Name: rust-primal-check -Version: 0.3.3 +Version: 0.3.4 Release: %autorelease Summary: Fast standalone primality testing @@ -14,9 +13,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/primal-check Source: %{crates_source} -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Fast standalone primality testing.} @@ -62,7 +59,7 @@ use the "unstable" 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/sources b/sources index 3656c5f..5be1136 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (primal-check-0.3.3.crate) = d56fcee65802b1ca272515589574786dfd066099c55a536cb1076193242859074918651c4fa3c1a7dab4fd13ba91c8f6a2a5b0789a6cd24faffc092edf27d75e +SHA512 (primal-check-0.3.4.crate) = 8dfd2c5847fc23250f9a96c3c7d8a4d250f7b61781218829b71bef0f2779b2e56b93284bfd5ea3666c78681560326fa00982590aaaf8b96dfb5f402a24a52489