Bug 705486

Summary: RFE: tcp_wrappers - add a tcp_wrappers-devel virtual provide
Product: Red Hat Enterprise Linux 5 Reporter: Jose Pedro Oliveira <jose.p.oliveira.oss>
Component: tcp_wrappersAssignee: Jan F. Chadima <jchadima>
Status: CLOSED WONTFIX QA Contact: qe-baseos-daemons
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.6   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-19 06:37:22 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 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?