Bug 803072

Summary: Missing Requires: httpd-mmn
Product: [Fedora] Fedora Reporter: Joe Orton <jorton>
Component: mod_nssAssignee: Matthew Harmsen <mharmsen>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 17CC: mharmsen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: mod_nss-1.0.8-16.fc17 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-26 07:57:50 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:
Bug Depends On:    
Bug Blocks: 803056    

Description Joe Orton 2012-03-13 21:19:49 UTC
Description:
The package mod_nss contains the httpd module:

   /usr/lib64/httpd/modules/libmodnss.so

but does not have an appropriate "Requires:" for httpd-mmn.  Such a
dependency is necessary to ensure the module is only used with a
compatible version of httpd; a module built against httpd 2.2 will not
work with httpd 2.4.

Please add the following to the top of the spec file as a single line:

%{!?_httpd_mmn: %{expand: %%global _httpd_mmn %%(cat %{_includedir}/httpd/.mmn || echo missing-httpd-devel)}}

Then add to the the mod_nss (sub-)package the following Requires
line:

Requires: httpd-mmn = %{_httpd_mmn}

A module package does not need to require httpd itself.  The above
change should be merged across all branches of Fedora/EPEL.

Version-Release:
mod_nss-1.0.8-15.fc17.src.rpm

Steps to reproduce:
1. rpm -q --requires mod_nss | grep httpd-mmn

Expected results:
e.g. httpd-mmn = 20051115-x86-64

Comment 3 Fedora Update System 2012-05-02 13:07:32 UTC
mod_nss-1.0.8-16.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/mod_nss-1.0.8-16.fc17

Comment 4 Fedora Update System 2012-05-02 20:31:31 UTC
Package mod_nss-1.0.8-16.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing mod_nss-1.0.8-16.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-7063/mod_nss-1.0.8-16.fc17
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2012-05-26 07:57:50 UTC
mod_nss-1.0.8-16.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.