Éric Araujo mer...@netwok.org added the comment:
More info on rpm vs. rpmbuild: http://bugs.python.org/issue1533164#msg82592
--
keywords: +easy
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11122
Éric Araujo mer...@netwok.org added the comment:
Given that we’ve made changes to distutils for Debian multiarch or Mac OS X
compiler breakage, I now think that switching distutils to only use rpmbuild
would be reasonable.
--
versions: -Python 3.1
Éric Araujo mer...@netwok.org added the comment:
Thanks for volunteering. I will review and apply when the py3k branch is
unfrozen.
I'll write a docs and script patch for this next week...
Note that I proposed to patch the docs only.
--
assignee: tarek - eric.araujo
Éric Araujo mer...@netwok.org added the comment:
BTW, it may be useful to point people to http://pypi.python.org/pypi/pypi2rpm,
which contains an updated command, bdist_rpm2.
--
___
Python tracker rep...@bugs.python.org
James purplei...@gmail.com added the comment:
I'll write a docs and script patch for this next week...
I'm happy to do the work,
Thanks for the comments.
James
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11122
New submission from James purplei...@gmail.com:
Hi distutils,
When I run:
./setup.py bdist --formats=rpm
on my source directory, I get the error:
rpm -ba --define _topdir /home/james/code/scantran/build/bdist.linux-x86_64/rpm
--clean build/bdist.linux-x86_64/rpm/SPECS/scantran.spec
-ba:
Éric Araujo mer...@netwok.org added the comment:
Does this mean that there is one rpm command that does not have all options,
and that rpm-build overwrites that command with another one that does the right
thing?
--
___
Python tracker
James purplei...@gmail.com added the comment:
In the source for distutils it seems to attempt to use 'rpmbuild' if it exists,
but otherwise falls back on regular 'rpm', however in my rpm:
$ rpm --version
RPM version 4.8.1
this fails as there is no -ba option.
James
--
Éric Araujo mer...@netwok.org added the comment:
What is your OS name and version? Is that rpm version considered obsolete or
not?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11122
Eric Smith e...@trueblade.com added the comment:
rpm -ba is very old. I think it's been at least since 2002 that -ba was
supported by rpm.
I believe bdist_rpm is calling rpmbuild -ba, and if that doesn't exist, then
rpm -ba is a transition strategy until all systems supported rpmbuild. This
Éric Araujo mer...@netwok.org added the comment:
This is a gray area between bugfix and bahavior change forbidden by the feature
freeze. Would it be okay for you to add a note in the docs and close this
report?
--
versions: +Python 3.1, Python 3.2, Python 3.3
Éric Araujo mer...@netwok.org added the comment:
Would it be okay for you to add a note in the docs and close this report?
I meant to ask whether you would agree with that outcome, not that you should
do the work (you’re welcome to provide a patch if you want to, but that’s not
required).
12 matches
Mail list logo