Bug 128756

Summary: vixie-cron 4.1 pam requirements are bad
Product: [Fedora] Fedora Reporter: Steve Grubb <linux_4ever>
Component: vixie-cronAssignee: Jason Vas Dias <jvdias>
Status: CLOSED NEXTRELEASE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-07-29 13:13:20 UTC Type: ---
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 Grubb 2004-07-29 00:19:31 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.4.2)
Gecko/20040308

Description of problem:
At line 22 of the specfile: 

%if %{WITH_PAM}
Requires: pam
%endif

Should be:

%if %{WITH_PAM}
BuildRequires: pam-devel
%endif

Otherwise there won't be a clue that pam-devel is needed for
compiling. rpm will pick up the Requires: pam as it builds the package
even without it being explicitly said.

Version-Release number of selected component (if applicable):
vixie-cron-4.1-2

How reproducible:
Always

Steps to Reproduce:
1. rpm -e --nodeps pam-devel
2. rpmbuild -bb vixie-cron.spec

Actual Results:  compile failed

Expected Results:  message saying where the rpm was saved.

Additional info:

Comment 1 Jason Vas Dias 2004-07-29 13:13:20 UTC
Actually, it was 'Requires: pam-devel'
until I got a letter complaining that 
devel packages should not be required
on production systems.
Obviously, it should have been:
' Requires: pam
  BuildRequires: pam-devel
'
and shall be so henceforth 
( vixie-cron-4.1-5 + )