[
https://issues.jboss.org/browse/JBDS-4257?page=com.atlassian.jira.plugin....
]
Nick Boldt commented on JBDS-4257:
----------------------------------
OK, I understand. You want the RPM to not "provide" the plugins that are
contained in the RPM, including not providing all the stuff from jbosstools, the devstudio
branding plugins, and all the 3rd party stuff from Eclipse Orbit which is needed for the
jbosstools/devstudio plugins and which are not available from other rh-eclipse46-*
packages.
How would I do that? Can you suggest a PR for this spec file?
https://github.com/jbdevstudio/jbdevstudio-product/blob/master/rpm/devstu...
Also, you'll notice that I removed a lot of the features/plugins from the
com.jboss.devstudio.core.rpm.feature so it installs considerably less as part of the RPM,
in order to de-dupe items already installed by upstream rh-eclipse46-* rpms.
https://github.com/jbdevstudio/jbdevstudio-product/commit/63b136ad12e6db6...
https://github.com/jbdevstudio/jbdevstudio-product/commit/1d53969a727011d...
https://github.com/jbdevstudio/jbdevstudio-product/commit/fad4c74a963079a...
Therefore when I run `rpm -q --provides -p
./rh-eclipse46-devstudio-10.3-0.20170130.2225.el7.x86_64.rpm | wc -l` I now only get 513
plugins provided by the devstudio rpm.
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
Priority: Minor
Fix For: 10.3.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)