public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-cvt] epel10: Initial import (#2247955)
@ 2026-11-18 21:34 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-11-18 21:34 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-cvt
Branch : epel10
Commit : 9a1bf57386faa63e9d21a64eb5fc89a768ef32f8
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2023-11-08T16:12:44+01:00
Stats  : +70/-3 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-cvt/c/9a1bf57386faa63e9d21a64eb5fc89a768ef32f8?branch=epel10

Log:
Initial import (#2247955)

---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..d3c6808
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/cvt-0.1.2.crate

diff --git a/README.md b/README.md
deleted file mode 100644
index 3d2626f..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-cvt
-
-The rust-cvt package

diff --git a/rust-cvt.spec b/rust-cvt.spec
new file mode 100644
index 0000000..b9c7577
--- /dev/null
+++ b/rust-cvt.spec
@@ -0,0 +1,68 @@
+# Generated by rust2rpm 25
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate cvt
+
+Name:           rust-cvt
+Version:        0.1.2
+Release:        %autorelease
+Summary:        Expose the cvt function from Rust libstd
+
+License:        Apache-2.0
+URL:            https://crates.io/crates/cvt
+Source:         %{crates_source}
+
+BuildRequires:  cargo-rpm-macros >= 24
+
+%global _description %{expand:
+Expose the cvt function from Rust libstd.}
+
+%description %{_description}
+
+%package        devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description    devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
+
+%files          devel
+%license %{crate_instdir}/LICENSE
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
+
+%package     -n %{name}+default-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
+
+%files       -n %{name}+default-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+%autochangelog

diff --git a/sources b/sources
new file mode 100644
index 0000000..ecdba2c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (cvt-0.1.2.crate) = 88c5030e88ac367259017b3dd4940079b29c568343b922280eb0c558fe98c5d57b165008491d8cef0534c8f54e60e4179ce08ec5b01dc0fbc42db68c3527218d

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

only message in thread, other threads:[~2026-11-18 21:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-18 21:34 [rpms/rust-cvt] epel10: Initial import (#2247955) Fabio Valentini

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