Bug 1933535

Summary: Require mkfontdir/bdftopcf directly, not xorg-x11-font-utils
Product: [Fedora] Fedora Reporter: Peter Hutterer <peter.hutterer>
Component: monafontAssignee: Mamoru TASAKA <mtasaka>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mtasaka
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: monafont-2.90-27.fc35 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1933537 (view as bug list) Environment:
Last Closed: 2021-03-01 13:41:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1932731    

Description Peter Hutterer 2021-03-01 01:34:52 UTC
monafont currently BuildRequires: xorg-x11-font-utils

xorg-x11-font-utils is to be split up into multiple packages, see Bug 1932731. 

monafont only requires bdftopcf and mkfontdir (after looking at the Makefile), so let's BuildRequires these directly. xorg-x11-font-utils has had Provides for those for ages now anyway, so this is largely a noop from monafont's POV.

Suggested diff:

diff --git a/monafont.spec b/monafont.spec
index f1ced0e..59c8131 100644
--- a/monafont.spec
+++ b/monafont.spec
@@ -74,7 +74,7 @@ Summary:      Bitmap Japanese font for text arts
 License:       Public Domain
 # Write BuildRequires a bit verbosely
 BuildRequires: perl-interpreter
-BuildRequires: xorg-x11-font-utils
+BuildRequires: bdftopcf mkfontdir
 Obsoletes:     %{old_name_bitmap} <= %{obsoletes_EVR}
 Provides:      %{old_name_bitmap} = %{version}-%{release}
 
Successful scratch build witht his change: https://koji.fedoraproject.org/koji/taskinfo?taskID=62854207

Comment 1 Peter Hutterer 2021-03-01 02:00:36 UTC
Verified successful build in a local F33 container with only the mkfontscale (Bug 1932734) and bdftopcf (Bug 1932736) pacakges installed, no xorg-x11-font-utils.