Bug 725423

Summary: Perl dependency generator: trailing spaces after dependency name
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: rpmAssignee: Fedora Packaging Toolset Team <packaging-team>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: ffesti, jnovy, pmatilai
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-07 13:03:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 694496    

Description Petr Pisar 2011-07-25 12:58:33 UTC
Dependency generator exports sometimes dependency names with trailing white spaces. This can confuse dependency filters defined in package spec file.

Example:

package perl-Memoize-ExpireLRU, commit 105c1eeeb397f2db55eeb0b070d99432f2dcecac, rpm-4.9.1-2.fc16: Unversioned Provides perl(Memoize::ExpireLRU) has two trailings spaces.

Comment 1 Panu Matilainen 2011-09-09 07:28:33 UTC
Where exactly are you seeing this trailing whitespace? If it's 'rpm -qp --provides' output, the trailing whitespace is not really there, it's just an (unwanted) artifact of how --provides/--requires etc are implemented (see bug 717534).

Comment 2 Petr Pisar 2011-09-09 07:49:55 UTC
The space was passed to dependency filters defined in spec file too (both the old %filter_from_* and the new __*_exclude).

However I cannot reproduce it now  with rpm-4.9.1.1-2.fc17.x86_64. We have lot of such "\s*" hacks in perl-* spec files, so this is not my imagination. Maybe it has been fixed meanwhile somehow. I will give a try with older rpm later.

Comment 3 Panu Matilainen 2011-09-09 08:38:45 UTC
I'm not saying you're imagining things, but with the myriad combinations of perl dependency extraction and filtering mechanisms that exist (including the alternative depgen from perl-rpm-build-perl), without an exact reproducer looking into this would be just chasing ghosts.

Comment 4 Fedora Admin XMLRPC Client 2012-04-13 23:06:55 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 5 Fedora Admin XMLRPC Client 2012-04-13 23:10:30 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 6 Panu Matilainen 2012-05-07 13:03:19 UTC
Feel free to reopen if you come up with a reproducer, but without one chasing this would be hopeless waste of time.