Bug 1070721

Summary: Provides/Requires post processing
Product: [Fedora] Fedora Reporter: Vít Ondruch <vondruch>
Component: rpmAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jzeleny, novyjindrich, packaging-team-maint, pmatilai, ppisar
Target Milestone: ---Keywords: FutureFeature, Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-30 11:37:20 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 Vít Ondruch 2014-02-27 12:37:41 UTC
It would be nice, if Requires/Provides could be postprocessed. I've got 2 usecases in mind:

1) I am working on dependency generator for RubyGems. As soon as this generator is deployed, it will result in duplicated Requires/Provides. One set is the original Requires/Provides specified in .spec file and the other are the automatically generated Requires/Provides. If there would be possible Provides/Requires postprocessing, I could remove the duplicated entries.

2) In software collections, we have to modify Requires/Provides to include scl prefix, e.g. Requires: %{scl_prefix}foo. If there would be postprocessing possible, scl-utils could deploy its postprocessing filter and prepend the prefixes automatically.

There might be other usecases as well.

Comment 1 Vít Ondruch 2014-02-27 12:45:26 UTC
(In reply to Vít Ondruch from comment #0)
> 1) I am working on dependency generator for RubyGems. As soon as this
> generator is deployed, it will result in duplicated Requires/Provides. One
> set is the original Requires/Provides specified in .spec file and the other
> are the automatically generated Requires/Provides. If there would be
> possible Provides/Requires postprocessing, I could remove the duplicated
> entries.

Actually there is already other ticket requesting deduplication: http://rpm.org/ticket/80

Comment 2 Jaroslav Reznik 2015-03-03 15:32:02 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 3 Fedora End Of Life 2016-07-19 11:05:16 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 4 Vít Ondruch 2016-07-19 12:18:37 UTC
I would like to see this feature implemented.

Comment 5 Vít Ondruch 2021-11-30 09:44:44 UTC
This is probably long forgotten, but I'd be still interested in this feature.

Comment 6 Panu Matilainen 2021-11-30 10:40:19 UTC
RFE's are better filed upstream.

Comment 7 Vít Ondruch 2021-11-30 11:37:20 UTC
I thought this will be the answer ;) and this was probably the case per the comment 1. Anyway, I have reported this in GH