Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1213420
Summary: | x86-64 is not the only one 64-bit architecture in Fedora | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Marcin Juszkiewicz <mjuszkie> | ||||
Component: | bro | Assignee: | Fabian Affolter <mail> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | rawhide | CC: | dkopecek, mail, pbrobinson | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-06-21 23:26:08 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: | 922257, 1051573 | ||||||
Attachments: |
|
After discussion on irc I think that this check would be even better: %if 0%{?_lib} != 'lib' So if Fedora one day decide to add libwhatever then it will still work. |
Created attachment 1016392 [details] spec changes Description of problem: %if %{_arch} == "x86_64" mkdir -p %{buildroot}%{_libdir} mv %{buildroot}/usr/lib/libbinpac.a %{buildroot}%{_libdir}/libbinpac.a %endif Version-Release number of selected component (if applicable): 2.3.2-1 How reproducible: always Steps to Reproduce: 1. do a build on aarch64 (arm-koji), ppc64 (ppc-koji) or s390x (s390-koji) Actual results: RPM build errors: error: File not found: /builddir/build/BUILDROOT/bro-2.3-1.fc22.ppc64/usr/lib64/libbinpac.a File not found: /builddir/build/BUILDROOT/bro-2.3-1.fc22.ppc64/usr/lib64/libbinpac.a Child return code was: 1 Expected results: Package builds Additional info: