Description of problem: If current version of jansi-native is rebuilt it will produce incomplete RPMs due to attached artifacts with "linux<bits>" classifiers not being installed. This can be fixed by adding following line to %prep: %mvn_package :::linux%{bits}: __default Version-Release number of selected component (if applicable): jansi-native-1.5-1.fc21 How reproducible: always Steps to Reproduce: 1. rebuild package in current rawhide 2. look at rpm provides 3. notice missing linux64/linux32 mvn() provides Actual results: missing architecture mvn() provides Expected results: mvn(org.fusesource.jansi:jansi-native::linux64:) = 1.4 or mvn(org.fusesource.jansi:jansi-native::linux32:) = 1.4 provides generated
While we are at it, adding aarch64 to bits macro would be good I believe
(In reply to Stanislav Ochotnicky from comment #1) > While we are at it, adding aarch64 to bits macro would be good I believe 64-bit ARM can also be "arm64" or "armv8". While we're at this I would also add ia64, alpha, ppc64p7.
Fixed in a generic not needing to list all architectures in this commit: http://pkgs.fedoraproject.org/cgit/jansi-native.git/commit/?id=f6eca4ca7934c7643bfa0cf64be6faf19b8c8417
It's still not fixed, as of 1.5-3. $ repoquery --provides jansi-native jansi-native = 1.5-3.fc21 jansi-native(x86-64) = 1.5-3.fc21 mvn(org.fusesource.jansi:jansi-native) = 1.5 osgi(org.fusesource.jansi.native) = 1.5.0 Neither of provides specified in "Expected results" in comment #0 are present.
Created attachment 848339 [details] Proposed patch
The linux%{bits} problem is also present in rhel7.
And I should add that %{bits} doesn't work for me. On x86_64: rpm --eval %{bits} %{bits} rpm --eval %{__isa_bits} 64 On i686: rpm --eval %{bits} %{bits} rpm --eval %{__isa_bits} 32
(In reply to Zenon Panoussis from comment #7) > And I should add that %{bits} doesn't work for me. > > On x86_64: > > rpm --eval %{bits} > %{bits} > > rpm --eval %{__isa_bits} > 64 > > On i686: > > rpm --eval %{bits} > %{bits} > > rpm --eval %{__isa_bits} > 32 bits macro is defined in the spec file, it's not otherwise known to rpm
(In reply to Zenon Panoussis from comment #6) > The linux%{bits} problem is also present in rhel7. For RHEL 7 see bug #1028551.
Fixed in jansi-native-1.5-4
I believe that this bug is fixed in jansi-native-1.5-4, which is available in Fedora Rawhide, so I am closing this bug now. The build containing the fix can be found at Koji: http://koji.fedoraproject.org/koji/buildinfo?buildID=502091