Bug 197460

Summary: libgtk-java package errantly "provides" perl modules
Product: [Fedora] Fedora Reporter: Chris Weyl <cweyl>
Component: libgtk-javaAssignee: Stepan Kasal <kasal>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: nobody+pnasrat, perl-devel
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-08-13 19:56:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 202210    
Bug Blocks:    

Description Chris Weyl 2006-07-02 05:39:34 UTC
Description of problem:
This package tells rpm it provides a number of perl modules -- as near as I can
tell, it doesn't actually do that :)


Version-Release number of selected component (if applicable):
Latest FC5 errata (see below)


How reproducible:
Query the rpm database for a list of provides.


Steps to Reproduce:
1.  rpmquery --provides libgtk-java-2.8.5-0.FC5

  
Actual results:
[cweyl@zeus ~]$ rpmquery --provides libgtk-java-2.8.5-0.FC5
libgtkjava-2.8.so()(64bit)
libgtkjni-2.8.so()(64bit)
perl(TestTree)
perl(aboutdialog)
perl(alignment)
perl(application)
perl(aspectframe)
perl(base)
perl(buttonbox)
perl(buttons)
perl(calendar)
perl(checkbutton)
perl(combobox)
perl(dataTable)
perl(draganddrop)
perl(drawingAreaTest)
perl(editor)
perl(entry)
perl(entrycompletion)
perl(filechooser)
perl(fileselector)
perl(fixed)
perl(frame)
perl(image)
perl(invisible)
perl(memorymgt)
perl(notebook)
perl(packbox)
perl(paned)
perl(progressbar)
perl(radiobuttons)
perl(rangewidgets)
perl(scale)
perl(scrolledwin)
perl(spinbutton)
perl(statusbar)
perl(stockicons)
perl(table)
perl(testgtk)
perl(text)
perl(textbuffer)
perl(tree)
perl(treestore)
perl(uimanager)
libgtk-java = 2.8.5-0.FC5


Expected results:
Same, minus the perl(*)

Comment 1 Stepan Kasal 2006-08-11 16:17:23 UTC
Thanks for the report.

Actually, this is a bug in rpm-build, in the script which automatically
generates the list of provided modules.  Filed as bug #202210; as soon as it is
fixed, a rebuild of libgtk-java should fix the problem.

Comment 2 Paul Howarth 2006-08-11 16:27:13 UTC
It may be some time before the rpm bug is fixed. This sort of problem crops up
quite often for perl packages, for which there are some workarounds described here:

http://fedoraproject.org/wiki/Packaging/Perl

In fact a simple:

%define __perl_provides %{nil}

might be sufficient in this particular instance.

Comment 3 Paul Nasrat 2006-08-11 17:41:04 UTC
Don't install the examples as +x, they shouldn't have been installed as anything
other than 644 as +x makes no sense for .java files.

Comment 4 Stepan Kasal 2006-08-13 19:56:55 UTC
(In reply to comment #3)
> Don't install the examples as +x,

They are not installed with +x.

(In reply to comment #2)
> %define __perl_provides %{nil}

Indeed, I'm using this workaround until bug #202210 is fixed.
Thank you for the advice.