public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-triomphe] epel10: Initial import (fedora#2250445)
@ 2026-06-26 11:42 Mattia Verga
  0 siblings, 0 replies; only message in thread
From: Mattia Verga @ 2026-06-26 11:42 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-triomphe
Branch : epel10
Commit : 8b0563eebfafdaca32776dd243f924c1fd1f99a1
Author : Mattia Verga <mattia.verga@proton.me>
Date   : 2023-11-26T09:17:30+01:00
Stats  : +135/-0 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-triomphe/c/8b0563eebfafdaca32776dd243f924c1fd1f99a1?branch=epel10

Log:
Initial import (fedora#2250445)

---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..c171d0e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/triomphe-0.1.9.crate

diff --git a/rust-triomphe.spec b/rust-triomphe.spec
new file mode 100644
index 0000000..acebf6e
--- /dev/null
+++ b/rust-triomphe.spec
@@ -0,0 +1,120 @@
+# Generated by rust2rpm 25
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate triomphe
+
+Name:           rust-triomphe
+Version:        0.1.9
+Release:        %autorelease
+Summary:        Fork of std::sync::Arc with some extra functionality and without weak references
+
+License:        MIT OR Apache-2.0
+URL:            https://crates.io/crates/triomphe
+Source:         %{crates_source}
+# Remove broken unsize optional dependency
+Patch:          triomphe-fix-metadata.diff
+
+BuildRequires:  cargo-rpm-macros >= 24
+
+%global _description %{expand:
+A fork of std::sync::Arc with some extra functionality and without weak
+references (originally servo_arc).}
+
+%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-APACHE
+%license %{crate_instdir}/LICENSE-MIT
+%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
+
+%package     -n %{name}+arc-swap-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+arc-swap-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "arc-swap" feature of the "%{crate}" crate.
+
+%files       -n %{name}+arc-swap-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package     -n %{name}+serde-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+serde-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "serde" feature of the "%{crate}" crate.
+
+%files       -n %{name}+serde-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package     -n %{name}+stable_deref_trait-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+stable_deref_trait-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "stable_deref_trait" feature of the "%{crate}" crate.
+
+%files       -n %{name}+stable_deref_trait-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package     -n %{name}+std-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+std-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "std" feature of the "%{crate}" crate.
+
+%files       -n %{name}+std-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..b9f008f
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (triomphe-0.1.9.crate) = 9dc43f449352944479dd147ab07f22fb185f713f1b81437ae55363870b0aa86cb9c250e132f16d4f60603f55e3388855a1dac3b80f6012aeea8cbce13cfd6756

diff --git a/triomphe-fix-metadata.diff b/triomphe-fix-metadata.diff
new file mode 100644
index 0000000..f4fd03f
--- /dev/null
+++ b/triomphe-fix-metadata.diff
@@ -0,0 +1,13 @@
+--- triomphe-0.1.9/Cargo.toml	1970-01-01T00:00:01+00:00
++++ triomphe-0.1.9/Cargo.toml	2023-11-19T08:21:19.758544+00:00
+@@ -42,10 +42,6 @@
+ optional = true
+ default-features = false
+ 
+-[dependencies.unsize]
+-version = "1.1"
+-optional = true
+-
+ [features]
+ default = [
+     "serde",

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

only message in thread, other threads:[~2026-06-26 11:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-26 11:42 [rpms/rust-triomphe] epel10: Initial import (fedora#2250445) Mattia Verga

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