Bug 919640 - installed jarfile not in compliance with guidelines
Summary: installed jarfile not in compliance with guidelines
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: jline2
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Severin Gehwolf
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-09 05:19 UTC by Jon VanAlten
Modified: 2015-07-13 04:43 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-03-12 09:33:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Git formatted patch with a fix. (1.48 KB, text/plain)
2013-03-11 17:23 UTC, Severin Gehwolf
no flags Details

Description Jon VanAlten 2013-03-09 05:19:10 UTC
Description of problem:

From https://fedoraproject.org/wiki/Packaging:Java

"If the package provides a single JAR and the filename provided by the build is %{name}.jar or %{name}-%{version}.jar then filename %{name}.jar MUST be used."

But package instead installs %{name}-%{version}.jar

This causes a problem if someone wants to link to this jar or put it in a script, as it needs to be updated each time the package gets an update.  Please provide a non-versioned jar.

Version-Release number of selected component (if applicable):
jline2-2.10-4.fc19.noarch

How reproducible:
$ rpm -ql jline2 | grep ".jar"
/usr/share/java/jline2-2.10.jar
  
Actual results:
/usr/share/java/jline2-2.10.jar

Expected results:
/usr/share/java/jline2.jar

Comment 1 Severin Gehwolf 2013-03-11 17:22:52 UTC
Marek, I'm attaching a git-formatted patch which fixes this problem. I've also asked for commit privs on the package if you prefer that I push the fix myself. Feel free to ignore my commit-request otherwise :)

Thanks!

Comment 2 Severin Gehwolf 2013-03-11 17:23:53 UTC
Created attachment 708532 [details]
Git formatted patch with a fix.

Comment 3 Marek Goldmann 2013-03-11 19:43:31 UTC
Severin, feel free to commit this patch. I granted you commit rights.

Comment 4 Severin Gehwolf 2013-03-12 09:33:20 UTC
Fixed with http://koji.fedoraproject.org/koji/taskinfo?taskID=5111441

Thanks, Marek!


Note You need to log in before you can comment on or make changes to this bug.