Bug 803059 - Missing Requires: httpd-mmn
Summary: Missing Requires: httpd-mmn
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: axis2c
Version: 17
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Garrett Holmstrom
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 803056
TreeView+ depends on / blocked
 
Reported: 2012-03-13 21:17 UTC by Joe Orton
Modified: 2012-04-12 02:15 UTC (History)
1 user (show)

Fixed In Version: axis2c-1.6.0-4.fc17
Clone Of:
Environment:
Last Closed: 2012-04-12 02:15:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Joe Orton 2012-03-13 21:17:26 UTC
Description:
The package axis2c contains the httpd module:

   /usr/lib64/httpd/modules/libmod_axis2.so /usr/lib64/httpd/modules/libmod_axis2.so.0 /usr/lib64/httpd/modules/libmod_axis2.so.0.6.0

but does not have an appropriate "Requires:" for httpd-mmn.  Such a
dependency is necesssary 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 this line to the top of the spec file:

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

Then add to the the axis2c (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:
axis2c-1.6.0-3.fc17.src.rpm

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

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

Comment 1 Garrett Holmstrom 2012-03-13 22:39:18 UTC
This sounds like a great idea for a packaging guideline.

Comment 2 Fedora Update System 2012-03-14 01:10:35 UTC
axis2c-1.6.0-4.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/axis2c-1.6.0-4.fc17

Comment 3 Fedora Update System 2012-03-16 02:40:15 UTC
Package axis2c-1.6.0-4.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 axis2c-1.6.0-4.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-3792/axis2c-1.6.0-4.fc17
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-04-12 02:15:00 UTC
axis2c-1.6.0-4.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.