Bug 1540723

Summary: unpackaged .jar file
Product: Red Hat Enterprise Linux 7 Reporter: Alois Mahdal <amahdal>
Component: openwsmanAssignee: Vitezslav Crhonek <vcrhonek>
Status: CLOSED ERRATA QA Contact: Martin Kyral <mkyral>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.5CC: djez, mkyral
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openwsman-2.6.3-4.git4391e5c.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-30 11:09: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:
Attachments:
Description Flags
proposed patch none

Description Alois Mahdal 2018-01-31 21:13:07 UTC
Description of problem
======================

Unpackaged .jar file is found when rebuilding openwsman from source:

    3681-Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
     3682-Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/test/rpmbuild/BUILDROOT/openwsman-2.6.3-3.git4391e5c.el7.x86_64
     3683:error: Installed (but unpackaged) file(s) found:
     3684-   /usr/share/java/openwsman-x86_64-2.6.3.jar

Full logs:

    http://nest.test.redhat.com/mnt/qa/scratch/x86-64-7s-m1/2017:30757/tps/tps-srpmtest.html#Rebuild%20Test-7-6-1


Version-Release number of selected component
============================================

openwsman-2.6.3-3.git4391e5c.el7.src

Comment 2 Vitezslav Crhonek 2018-02-27 13:04:01 UTC
Reproducible only if java-devel is installed.

Comment 3 Vitezslav Crhonek 2018-02-27 13:04:45 UTC
Created attachment 1401344 [details]
proposed patch

Comment 4 Alois Mahdal 2018-02-27 20:18:25 UTC
+1 for qa_ack

This is well-covered by TPS. To verify, just make sure java-devel is instaled (was true for RHEL-7.5 TpsInBeaker at time of filing of this bug) and run TPS SRPMTEST.

Comment 8 errata-xmlrpc 2018-10-30 11:09:08 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/RHBA-2018:3200