public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-ntest] epel10: Initial import (#2255544)
@ 2026-11-19 19:40 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-11-19 19:40 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-ntest
Branch : epel10
Commit : 82e72bfd1f4afdaee21317918cdded53f8b1205d
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2024-01-04T19:09:34+01:00
Stats : +76/-3 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/rust-ntest/c/82e72bfd1f4afdaee21317918cdded53f8b1205d?branch=epel10
Log:
Initial import (#2255544)
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..0dc0cb5
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/ntest-0.9.0.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index 9951208..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-ntest
-
-The rust-ntest package
diff --git a/rust-ntest.spec b/rust-ntest.spec
new file mode 100644
index 0000000..da094cf
--- /dev/null
+++ b/rust-ntest.spec
@@ -0,0 +1,71 @@
+# Generated by rust2rpm 25
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate ntest
+
+Name: rust-ntest
+Version: 0.9.0
+Release: %autorelease
+Summary: Testing framework for Rust
+
+License: MIT
+URL: https://crates.io/crates/ntest
+Source: %{crates_source}
+
+BuildRequires: cargo-rpm-macros >= 24
+BuildRequires: dos2unix
+
+%global _description %{expand:
+Testing framework for rust which enhances the built-in library with some
+useful features.}
+
+%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
+dos2unix --keepdate README.md
+%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/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..1ac9840
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,3 @@
+[package]
+summary = "Testing framework for Rust"
+
diff --git a/sources b/sources
new file mode 100644
index 0000000..2ca1934
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (ntest-0.9.0.crate) = 266b3d81addea3c6e8bbff0cb3c1411d4709e2f6f978e34743a7fea0f3f5b241209f8569c09f604331beb1338060a5f5c901b27e3e68d2741333aff63e059846
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-19 19:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-19 19:40 [rpms/rust-ntest] epel10: Initial import (#2255544) Fabio Valentini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox