Bug 882537

Summary: jpackage-utils: Missing dependency on findutils
Product: [Fedora] Fedora Reporter: Mikolaj Izdebski <mizdebsk>
Component: jpackage-utilsAssignee: Deepak Bhole <dbhole>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: akurtako, dbhole, sochotni
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 882538 (view as bug list) Environment:
Last Closed: 2012-12-13 11:08:21 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 882538    
Attachments:
Description Flags
Proposed patch none

Description Mikolaj Izdebski 2012-12-01 18:40:04 UTC
Description of problem:
%update_maven_depmap calls find utility, but does not require findutils. This leads to macro failure if findutils are not installed.

Version-Release number of selected component (if applicable):
1.7.5-20.fc18

How reproducible:
always

Steps to Reproduce:
1. prepare a chroot at /chroot
2. install a package that calls %update_maven_depmap in its scriplet (for example xpp3)
 # yum --installroot /chroot install xpp3
  
Actual results:
  Installing : xpp3-1.1.3.8-7.fc18.noarch
/var/tmp/rpm-tmp.epHhD4: line 3: find: command not found

Possible solutions:
1) add findutils to requires

2) redefine %update_maven_depmap as %nil
This macro is no longer needed and therefore can be replaced with NIL.

Comment 1 Mikolaj Izdebski 2012-12-03 17:11:11 UTC
Created attachment 656844 [details]
Proposed patch

This patch reimplements %update_maven_depmap as NOOP.