Bug 1415460 - Lazarus should use new %{fpc_arches} macro in exclusive arch
Summary: Lazarus should use new %{fpc_arches} macro in exclusive arch
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: lazarus
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Joost van der Sluis
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-01-22 08:21 UTC by Mattia Verga
Modified: 2017-03-24 17:50 UTC (History)
2 users (show)

Fixed In Version: lazarus-1.6.2-1.fc25 lazarus-1.6.2-1.fc24
Clone Of:
Environment:
Last Closed: 2017-03-24 17:50:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.