Bug 1213420 - x86-64 is not the only one 64-bit architecture in Fedora
Summary: x86-64 is not the only one 64-bit architecture in Fedora
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: bro
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fabian Affolter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ARM64, F-ExcludeArch-aarch64 F-ExcludeArch-ppc64le, PPC64LETracker
TreeView+ depends on / blocked
 
Reported: 2015-04-20 14:10 UTC by Marcin Juszkiewicz
Modified: 2015-06-21 23:26 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-06-21 23:26:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
spec changes (1.34 KB, application/mbox)
2015-04-20 14:10 UTC, Marcin Juszkiewicz
no flags Details

Description Marcin Juszkiewicz 2015-04-20 14:10:11 UTC
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:

Comment 1 Marcin Juszkiewicz 2015-04-20 14:29:44 UTC
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.


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