Bug 1415460

Summary: Lazarus should use new %{fpc_arches} macro in exclusive arch
Product: [Fedora] Fedora Reporter: Mattia Verga <mattia.verga>
Component: lazarusAssignee: Joost van der Sluis <joost>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: antmak.pub, joost
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: lazarus-1.6.2-1.fc25 lazarus-1.6.2-1.fc24 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-24 17:50:35 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:

Description Mattia Verga 2017-01-22 08:21:55 UTC
Lazarus should use new %{fpc_arches} macro in exclusive arch to avoid build errors where fpc is not available.

Comment 1 Fedora Update System 2017-02-01 11:00:02 UTC
lazarus-1.6.2-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-96d9586d7a

Comment 2 Fedora Update System 2017-02-01 23:51:45 UTC
lazarus-1.6.2-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-96d9586d7a

Comment 3 Fedora Update System 2017-02-05 20:21:22 UTC
lazarus-1.6.2-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 4 Fedora Update System 2017-02-08 16:43:38 UTC
lazarus-1.6.2-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-65d01e61eb

Comment 5 Fedora Update System 2017-02-09 21:52:10 UTC
lazarus-1.6.2-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-65d01e61eb

Comment 6 Fedora End Of Life 2017-02-28 11:01:51 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 7 Anton Maklakov 2017-03-03 14:42:36 UTC
I propose to add "BuildRequires:  fpc-srpm-macros" to the lazarus.spec

Because I have got an error on the building of the custom package

$ rpmbuild -ba ./lazarus.spec 
error: Architecture is not included: x86_64

caused by using %{fpc_arches} macros in the spec

Comment 8 Mattia Verga 2017-03-03 16:39:45 UTC
(In reply to Anton Maklakov from comment #7)
> I propose to add "BuildRequires:  fpc-srpm-macros" to the lazarus.spec
> 
> Because I have got an error on the building of the custom package
> 
> $ rpmbuild -ba ./lazarus.spec 
> error: Architecture is not included: x86_64
> 
> caused by using %{fpc_arches} macros in the spec

fpc-srpm-macros is required by redhat-rpm-config package, so it's automatically installed in the building environment since F23. 

Adding the buildrequire to lazarus .spec file doesn't even work, because architecture evaluation is done before the buildrequire evaluation.

Comment 9 Fedora Update System 2017-03-24 17:50:35 UTC
lazarus-1.6.2-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.