Bug 1933542

Summary: Require mkfontdir directly, not just xorg-x11-font-utils
Product: [Fedora] Fedora Reporter: Peter Hutterer <peter.hutterer>
Component: libdockappAssignee: Jani Juhani Sinervo <jani>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: andreas.bierfert, extras-qa, i18n-bugs, jani, psatpute, vishalvijayraghavan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libdockapp-0.7.3-4.fc35 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-03-04 05:26:53 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 02:55:21 UTC
libdockapp currently BuildRequires: xorg-x11-font-utils only.

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

This package requires mkfontdir which is to be split out, so let's BuildRequires it directly. xorg-x11-font-utils has had a Provides for this for ages now anyway, so this should ensure the upgrade path is smooth.

Suggested diff:

diff --git a/libdockapp.spec b/libdockapp.spec
index 6744413..2390c59 100644
--- a/libdockapp.spec
+++ b/libdockapp.spec
@@ -38,7 +38,7 @@ developing applications that use %{name}.
 %package        fonts
 Summary:        Fonts provided with %{name}
 Requires:      xorg-x11-font-utils
-BuildRequires: xorg-x11-font-utils
+BuildRequires: xorg-x11-font-utils mkfontdir
 BuildRequires:  fontconfig
 BuildRequires: make
 


Verified successful build in a local F33 container with only the mkfontscale (Bug 1932734) and an updated mkfontscale-less xorg-x11-font-utils packages installed.

Comment 1 Peter Hutterer 2021-03-04 05:10:06 UTC
Revisiting this, looks like the Requires: xorg-x11-font-utils should be changed to just mkfontdir. font-utils provides m4 macros (can only be used at build time), the ucs2any tool (unused) and a script that's used by xorg-x11-fonts but no-one else. I'm unsure whether mkfontdir is required outside of BuildRequires, it's not used in the specfile. But to be on the safe side, let's leave it in.

Comment 2 Fedora Update System 2021-03-05 00:08:18 UTC
FEDORA-2021-8cfc91c13a has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-8cfc91c13a

Comment 3 Fedora Update System 2021-03-05 17:20:22 UTC
FEDORA-2021-8cfc91c13a has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-8cfc91c13a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-8cfc91c13a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2021-03-09 22:46:18 UTC
FEDORA-2021-8cfc91c13a has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-8cfc91c13a

Comment 5 Fedora Update System 2021-03-10 18:51:19 UTC
FEDORA-2021-8cfc91c13a has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-8cfc91c13a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-8cfc91c13a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2021-03-12 06:22:06 UTC
FEDORA-2021-8cfc91c13a has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-8cfc91c13a

Comment 7 Fedora Update System 2021-03-12 18:54:55 UTC
FEDORA-2021-8cfc91c13a has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-8cfc91c13a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-8cfc91c13a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2021-03-19 20:03:55 UTC
FEDORA-2021-8cfc91c13a has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.