| Summary: | jansi-native: doesn't install attached artifacts with proper classifiers | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Stanislav Ochotnicky <sochotni> | ||||
| Component: | jansi-native | Assignee: | Mikolaj Izdebski <mizdebsk> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | mgoldman, mizdebsk, pbrobinson, redhatbugs | ||||
| Target Milestone: | --- | Keywords: | Patch, Reopened | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | 1.5-4 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 1028551 (view as bug list) | Environment: | |||||
| Last Closed: | 2014-03-07 13:27:57 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: | |||||
| Bug Depends On: | 1049937 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
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 |
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