Bug 1442377

Summary: [RFE][Rebase]Build openstack-java-sdk for RHV 4.2
Product: Red Hat Enterprise Virtualization Manager Reporter: Sandro Bonazzola <sbonazzo>
Component: openstack-java-sdkAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED ERRATA QA Contact: Pavol Brilla <pbrilla>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 4.2.0CC: lsurette, lsvaty, Rhev-m-bugs, ykaul
Target Milestone: ovirt-4.2.0Keywords: FutureFeature, Patch, Rebase
Target Release: ---Flags: gklein: testing_plan_complete-
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-java-sdk-3.1.2-2.el7 Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-15 17:32:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1443109    

Description Sandro Bonazzola 2017-04-14 12:14:44 UTC
rhv-dependencies ships openstack-java-sdk 3.1.2
which is already available in Fedora: https://koji.fedoraproject.org/koji/buildinfo?buildID=859194
We should build openstack-java-sdk instead of shipping it within rhv-dependencies.

The following patch to the spec file seems to be enough to be able to build on EL7:

--- ../fed-cgit/openstack-java-sdk/openstack-java-sdk.spec	2017-04-13 15:05:44.082584034 +0200
+++ openstack-java-sdk.spec	2017-04-14 13:51:42.135356443 +0200
@@ -17,11 +17,12 @@
 BuildRequires:  java-devel >= 1:1.7.0
 BuildRequires:  jpackage-utils >= 0:1.7.3
 BuildRequires:  maven-local
-BuildRequires:  resteasy
 BuildRequires:  jboss-annotations-1.1-api
 BuildRequires:  maven-gpg-plugin
 BuildRequires:  jakarta-commons-httpclient
 BuildRequires:  sonatype-oss-parent
+BuildRequires:  mvn(org.codehaus.jackson:jackson-mapper-asl)
+BuildRequires:  mvn(org.jboss.resteasy:resteasy-jaxrs)
 
 %description
 OpenStack client implementation in Java.

Comment 6 errata-xmlrpc 2018-05-15 17:32:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2018:1469

Comment 7 Franta Kust 2019-05-16 13:06:14 UTC
BZ<2>Jira Resync