public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-pbkdf2] f43: Do not mark README.md as documentation since it’s used in code
Date: Tue, 23 Jun 2026 06:05:07 GMT [thread overview]
Message-ID: <178219470772.1.18415878999402082756.rpms-rust-pbkdf2-64125a733641@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-pbkdf2
Branch : f43
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=f43
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
reply other threads:[~2026-06-23 6:05 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=178219470772.1.18415878999402082756.rpms-rust-pbkdf2-64125a733641@fedoraproject.org \
--to=code@musicinmybrain.net \
--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