[
https://issues.jboss.org/browse/JBDS-4257?page=com.atlassian.jira.plugin....
]
Václav Kadlčík commented on JBDS-4257:
--------------------------------------
No, I'm afraid you don't understand. The problem is not
"rh-eclipse47-devstudio depends on A and that's bad"
The problem is "reverse":
"rh-eclipse47-devstudio accidentally becomes an unwanted dependency for other
RPMs"
It's OK that rh-eclipse47-devstudio depends on rh-eclipse47-base. It isn't OK that
*rh-eclipse47-base depends on rh-eclipse47-devstudio*. rh-eclipse47-devstudio creates this
problem indirectly by unnecessary "Provides:" items in its RPM header.
Look at rpm -qp --provides rh-eclipse47-devstudio-11.0-0.20170720.0326.el7.x86_64.rpm.
That should contain only
* rh-eclipse47-devstudio = 11.0-0.20170720.0326.el7
* rh-eclipse47-devstudio(x86-64) = 11.0-0.20170720.0326.el7
Anything else at this moment is just begging for dependency problems.
rh-eclipse46-devstudio provides packages that are dependencies of
rh-eclipse46
------------------------------------------------------------------------------
Key: JBDS-4257
URL:
https://issues.jboss.org/browse/JBDS-4257
Project: Red Hat JBoss Developer Studio (devstudio)
Issue Type: Bug
Components: build, rpm
Affects Versions: 10.3.0.AM2
Environment: RHEL7
Reporter: Lukáš Valach
Assignee: Nick Boldt
Fix For: 11.0.0.GA
Attachments: rh-eclipse46-devstudio_provides.txt, rh-eclipse46_provides.txt,
yum_install_rh-eclipse46.png
I noticed rh-eclipse46-devstudio is installed as dependenci when installing rh-eclipse46.
!yum_install_rh-eclipse46.png|thumbnail!
[~vkadlcik] said that it is because rh-eclipse46-devstudio offers some package which
rh-eclipse46 needs, so yum decides to use devstudio as library.
He said that the best practice for end-user application like rh-eclipse46-devstudio is to
have less amount of stuff in "rpm -q --provides". Rh-eclipse46 provides 4
packages, devstudio provides 539 packages.
[^rh-eclipse46_provides.txt]
[^rh-eclipse46-devstudio_provides.txt]
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)