public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-slog] f43: Update to version 2.8.2; Fixes RHBZ#2401645
@ 2026-08-05 13:49 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-08-05 13:49 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-slog
Branch : f43
Commit : 65f6c77368d46bbc29ed5f30f8b29e6c79b57f3f
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-08-05T15:23:18+02:00
Stats  : +30/-40 in 6 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-slog/c/65f6c77368d46bbc29ed5f30f8b29e6c79b57f3f?branch=f43

Log:
Update to version 2.8.2; Fixes RHBZ#2401645

---
diff --git a/.gitignore b/.gitignore
index 46baeca..3a39139 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 /slog-2.4.1.crate
 /slog-2.5.2.crate
 /slog-2.7.0.crate
+/slog-2.8.2.crate

diff --git a/README.md b/README.md
deleted file mode 100644
index ff54ee6..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-slog
-
-The rust-slog package
\ No newline at end of file

diff --git a/rust-slog.spec b/rust-slog.spec
index a2e715d..614db2a 100644
--- a/rust-slog.spec
+++ b/rust-slog.spec
@@ -1,22 +1,19 @@
-# Generated by rust2rpm 23
-%bcond_without check
+# Generated by rust2rpm 28
+%bcond check 1
 %global debug_package %{nil}
 
 %global crate slog
 
 Name:           rust-slog
-Version:        2.7.0
+Version:        2.8.2
 Release:        %autorelease
 Summary:        Structured, extensible, composable logging for Rust
 
 License:        MPL-2.0 OR MIT OR Apache-2.0
 URL:            https://crates.io/crates/slog
 Source:         %{crates_source}
-# Manually created patch for downstream crate metadata changes
-# * disable LTO to work around LLVM crashes on ppc64le
-Patch:          slog-fix-metadata.diff
 
-BuildRequires:  rust-packaging >= 21
+BuildRequires:  cargo-rpm-macros >= 24
 
 %global _description %{expand:
 Structured, extensible, composable logging for Rust.}
@@ -52,28 +49,28 @@ use the "default" feature of the "%{crate}" crate.
 %files       -n %{name}+default-devel
 %ghost %{crate_instdir}/Cargo.toml
 
-%package     -n %{name}+dynamic-keys-devel
+%package     -n %{name}+anyhow-devel
 Summary:        %{summary}
 BuildArch:      noarch
 
-%description -n %{name}+dynamic-keys-devel %{_description}
+%description -n %{name}+anyhow-devel %{_description}
 
 This package contains library source intended for building other packages which
-use the "dynamic-keys" feature of the "%{crate}" crate.
+use the "anyhow" feature of the "%{crate}" crate.
 
-%files       -n %{name}+dynamic-keys-devel
+%files       -n %{name}+anyhow-devel
 %ghost %{crate_instdir}/Cargo.toml
 
-%package     -n %{name}+erased-serde-devel
+%package     -n %{name}+dynamic-keys-devel
 Summary:        %{summary}
 BuildArch:      noarch
 
-%description -n %{name}+erased-serde-devel %{_description}
+%description -n %{name}+dynamic-keys-devel %{_description}
 
 This package contains library source intended for building other packages which
-use the "erased-serde" feature of the "%{crate}" crate.
+use the "dynamic-keys" feature of the "%{crate}" crate.
 
-%files       -n %{name}+erased-serde-devel
+%files       -n %{name}+dynamic-keys-devel
 %ghost %{crate_instdir}/Cargo.toml
 
 %package     -n %{name}+max_level_debug-devel
@@ -172,6 +169,18 @@ use the "nothreads" feature of the "%{crate}" crate.
 %files       -n %{name}+nothreads-devel
 %ghost %{crate_instdir}/Cargo.toml
 
+%package     -n %{name}+parking_lot_0_12-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+parking_lot_0_12-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "parking_lot_0_12" feature of the "%{crate}" crate.
+
+%files       -n %{name}+parking_lot_0_12-devel
+%ghost %{crate_instdir}/Cargo.toml
+
 %package     -n %{name}+release_max_level_debug-devel
 Summary:        %{summary}
 BuildArch:      noarch
@@ -257,7 +266,7 @@ use the "std" 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

diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..2757bad
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,3 @@
+[package]
+doc-files.exclude = ["benches.txt"]
+

diff --git a/slog-fix-metadata.diff b/slog-fix-metadata.diff
deleted file mode 100644
index e682051..0000000
--- a/slog-fix-metadata.diff
+++ /dev/null
@@ -1,20 +0,0 @@
---- slog-2.7.0/Cargo.toml	2020-11-30T06:26:08+00:00
-+++ slog-2.7.0/Cargo.toml	2022-12-15T13:05:59.148285+00:00
-@@ -26,17 +26,6 @@
- repository = "https://github.com/slog-rs/slog"
- [package.metadata.docs.rs]
- features = ["std", "nested-values", "dynamic-keys"]
--[profile.bench]
--opt-level = 3
--lto = true
--debug = false
--debug-assertions = false
--
--[profile.release]
--opt-level = 3
--lto = true
--debug = false
--debug-assertions = false
- 
- [[example]]
- name = "singlethread"

diff --git a/sources b/sources
index 0fc288d..8b83ca9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (slog-2.7.0.crate) = 13bab46e288596d856adac80a6481d803646f27ef7bc1669ee2f7667b321b33beceb050348007a0ef28d0722bb597fed2139eef4685d01269ffe271830d1b15b
+SHA512 (slog-2.8.2.crate) = 5a9d7f1435e2b62991ee3f6781ca6ab6e02ec7ae66286e77c16a686c366d73910a48257d8413aa0ae3884f98d3c57aa14e216ea41541e62db17e55147f29dff0

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

only message in thread, other threads:[~2026-08-05 13:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-05 13:49 [rpms/rust-slog] f43: Update to version 2.8.2; Fixes RHBZ#2401645 Fabio Valentini

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