Bug 803067

Summary: Missing Requires: httpd-mmn
Product: [Fedora] Fedora Reporter: Joe Orton <jorton>
Component: mod_bwAssignee: Jakub Hrozek <jhrozek>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 17CC: jhrozek
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: mod_bw-0.8-5.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-21 19:01:41 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:30 UTC
Description:
The package mod_bw contains the httpd module:

   /usr/lib64/httpd/modules/mod_bw.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_bw (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_bw-0.8-5.fc17.src.rpm

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

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

Comment 1 Fedora Update System 2012-03-14 09:54:15 UTC
mod_bw-0.8-2.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/mod_bw-0.8-2.el5

Comment 2 Fedora Update System 2012-03-14 09:54:27 UTC
mod_bw-0.8-5.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/mod_bw-0.8-5.fc16

Comment 3 Fedora Update System 2012-03-14 09:54:59 UTC
mod_bw-0.8-4.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/mod_bw-0.8-4.el6

Comment 4 Fedora Update System 2012-03-14 09:55:12 UTC
mod_bw-0.8-6.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/mod_bw-0.8-6.fc17

Comment 5 Fedora Update System 2012-03-15 19:53:31 UTC
Package mod_bw-0.8-4.el6:
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing mod_bw-0.8-4.el6'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2012-0773/mod_bw-0.8-4.el6
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2012-03-21 19:01:41 UTC
mod_bw-0.8-6.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2012-03-30 18:04:55 UTC
mod_bw-0.8-2.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2012-03-30 18:07:12 UTC
mod_bw-0.8-4.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2012-03-31 03:13:08 UTC
mod_bw-0.8-5.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.