Announcing repoman - PyGTK yum repo manager
Peter Gordon
peter at thecodergeek.com
Mon Feb 5 06:56:11 UTC 2007
On Mon, 2007-02-05 at 00:03 -0500, David Cantrell wrote:
> python setup.py install
> --root=/var/tmp/repoman-0.4-1.fc7-root-brewbuilder
> running install
> error: invalid Python installation: unable to open /usr/lib/python2.5/config/Makefile (No such file or directory)
>
> It does work on rawhide though.
Hmm. According to repoquery, that file is part of the python-devel
package in development/FC7, so you should add python-devel as a
BuildRequires to your spec to fix this.
Actually, I see a couple of other things that may need fixing in the
spec file if you would be so kind for the next EVR bump. :]
* Source0 should be a fully-qualified URI using macros if
appropriate (i.e.,
http://example.com/sources/%{name}-%{version}.tar.gz)
* You don't need to set %debug_package to %nil, since having the
package build as noarch makes rpmbuild automagically not do any
of the normal debuginfo stripping.
* Instead of hardcoding "%{_libdir}/python?.?/site-packages/" into
your %files section, you should instead define the %
python_sitelib macro and use that in your %files. (See the
Packaging/Python page on the wiki for more information.)
Does this BuildRequires fix it?
--
Peter Gordon (codergeek42) / FSF Associate Member #5015
GnuPG Public Key ID: 0xFFC19479 / Fingerprint:
DD68 A414 56BD 6368 D957 9666 4268 CB7A FFC1 9479
Blog: http://thecodergeek.com/blog/
About: http://fedoraproject.org/wiki/PeterGordon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20070204/13b644da/attachment.sig>
More information about the fedora-devel-list
mailing list