public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-privdrop] epel10: Initial import; Fixes: RHBZ#2224808
@ 2026-09-25 10:34 Davide Cavalca
0 siblings, 0 replies; only message in thread
From: Davide Cavalca @ 2026-09-25 10:34 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-privdrop
Branch : epel10
Commit : ad04ba30101f788697aaa84e6d16ee72fa699b9d
Author : Davide Cavalca <dcavalca@fedoraproject.org>
Date : 2023-07-23T07:27:48-07:00
Stats : +70/-0 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/rust-privdrop/c/ad04ba30101f788697aaa84e6d16ee72fa699b9d?branch=epel10
Log:
Initial import; Fixes: RHBZ#2224808
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..5a6f5b8
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/privdrop-0.5.4.crate
diff --git a/rust-privdrop.spec b/rust-privdrop.spec
new file mode 100644
index 0000000..d7890ba
--- /dev/null
+++ b/rust-privdrop.spec
@@ -0,0 +1,68 @@
+# Generated by rust2rpm 24
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate privdrop
+
+Name: rust-privdrop
+Version: 0.5.4
+Release: %autorelease
+Summary: Simple crate to drop privileges
+
+License: ISC
+URL: https://crates.io/crates/privdrop
+Source: %{crates_source}
+
+BuildRequires: rust-packaging >= 21
+
+%global _description %{expand:
+A simple crate to drop privileges.}
+
+%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_no_tilde} -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..dced610
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (privdrop-0.5.4.crate) = 76fc567ed5d1f3c1906b508cb148b5e0bc0bf7bf707bd9b7e1459a783f33d524efa8c44d95ec047fd5729d7cf0074a57d20de28426d5312da848472e745f5963
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-25 10:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-25 10:34 [rpms/rust-privdrop] epel10: Initial import; Fixes: RHBZ#2224808 Davide Cavalca
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox