public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Mattia Verga <mattia.verga@proton.me>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-triomphe] epel10: Initial import (fedora#2250445)
Date: Fri, 26 Jun 2026 11:42:45 GMT	[thread overview]
Message-ID: <178247416544.1.11239031238972050305.rpms-rust-triomphe-8b0563eebfaf@fedoraproject.org> (raw)

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",

                 reply	other threads:[~2026-06-26 11:42 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=178247416544.1.11239031238972050305.rpms-rust-triomphe-8b0563eebfaf@fedoraproject.org \
    --to=mattia.verga@proton.me \
    --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