Bug 971866

Summary: Remove libcap-devel requirement from apache-commons-daemon-jsvc-eap6
Product: [JBoss] JBoss Enterprise Web Server 2 Reporter: Michal Haško <mhasko>
Component: tomcat6, tomcat7Assignee: Weinan Li <weli>
Status: CLOSED EOL QA Contact: Libor Fuka <lfuka>
Severity: low Docs Contact:
Priority: unspecified    
Version: 2.1.0CC: jclere, myarboro, pslavice, rsvoboda
Target Milestone: ---   
Target Release: 2.1.0   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, JBoss Enterprise Web Server’s <filename>apache-commons-daemon-jsvc-eap6</filename> file required the missing <classname>libcap-devel</classname> package instead of the <classname>libcap</classname> package, which was available. This issue was fixed in JBoss Enterprise Web Server 2.1. The <classname>libcap-devel</classname> package is now available for the <filename>apache-commons-daemon-jsvc-eap6</filename> file as expected.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-13 12:09:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michal Haško 2013-06-07 13:01:49 UTC
Description of problem:
apache-commons-daemon-jsvc-eap6 requires libcap-devel instead of libcap.

Version-Release number of selected component (if applicable):
apache-commons-daemon-jsvc-eap6-1.0.15-1.redhat_1.ep6

Steps to Reproduce:
rpm -qR apache-commons-daemon-jsvc-eap6 | grep libcap

Actual results:
libcap-devel

Expected results:
libcap

Additional info:
Please change the component if necessary. Tomcat seemed to be the most appropriate.

Comment 5 Jean-frederic Clere 2014-02-13 14:20:48 UTC
It doesn't look fixed: http://pkgs.devel.redhat.com/cgit/rpms/apache-commons-daemon-jsvc-eap6/tree/apache-commons-daemon-jsvc-eap6.spec?h=ep-6-rhel-5

There is still Requires:       libcap-devel in the file.

Comment 7 Weinan Li 2014-02-21 09:53:38 UTC
Permaine has helped to fix this issue and updated the builds.

Comment 8 Weinan Li 2014-05-30 08:56:31 UTC
Verified changes:

diff --git a/apache-commons-daemon-jsvc-eap6.spec b/apache-commons-daemon-jsvc-eap6.spec
index 3ba1939..6d95074 100644
--- a/apache-commons-daemon-jsvc-eap6.spec
+++ b/apache-commons-daemon-jsvc-eap6.spec
@@ -45,7 +45,7 @@

 Name:           apache-commons-daemon-jsvc-eap6
 Version:        1.0.15
-Release:        1.redhat_1%{?dist}
+Release:        2.redhat_2%{?dist}
 Epoch:          1
 Summary:        Defines API to support an alternative invocation mechanism
 License:        ASL 2.0
@@ -70,7 +70,7 @@ BuildRequires:  unzip
 %endif
 BuildRequires:  jpackage-utils >= 0:1.6

-Requires:       libcap-devel
+Requires:       libcap
 Requires:       apache-commons-daemon-eap6

 %description
@@ -158,6 +158,9 @@ rm -rf $RPM_BUILD_ROOT
 %endif

 %changelog
+* Thu Jul 04 2013 Permaine Cheung <pcheung> - 1:1.0.15-2.redhat_2
+- Fix R:libcap (BZ #971866)
+

Comment 10 Michal Haško 2014-08-08 07:53:08 UTC
VERIFIED on 

apache-commons-daemon-jsvc-eap6-1.0.15-2.redhat_2.ep6.el5
apache-commons-daemon-jsvc-eap6-1.0.15-2.redhat_2.ep6.el6
apache-commons-daemon-jsvc-eap6-1.0.15-5.redhat_2.ep6.el7