| Summary: | SimplyHTML: remove versioned jars from %{_javadir} | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Stanislav Ochotnicky <sochotni> | ||||||||
| Component: | simplyhtml | Assignee: | Mikolaj Izdebski <mizdebsk> | ||||||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
| Severity: | unspecified | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | rawhide | CC: | msimacek, sochotni | ||||||||
| Target Milestone: | --- | Keywords: | Patch | ||||||||
| Target Release: | --- | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | 0.16.7-3 | Doc Type: | Bug Fix | ||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2014-03-25 16:05:10 UTC | Type: | --- | ||||||||
| 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: | |||||||||||
| Bug Blocks: | 1022024 | ||||||||||
| Attachments: |
|
||||||||||
Created attachment 846624 [details]
Adapt to current packaging guidelines
Created attachment 878365 [details]
Adapt to current packaging guidelines
Rebased
symlink was changed to directory, this requires workaround for rpm bug:
# Workaround for RPM bug #646523 - can't change symlink to directory
# TODO: Remove this in F-23
%pretrans javadoc -p <lua>
dir = "%{_javadocdir}/%{name}"
dummy = posix.readlink(dir) and os.remove(dir)
Michael, please update your patch.
Created attachment 878465 [details]
Adapt to current packaging guidelines
Fixed in SimplyHTML-0.16.7-3 Built for rawhide: http://koji.fedoraproject.org/koji/buildinfo?buildID=506856 Closing. |
Package SimplyHTML seems to contain versioned jar files in %{_javadir} (/usr/share/java). Such versioned files cause problems for automatic requires generation and violate packaging guidelines[1]. List of subpackages and contained versioned jars SimplyHTML: /usr/share/java/SimplyHTML/SimplyHTML-0.16.7.jar /usr/share/java/SimplyHTML/SimplyHTML-help-0.16.7.jar /usr/share/java/SimplyHTML/SimplyHTMLHelp-0.16.7.jar /usr/share/java/SimplyHTML/simplyhtml-0.16.7.jar /usr/share/java/SimplyHTML/simplyhtmlhelp-0.16.7.jar There are cases where this can be a false positive. Most likely if: * your package is compatibility version and contains only versioned jars * your package has version in the name of jars that are part of package name Thank you, [1] https://fedoraproject.org/wiki/Packaging:Java#Filenames