Bug 1415460
| Summary: | Lazarus should use new %{fpc_arches} macro in exclusive arch | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mattia Verga <mattia.verga> |
| Component: | lazarus | Assignee: | Joost van der Sluis <joost> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 26 | CC: | 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: | |||
lazarus-1.6.2-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-96d9586d7a 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 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. lazarus-1.6.2-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-65d01e61eb 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 This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle. Changing version to '26'. 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
(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. 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. |
Lazarus should use new %{fpc_arches} macro in exclusive arch to avoid build errors where fpc is not available.