public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/crosswords] rawhide: Ship all README images as documentation
@ 2026-10-18 12:59 Vinson Lee
  0 siblings, 0 replies; only message in thread
From: Vinson Lee @ 2026-10-18 12:59 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/crosswords
            Branch : rawhide
            Commit : ba75f894d748e7a787285b1a91c5bf05ca623b39
            Author : Vinson Lee <vlee@freedesktop.org>
            Date   : 2026-10-12T21:21:43-07:00
            Stats  : +1/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/crosswords/c/ba75f894d748e7a787285b1a91c5bf05ca623b39?branch=rawhide

            Log:
            Ship all README images as documentation

The %prep section copied a hard-coded list of images, a-dogs-day.png and
hero.png, into the documentation directory. Upstream removed hero.png
after the 0.3.18.1 release, so %prep now fails on snapshot builds of the
upstream main branch, including the Packit Copr builds:

cp: cannot stat 'data/images/hero.png': No such file or directory

The list was also already stale for 0.3.18.1, whose README references
reveal.png, edit-grid.png, and edit-clues.png, none of which were
shipped. Copy the whole data/images directory instead, which also ships
the new screenshot gallery that the README links to.

Assisted-by: Claude Code (Claude Opus 5.5)
Signed-off-by: Vinson Lee <vlee@freedesktop.org>

---
diff --git a/crosswords.spec b/crosswords.spec
index 7bec65e..f808a8d 100644
--- a/crosswords.spec
+++ b/crosswords.spec
@@ -153,8 +153,7 @@ ipuz2pdf is a tool to export IPUZ puzzles to printable PDF documents.
 sed -i 's:^regex==.*$:regex:' requirements.txt
 
 # Update image references in README
-mkdir images
-cp -p data/images/{a-dogs-day,hero}.png images/
+cp -pr data/images images
 sed -i 's:data/images/:images/:g' README.md
 
 # Relax lxml version pin on older releases

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

only message in thread, other threads:[~2026-10-18 12:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-18 12:59 [rpms/crosswords] rawhide: Ship all README images as documentation Vinson Lee

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