Bug 1277669

Summary: Bad nfs-utils dependency
Product: [Fedora] Fedora Reporter: Steve Dickson <steved>
Component: autofsAssignee: Ian Kent <ikent>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: ikent
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: autofs-5.1.1-7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-04 04:45:52 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:

Description Steve Dickson 2015-11-03 19:29:44 UTC
Description of problem:
autofs has the following build requires
  BuildRequires: nfs-utils

which is just wrong.

1) nfs-utils is not needed to build autofs 
2) If nfs-utils was needed the BuildRequires 
   should be of nfs-utils-devel not nfs-utils

Comment 1 Ian Kent 2015-11-03 23:45:06 UTC
(In reply to Steve Dickson from comment #0)
> Description of problem:
> autofs has the following build requires
>   BuildRequires: nfs-utils
> 
> which is just wrong.

I agree but we've had complains when it wasn't present
and I argued exactly that.

Maybe that was RHEL, can't remember now.

> 
> 1) nfs-utils is not needed to build autofs 
> 2) If nfs-utils was needed the BuildRequires 
>    should be of nfs-utils-devel not nfs-utils

TBH I'm not sure even that is needed.

Let me try a few builds, I'll remove it if it's not
really needed.

Comment 2 Ian Kent 2015-11-04 04:45:52 UTC
I've removed the nfs-utils BuildRequires as it doesn't make any
sense.

I haven't added an nfs-utils Requires because autofs can function
without nfs-utils. I'll wait until someone complains before adding
it.

This was actually fixed in the autofs-5.1.1-6 build but I noticed
another problem when inspecting the build log and fixed that in
autofs-5.1.1-7.