public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-dtoa-short] epel10: Bump float-cmp to 0.4
@ 2026-06-15 14:13 Igor Gnatenko
  0 siblings, 0 replies; only message in thread
From: Igor Gnatenko @ 2026-06-15 14:13 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/rust-dtoa-short
            Branch : epel10
            Commit : 6c49ccaac3c3a8881213de381accac4580b2d39f
            Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
            Date   : 2018-03-12T09:13:44+01:00
            Stats  : +19/-2 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/rust-dtoa-short/c/6c49ccaac3c3a8881213de381accac4580b2d39f?branch=epel10

            Log:
            Bump float-cmp to 0.4

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>

---
diff --git a/dtoa-short-0.3.2-fix-metadata.diff b/dtoa-short-0.3.2-fix-metadata.diff
new file mode 100644
index 0000000..eb73ea9
--- /dev/null
+++ b/dtoa-short-0.3.2-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- dtoa-short-0.3.2/Cargo.toml	1970-01-01T01:00:00+01:00
++++ dtoa-short-0.3.2/Cargo.toml	2018-03-12T09:13:14.397388+01:00
+@@ -23,7 +23,7 @@
+ [dependencies.dtoa]
+ version = "0.4.1"
+ [dev-dependencies.float-cmp]
+-version = "0.3"
++version = "0.4"
+ [badges.codecov]
+ repository = "upsuper/dtoa-short"
+ 

diff --git a/rust-dtoa-short.spec b/rust-dtoa-short.spec
index 9af6869..74704e3 100644
--- a/rust-dtoa-short.spec
+++ b/rust-dtoa-short.spec
@@ -6,12 +6,15 @@
 
 Name:           rust-%{crate}
 Version:        0.3.2
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Serialize float number and truncate to certain precision
 
 License:        MPLv2.0
 URL:            https://crates.io/crates/dtoa-short
 Source0:        https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
+# Initial patched metadata
+# * Bump float-cmp to 0.4, https://github.com/upsuper/dtoa-short/pull/6
+Patch0:         dtoa-short-0.3.2-fix-metadata.diff
 
 ExclusiveArch:  %{rust_arches}
 
@@ -20,7 +23,7 @@ BuildRequires:  rust-packaging
 BuildRequires:  (crate(dtoa) >= 0.4.1 with crate(dtoa) < 0.5.0)
 %if %{with check}
 # [dev-dependencies]
-BuildRequires:  (crate(float-cmp) >= 0.3.0 with crate(float-cmp) < 0.4.0)
+BuildRequires:  (crate(float-cmp) >= 0.4.0 with crate(float-cmp) < 0.5.0)
 %endif
 
 %description
@@ -56,6 +59,9 @@ which use %{crate} from crates.io.
 %{cargo_registry}/%{crate}-%{version}/
 
 %changelog
+* Mon Mar 12 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.2-2
+- Bump float-cmp to 0.4
+
 * Thu Mar 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.2-1
 - Update to 0.3.2
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-15 14:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-15 14:13 [rpms/rust-dtoa-short] epel10: Bump float-cmp to 0.4 Igor Gnatenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox