Bug 203532 - a -devel package should be split out + missing requires
Summary: a -devel package should be split out + missing requires
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-python2
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Matthew Barnes
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-08-22 10:47 UTC by Patrice Dumas
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-11-24 15:59:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Patrice Dumas 2006-08-22 10:47:30 UTC
Description of problem:

gnome-python2-gnomevfs ships 2 include files, gnome-python2 ships
a pkgconfig file. 

The include files shipped with gnome-python2-gnomevfs requires
the following missing requires:
gnome-vfs2-devel python-devel

and last the directory
/usr/include/gnome-python-2.0/
is unowned.

My opinion is that the solution would be to split a -devel 
package out of gnome-python2, with the pkgconfig file and 
the includes, owning
/usr/include/gnome-python-2.0/. Even though it would be a 
very small package, I believe it makes sense, and avoid
having Requires -devel packages, and proper requires.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Patrice Dumas 2006-11-17 15:45:59 UTC
It is better now, except that

* /usr/include/gnome-python-2.0/
  is still unowned.

* in pygnomevfs.h, there is an
#include <Python.h>
  So it seems to me that gnome-python2-devel should 
Requires:   python-devel

* I get warnings when installing gnome-python2-devel
warning: group root- does not exist - using root
  Maybe there is a typo in %defattr? cvs is currently down
  so I cannot check. 


Comment 2 Matthew Barnes 2006-11-17 20:47:33 UTC
Thanks for looking after the details.

I fixed the first two items but I can't reproduce the third, nor can I find a
typo in the %defattr lines.  I probably just need a second pair of eyes to look
at the spec file.

Pushing an update to Rawhide immediately, but holding off on an FC6 update until
there are more significant changes to the package.

gnome-python2-2.16.2-2.fc7

Comment 3 Patrice Dumas 2006-11-21 23:57:22 UTC
I cannot reproduce the error, so we can consider this issue 
closed. While looking at the spec I noticed the following 
issues:

* spec file should be named the same than Name: (srpm)
* there is no Url:
* the buildroot isn't the preferred one, and although some people
  don't like the -%(%{__id_u} -n), you could at least add the
  %{release} in it (preferred one, which is not really preferred nowadays
  is:)
%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
* Are the autoconf, automake and libtool BR still needed?
* Maybe the obsolete could be versioned, with <= the latest version-release
  known to be obsoleted.

You can close the bug if you like, we're drifting....

Comment 4 Matthew Barnes 2006-11-27 21:21:24 UTC
Thanks, I applied some of these suggestions to gnome-python2 in Rawhide.


Note You need to log in before you can comment on or make changes to this bug.