public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-dtoa-short] epel10: initial import
Date: Mon, 15 Jun 2026 14:13:00 GMT [thread overview]
Message-ID: <178153278024.1.9131033239487245682.rpms-rust-dtoa-short-2b1cf9256b2a@fedoraproject.org> (raw)
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
reply other threads:[~2026-06-15 14:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178153278024.1.9131033239487245682.rpms-rust-dtoa-short-2b1cf9256b2a@fedoraproject.org \
--to=ignatenkobrain@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox