diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f7fd408 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/lexical-util-1.0.6.crate diff --git a/.rust-lexical-util.metadata b/.rust-lexical-util.metadata index e69de29..fb6595e 100644 --- a/.rust-lexical-util.metadata +++ b/.rust-lexical-util.metadata @@ -0,0 +1 @@ +58a3b0f48465026616927b0e871765181d1f86bd SOURCES/lexical-util-1.0.6.crate diff --git a/SOURCES/lexical-util-0.8.5.crate b/SOURCES/lexical-util-0.8.5.crate deleted file mode 100644 index 00954fe..0000000 Binary files a/SOURCES/lexical-util-0.8.5.crate and /dev/null differ diff --git a/SOURCES/lexical-util-fix-metadata.diff b/SOURCES/lexical-util-fix-metadata.diff index 4d801c2..ea2f1b0 100644 --- a/SOURCES/lexical-util-fix-metadata.diff +++ b/SOURCES/lexical-util-fix-metadata.diff @@ -1,8 +1,8 @@ ---- lexical-util-0.8.5/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ lexical-util-0.8.5/Cargo.toml 2023-12-04T22:05:07.134099+00:00 -@@ -48,6 +48,9 @@ +--- lexical-util-1.0.6/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ lexical-util-1.0.6/Cargo.toml 2024-12-26T19:11:14.185597+00:00 +@@ -117,6 +117,9 @@ [dev-dependencies.proptest] - version = "0.10.1" + version = ">=1.5.0" +[dev-dependencies.quickcheck] +version = "1.0.3" diff --git a/SPECS/rust-lexical-util.spec b/SPECS/rust-lexical-util.spec index e8900bd..e6817d1 100644 --- a/SPECS/rust-lexical-util.spec +++ b/SPECS/rust-lexical-util.spec @@ -1,21 +1,21 @@ ## START: Set by rpmautospec -## (rpmautospec version 0.6.5) +## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: - release_number = 3; + release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec -# Generated by rust2rpm 25 -%bcond_without check +# Generated by rust2rpm 27 +%bcond check 1 %global debug_package %{nil} %global crate lexical-util Name: rust-lexical-util -Version: 0.8.5 +Version: 1.0.6 Release: %autorelease Summary: Shared utilities for lexical crates @@ -24,7 +24,13 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/lexical-util Source: %{crates_source} # Manually created patch for downstream crate metadata changes -# * add missing dev-dependency for quickcheck +# * Upstream uses a patched version of quickcheck for tests via a git +# dependency, writing: +# # FIXME: Replace back to "1.0.4" once the PR is merged. +# # There's an issue in quickcheck due to an infinitely repeating shrinker. +# # Issue: https://github.com/BurntSushi/quickcheck/issues/295 +# # Fix: https://github.com/BurntSushi/quickcheck/pull/296 +# However, the packaged quickcheck 1.0.3 works for us. Patch: lexical-util-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 @@ -273,10 +279,13 @@ use the "write-integers" feature of the "%{crate}" crate. %endif %changelog -* Sat Jan 04 2025 Arkady L. Shane - 0.8.5-3 +* Sun Jan 05 2025 Arkady L. Shane - 1.0.6-1 - Rebuilt for MSVSphere 10 ## START: Generated by rpmautospec +* Tue Dec 31 2024 Benjamin A. Beasley - 1.0.6-1 +- Update to version 1.0.6; Fixes RHBZ#2312397 + * Fri Jul 19 2024 Fedora Release Engineering - 0.8.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild