public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-privdrop] epel10: Bump nix dependency from 0.26 to 0.29
@ 2026-09-25 10:34 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-09-25 10:34 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-privdrop
Branch : epel10
Commit : 95561345fc248e5ca7c89d7383c15c2f52c2d3a2
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2024-10-14T18:10:43+02:00
Stats  : +18/-6 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-privdrop/c/95561345fc248e5ca7c89d7383c15c2f52c2d3a2?branch=epel10

Log:
Bump nix dependency from 0.26 to 0.29

---
diff --git a/README.md b/README.md
deleted file mode 100644
index 6624fad..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-privdrop
-
-The rust-privdrop package

diff --git a/privdrop-fix-metadata.diff b/privdrop-fix-metadata.diff
new file mode 100644
index 0000000..38cb004
--- /dev/null
+++ b/privdrop-fix-metadata.diff
@@ -0,0 +1,12 @@
+--- privdrop-0.5.4/Cargo.toml	1970-01-01T00:00:01+00:00
++++ privdrop-0.5.4/Cargo.toml	2024-10-14T16:09:34.435715+00:00
+@@ -29,7 +29,8 @@
+ version = "0.2"
+ 
+ [dependencies.nix]
+-version = "0.26"
++version = "0.29"
++features = ["fs", "user"]
+ 
+ [badges.travis-ci]
+ repository = "jedisct1/rust-privdrop"

diff --git a/rust-privdrop.spec b/rust-privdrop.spec
index d7890ba..c2050b4 100644
--- a/rust-privdrop.spec
+++ b/rust-privdrop.spec
@@ -1,4 +1,4 @@
-# Generated by rust2rpm 24
+# Generated by rust2rpm 26
 %bcond_without check
 %global debug_package %{nil}
 
@@ -12,8 +12,11 @@ Summary:        Simple crate to drop privileges
 License:        ISC
 URL:            https://crates.io/crates/privdrop
 Source:         %{crates_source}
+# Manually created patch for downstream crate metadata changes
+# * bump nix dependency from 0.26 to 0.29
+Patch:          privdrop-fix-metadata.diff
 
-BuildRequires:  rust-packaging >= 21
+BuildRequires:  cargo-rpm-macros >= 24
 
 %global _description %{expand:
 A simple crate to drop privileges.}
@@ -47,7 +50,7 @@ use the "default" feature of the "%{crate}" crate.
 %ghost %{crate_instdir}/Cargo.toml
 
 %prep
-%autosetup -n %{crate}-%{version_no_tilde} -p1
+%autosetup -n %{crate}-%{version} -p1
 %cargo_prep
 
 %generate_buildrequires

^ 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: Bump nix dependency from 0.26 to 0.29 Fabio Valentini

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