]
Lukáš Valach commented on JBDS-4257:
------------------------------------
According to the documentation \[1\], when a package is built by RPM the list of provided
packages is generated automatically by default. This behaviour can be disabled using tag
"autoprov".
So I have added this line to devstudio.spec.template
{code}
# Disable automatic provision generation
AutoProv: no
{code}
Then I build RPM and check what the RPM provides
{code}
rpm -qp --provides ./rh-eclipse47-devstudio-11.0-0.20170721.0905.el7.x86_64.rpm
rh-eclipse47-devstudio = 11.0-0.20170721.0905.el7
rh-eclipse47-devstudio(x86-64) = 11.0-0.20170721.0905.el7
{code}
I tried to install rh-eclipse47 and I see that problem is resolved. Then I installed
rh-eclipse47-devstudio and I don't see any problems.
Possible PR:
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]