Red Hat Bugzilla – Bug 857479
brp-java-repack-jars does not run in mock environments because zip is not present
Last modified: 2012-11-09 06:51:35 EST
Description of problem:
The code in brp-java-repack-jars does not execute because the mock environment does not contain zip. It does in fact contain unzip. This is with a standard mock x86_64 f17 environment.
Not sure if this is the right component for this bug. Should redhat-rpm-config require zip? Please clone elsewhere - mock?, baseOS? if needed.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Package an rpm that contains jars within a mock environment.
2. The build logs indicate that brp-java-repack-jars was run, but the timestamps in the jars are not reset. You can also confirm that zip is not present.
redhat-rpm-config-9.1.0-34.fc18 has been submitted as an update for Fedora 18.
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing redhat-rpm-config-9.1.0-34.fc18'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
This has been pushed to F18 stable.