| Summary: | Missing deps on Fedora 17 | ||
|---|---|---|---|
| Product: | [Community] PressGang CCMS | Reporter: | Joshua Wulf <jwulf> |
| Component: | CSProcessor | Assignee: | Lee Newson <lnewson> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.x | CC: | jwulf, lcarlon, sgordon |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 0.23.1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-06-07 01:30:22 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: | |
|
Description
Joshua Wulf
2012-04-16 01:45:24 UTC
Hackaround: yumdownloader cspclient sudo rpm -ivh --nodeps cspclient*.rpm Fedora 17 isn't released yet, or in Beta (though that is tomorrow) so I see no need to support it at this current time. Perhaps it may just be better to remove the dependency, since there isn't any decent way to use java dependencies and just force the user to install Java themselves. The ideal way to support it would be to have different versions of the package with different dependencies for different OS versions. I'm not sure how easy that is to automate. The easiest thing might be, as you say, to remove the java dependency in the meantime. The F17 issue at the moment is only with clean installs, or F16 upgrades where 1.6.0 was not installed before the upgrade. Dlesage did the upgrade from F16, and the F16 java-1.6.0-openjdk package remains on his system. The problem with that is that somethings work in one version of java that don't in another. Take the example of RHEL wanting to make the default Java SE 7, however that will cause issues as JBoss EAP5 has issues with Java SE 7. Just adding that when Fedora 17 goes live Java SE 6 will be at the end of its life cycle. So when that happens it makes more sense to move the dependencies up so that the CSP needs Java SE 7 or higher. (This would also fix some issues where I've had to do workarounds to do things in SE 6 that are standard in SE 7) Adding another positive of removing the java dependency: By just installing a Java version it doesn't guarantee that, that'll be the version used when running the program, since that is normally setup through Environment Variables or symbolic links. So the only users who benefit from the dependency, are the users who don't have java installed. I'll add something to the documentation: "Note: The Content Spec Processor client requires Java 1.6 or later. You should install a package that provides a Java 1.6 (or later) runtime and configure it using alternatives." Is there a reason not to specify the dependency like this: Requires: java >= 1:1.6.0 or, once support for 1.6.0 is phased out: Requires: java >= 1:1.7.0 I'm assuming that at the moment you have a variation of the more specific (but less graceful when upgrading): Requires: java-1.6.0-openjdk More info in the java packaging guidelines here: https://fedoraproject.org/wiki/Packaging:Java#BuildRequires_and_Requires Thanks for the info Steve. Your right that should work fine. I was under the impression that there wasn't a way to do that since the java packages are completely different packages and not just upgraded versions of the same package. I also had tried that but i didn't have the epoch so that would explain why that didn't work. Anyways I'll do another build to fix this and one other issue regarding the builder and inline XML elements that popped up yesterday. Fixed in 0.23.1 Closing and setting as current release as no QA was performed by the original reporter. If there is still an issue with this bug still than please re-open it. |