Bug 1139180 - javapackages-tools: maven_depmap.py: Injects JAR manifest to non-ZIP files
Summary: javapackages-tools: maven_depmap.py: Injects JAR manifest to non-ZIP files
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: javapackages-tools
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michal Srb
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-08 10:25 UTC by Mikolaj Izdebski
Modified: 2014-09-09 16:08 UTC (History)
3 users (show)

Fixed In Version: javapackages-tools-4.2.0-1.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-09 15:07:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Mikolaj Izdebski 2014-09-08 10:25:32 UTC
Description of problem:
maven_depmap.py tries to injects javapackages manifest to non-ZIP files. But for example when artifact file is text file, manifest injection makes no sense.

Version-Release number of selected component (if applicable):
4.2.0-0.86.gitb9f9ff9

Steps to Reproduce:

echo "this is a text file" >$RPM_BUILD_ROOT%{_javadir}/foo.txt
%add_maven_depmap foo:foo:1.0 foo.txt

Actual results:
Text file is corrupted (it has ZIP file appended at the end)

Comment 1 Michal Srb 2014-09-08 16:07:10 UTC
Fixed in c43059e.

Comment 2 Michal Srb 2014-09-09 15:07:54 UTC
Fixed in Rawhide.


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