Bug 705486 - RFE: tcp_wrappers - add a tcp_wrappers-devel virtual provide
Summary: RFE: tcp_wrappers - add a tcp_wrappers-devel virtual provide
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: tcp_wrappers
Version: 5.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jan F. Chadima
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-17 19:06 UTC by Jose Pedro Oliveira
Modified: 2011-08-19 06:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-19 06:37:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jose Pedro Oliveira 2011-05-17 19:06:00 UTC
Description of problem:
The tcp_wrappers package shipped in RHEL is still monolithic.  In contrast
to the one shipped in RHEL6 or to the one shipped in recent Fedora versions, where it has been splitted in three - tcp_wrappers, tcp_wrappers-libs, tcp_wrappers-devel.

The current monolithic package is making life harder for packagers, in particular the EPEL ones, by not providing tcp_wrappers-devel.  To overcome this problem
packagers have been using conditional code like

    %if 0%{?rhel}
    BuildRequires: tcp_wrappers
    %else
    BuildRequires: tcp_wrappers-devel
    %endif

or even worse, now that we have to support RHEL6 (and several Fedora versions):

   %if 0%{?rhel}
      %if 0%{?rhel} <= 5
        BuildRequires: tcp_wrappers
      %endif
      %if 0%{?rhel} >= 6
        BuildRequires: tcp_wrappers-devel
      %endif
    %endif

This problem could be alleviated if RHEL5 tcp_wrappers started also providing tcp_wrappers-devel.

     Provides: tcp_wrappers-devel  

Version-Release number of selected component (if applicable):
tcp_wrappers-7.6-40.7

Expected results:
To have the tcp_wrappers RPM also provide tcp_wrappers-devel

Additional info:

Possible patch:
----------
$ diff -u tcp_wrappers.spec.rhel5 tcp_wrappers.spec
--- tcp_wrappers.spec.rhel5	2009-03-10 13:58:49.000000000 +0000
+++ tcp_wrappers.spec	2011-05-17 20:03:23.000000000 +0100
@@ -38,6 +38,8 @@
 BuildPreReq: glibc-devel >= 2.2		
 BuildRoot: %{_tmppath}/%{name}-root
 
+Provides: tcp_wrappers-devel
+
 %description
 The tcp_wrappers package provides small daemon programs which can
 monitor and filter incoming requests for systat, finger, FTP, telnet,
----------

Comment 1 Jan F. Chadima 2011-07-11 10:51:25 UTC
Can you contact RH support please?


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