Bug 1284585
Summary: | need to modify to not require ant/java | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Ade Lee <alee> |
Component: | qdox | Assignee: | Mikolaj Izdebski <mizdebsk> |
Status: | CLOSED ERRATA | QA Contact: | qe-baseos-tools-bugs |
Severity: | unspecified | Docs Contact: | |
Priority: | medium | ||
Version: | 7.3 | CC: | jpazdziora, mcermak, mizdebsk, mkosek, ovasik, robert |
Target Milestone: | rc | Keywords: | EasyFix |
Target Release: | 7.3 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | qdox-1.12.1-10.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-11-04 00:06:11 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: | |||
Bug Depends On: | |||
Bug Blocks: | 1283777, 1296125, 1313485 |
Description
Ade Lee
2015-11-23 15:53:56 UTC
Dependency on ant was originally optional, but it was changed to non-optional by pom macros. It should be safe to change it back to optional and filter generated requires to remove this dependency. Based on the initial measurement in Fedora, this could save about 300 MB of requirements for FreeIPA, which is pretty significant saving, for our users. Or remove ant-devel requirement from ant on RHEL. I don't think it is needed, current Fedora hasn't that dependency. I can install ant on Fedora without pulling any java*-devel package It looks like the dependency on non-headless-java is still there: # rpm -q --requires qdox-1.12.1-10.el7 java >= 1.5 jpackage-utils mvn(junit:junit) rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(PayloadIsXz) <= 5.2-1 Dependency on ant was removed. Dependency on java won't be removed as java is required for qdox to be usable. (In reply to Mikolaj Izdebski from comment #10) > Dependency on ant was removed. Dependency on java won't be removed as java > is required for qdox to be usable. Do you say java-headless is not enough? On Fedora 23, the dependencies are # rpm -q --requires qdox-2.0-0.4.M3.fc23 java-headless >= 1:1.5 jpackage-utils rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(PayloadIsXz) <= 5.2-1 But as noted in 1284579, it looks like the dependency gets into the package via some rpm autodependency mechanism because the 'java >= 1.5' is not there in the .spec file. Fedora is not RHEL. Fedora has a feature that enabled headless Java (implemented in Fedora 21, see https://fedoraproject.org/wiki/Changes/HeadlessJava), RHEL 7 does not (it is based on Fedora 18/19). 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://rhn.redhat.com/errata/RHBA-2016-2180.html |