[Bug 478504] Review Request: gget - Download Manager for the GNOME desktop.

bugzilla at redhat.com bugzilla at redhat.com
Sun Jan 11 02:08:37 UTC 2009


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=478504





--- Comment #7 from Christoph Wickert <fedora at christoph-wickert.de>  2009-01-10 21:08:36 EDT ---
(In reply to comment #6)
> Do I need to switch to
> %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from
> distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
> 
> at the beginning of the spec file? It says "sitelib for noarch packages,
> sitearch for others"

No, because you are not using %{python_arch} anywhere in the %files section.
Remove the %{!?python_sitearch:... from the spec, you are not going to need it.

> Why don't I see any output when I run gget from a terminal?

No idea, you should.

> Even with this change, gget still doesn't run for me.

What version and arch are you using?

> Ok, done.

Yeah, but you are using /usr/share/icons/hicolor/*/apps/gget.* which is
STRICTLY forbidden. Needs to be %{_datadir}/icons/hicolor/*/apps/gget.*

> I removed "%define epimajor 2.23". Where should I use wildcards?

You removed the 'define...', but you did not remove %{epimajor} from
Requires/BuildRequires. IMO you can remove both and then use wildcards in the
files section (as you already do).

A site note on this issue:

$ rpm -ql gget-epiphany-extension | grep epi
/usr/lib/epiphany
/usr/lib/epiphany/2.22
/usr/lib/epiphany/2.22/extensions
...

As you can see these three directories are already owned by epiphany and there
should not be duplicate dir ownerships as outlined in
https://fedoraproject.org/wiki/Packaging/Guidelines#File_and_Directory_Ownership
So usually we would just own the files, not the dirs with
%{_libdir}/epiphany/2.22/extensions/py*

The problem is: If epiphany gets updated from 2.22 to 2.23 the three
directories will become unowned. 

BTW: This also means you will need to to a rebuild gget after every major
version update of epiphany.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the Fedora-package-review mailing list