public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-dtoa-short] epel10: initial import
@ 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 : 2b1cf9256b2ac5e389e1c5a7c40daf2723897aa7
            Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
            Date   : 2018-01-24T23:53:22+01:00
            Stats  : +62/-0 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/rust-dtoa-short/c/2b1cf9256b2ac5e389e1c5a7c40daf2723897aa7?branch=epel10

            Log:
            initial import

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

---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..064a510
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/dtoa-short-0.3.1.crate

diff --git a/rust-dtoa-short.spec b/rust-dtoa-short.spec
new file mode 100644
index 0000000..5e3cc6d
--- /dev/null
+++ b/rust-dtoa-short.spec
@@ -0,0 +1,60 @@
+# Generated by rust2rpm
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate dtoa-short
+
+Name:           rust-%{crate}
+Version:        0.3.1
+Release:        1%{?dist}
+Summary:        Serialize float number and truncate to certain precision
+
+# https://github.com/upsuper/dtoa-short/pull/3
+License:        MPLv2.0
+URL:            https://crates.io/crates/dtoa-short
+Source0:        https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
+
+ExclusiveArch:  %{rust_arches}
+
+BuildRequires:  rust-packaging
+# [dependencies]
+BuildRequires:  (crate(dtoa) >= 0.4.1 with crate(dtoa) < 0.5.0)
+%if %{with check}
+# [dev-dependencies]
+BuildRequires:  (crate(float-cmp) >= 0.2.3 with crate(float-cmp) < 0.3.0)
+%endif
+
+%description
+%{summary}.
+
+%package        devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description    devel
+Serialize float number and truncate to certain precision.
+
+This package contains library source intended for building other packages
+which use %{crate} from crates.io.
+
+%prep
+%autosetup -n %{crate}-%{version} -p1
+%cargo_prep
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%files          devel
+%{cargo_registry}/%{crate}-%{version}/
+
+%changelog
+* Wed Jan 24 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.1-1
+- Initial package

diff --git a/sources b/sources
new file mode 100644
index 0000000..356e70a
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (dtoa-short-0.3.1.crate) = 748c98f3101e2be9fb76b69525ca0e32c93ecadf96542a38aaaeb2d6178a9c9864837c8dbaa94b4d2921e7a361c5f94f868f0d9f9260e2b7d4704bf418d0acb0

^ 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: initial import Igor Gnatenko

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