[jbosstools-issues] [JBoss JIRA] (JBDS-4257) rh-eclipse46-devstudio provides packages that are dependencies of rh-eclipse46

Nick Boldt (JIRA) issues at jboss.org
Fri Jul 21 10:51:00 EDT 2017


    [ https://issues.jboss.org/browse/JBDS-4257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13438874#comment-13438874 ] 

Nick Boldt commented on JBDS-4257:
----------------------------------

Ah, I wish someone had mentioned *Autoprov:no* months ago! :D

Anyway, your suggestion looks good. I applied it locally and rebuilt, and my checkProvides.sh script confirmed that there are now only two Provides, with no additional garbage brought into the rpm.

https://github.com/jbdevstudio/jbdevstudio-product/pull/467/files

Building:

https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstudio/view/devstudio_master/job/devstudio.rpm_master/ >=799

> 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)



More information about the jbosstools-issues mailing list