public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-rend] epel10: Don’t install README.md as %doc (it’s used in the build)
@ 2026-07-03 18:14 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-07-03 18:14 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-rend
Branch : epel10
Commit : c4fb09adcbeb47773e69006622afcc64682e5f84
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-07-03T07:11:34+01:00
Stats : +8/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rust-rend/c/c4fb09adcbeb47773e69006622afcc64682e5f84?branch=epel10
Log:
Don’t install README.md as %doc (it’s used in the build)
---
diff --git a/rust-rend.spec b/rust-rend.spec
index ec235a6..fd398c0 100644
--- a/rust-rend.spec
+++ b/rust-rend.spec
@@ -31,7 +31,6 @@ use the "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENSE
-%doc %{crate_instdir}/README.md
%doc %{crate_instdir}/example.md
%{crate_instdir}/
diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..5db7c26
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,8 @@
+[package]
+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",
+]
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-03 18:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-03 18:14 [rpms/rust-rend] epel10: Don’t install README.md as %doc (it’s used in the build) 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