Bug 2296502

Summary: No error even if missing files
Product: [Fedora] Fedora Reporter: Akira TAGOH <tagoh>
Component: fonts-rpm-macrosAssignee: Parag Nemade <pnemade>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: pampelmuse, pnemade, tagoh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: fonts-rpm-macros-2.0.5-19.fc42 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-01-15 14:04:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Akira TAGOH 2024-07-09 09:03:42 UTC
Due to a typo, even if fontconfs macro points to different location, the build doesn't fail and unexpected rpm is generated.

Reproducible: Always

Actual Results:  
the build finish without any errors.

Expected Results:  
If macro is in use and points to the wrong location, build should fail.

One example for this issue: https://koji.fedoraproject.org/koji/buildinfo?buildID=2483259

spec file use %fontconfs but it points to wrong location. rpm doesn't contain any fontconfig config file due to that.

Comment 1 Akira TAGOH 2024-07-11 05:41:47 UTC
https://src.fedoraproject.org/rpms/fonts-rpm-macros/pull-request/3 will fixes this issue.

Comment 2 Fedora Update System 2025-01-15 08:38:50 UTC
FEDORA-2025-47bc596615 (fonts-rpm-macros-2.0.5-19.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-47bc596615

Comment 3 Fedora Update System 2025-01-15 14:04:58 UTC
FEDORA-2025-47bc596615 (fonts-rpm-macros-2.0.5-19.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.