public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-pbkdf2] epel10: Do not mark README.md as documentation since it’s used in code
@ 2026-06-23  6:04 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-06-23  6:04 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-pbkdf2
Branch : epel10
Commit : 64125a7336413fb33a8a876b293fed44d72d9292
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-06-23T07:04:13+01:00
Stats  : +8/-2 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-pbkdf2/c/64125a7336413fb33a8a876b293fed44d72d9292?branch=epel10

Log:
Do not mark README.md as documentation since it’s used in code

---
diff --git a/pbkdf2-fix-metadata.diff b/pbkdf2-fix-metadata.diff
index 681589c..ee19852 100644
--- a/pbkdf2-fix-metadata.diff
+++ b/pbkdf2-fix-metadata.diff
@@ -1,5 +1,5 @@
 --- pbkdf2-0.13.0/Cargo.toml	2006-07-24T01:21:28+00:00
-+++ pbkdf2-0.13.0/Cargo.toml	2026-06-22T09:36:12.259166+00:00
++++ pbkdf2-0.13.0/Cargo.toml	2026-06-23T06:03:59.098253+00:00
 @@ -110,9 +110,6 @@
  optional = true
  default-features = false

diff --git a/rust-pbkdf2.spec b/rust-pbkdf2.spec
index e7392f5..aeb0abb 100644
--- a/rust-pbkdf2.spec
+++ b/rust-pbkdf2.spec
@@ -38,7 +38,6 @@ use the "%{crate}" crate.
 %license %{crate_instdir}/LICENSE-APACHE
 %license %{crate_instdir}/LICENSE-MIT
 %doc %{crate_instdir}/CHANGELOG.md
-%doc %{crate_instdir}/README.md
 %{crate_instdir}/
 
 %package     -n %{name}+default-devel

diff --git a/rust2rpm.toml b/rust2rpm.toml
index 6b20e48..4f03ddd 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -2,6 +2,13 @@
 cargo-toml-patch-comments = [
     "Drop belt-hash dev-dependency to avoid packaging it",
 ]
+doc-files.exclude = [
+    # This file is included as a documentation string in the library, so
+    # compilation fails if it is not present. It therefore must not be marked
+    # as documentation, because packages should be equally useful when their
+    # documentation is not installed.
+    "README.md",
+]
 
 [[package.extra-patches]]
 number = 10

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

only message in thread, other threads:[~2026-06-23  6:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-23  6:04 [rpms/rust-pbkdf2] epel10: Do not mark README.md as documentation since it’s used in code Benjamin A. Beasley

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