public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Davide Cavalca <dcavalca@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-privdrop] epel10: Initial import; Fixes: RHBZ#2224808
Date: Fri, 25 Sep 2026 10:34:36 GMT [thread overview]
Message-ID: <179033247685.1.18177652416345427000.rpms-rust-privdrop-ad04ba30101f@fedoraproject.org> (raw)
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
reply other threads:[~2026-09-25 10:34 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=179033247685.1.18177652416345427000.rpms-rust-privdrop-ad04ba30101f@fedoraproject.org \
--to=dcavalca@fedoraproject.org \
--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