Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue644744] bdist_rpm fails when installing man pages

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

Nov 23, 2009, 1:42 AM

Post #1 of 6 (318 views)
Permalink
[issue644744] bdist_rpm fails when installing man pages

Thomas Vander Stichele <thomasvs [at] users> added the comment:

Attaching a reworked patch of the patch attached in
http://bugs.python.org/issue1169193

This worked for me on f-11, with python 2.6

----------
keywords: +patch
nosy: +thomasvs
Added file: http://bugs.python.org/file15383/distutils.bdist_rpm.patch

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue644744>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Nov 23, 2009, 3:53 AM

Post #2 of 6 (294 views)
Permalink
[issue644744] bdist_rpm fails when installing man pages [In reply to]

Tarek Ziadé <ziade.tarek [at] gmail> added the comment:

I'd rather see sed called from within Distutils. But I am not sure how
to handle it after install has been called.

Do you know if sed is *always* present on a fresh Fedora ?

(I am nosying Toshio as well)

----------
assignee: -> tarek
nosy: +a.badger
type: -> behavior
versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue644744>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Nov 23, 2009, 10:42 AM

Post #3 of 6 (291 views)
Permalink
[issue644744] bdist_rpm fails when installing man pages [In reply to]

Toshio Kuratomi <a.badger [at] gmail> added the comment:

sed is one of the programs we assume is always present when we build
packages in Fedora which is probably also what is wanted here. (A
default install of Fedora will include sed but someone might be able to
create a minimal install that did not include it.) Note that within
Fedora we usually use a wildcard with man pages. For example::

%{_mandir}/man1/foo.1*

I'd suggest doing this rather than hardcoding ".gz". Automatic
compression of manpages could be disabled on other distros, set to
bzip2, compress, or xz instead. Wildcarding the suffix will catch all
of these cases and be more future-proof.

----------

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue644744>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Nov 23, 2009, 11:25 AM

Post #4 of 6 (290 views)
Permalink
[issue644744] bdist_rpm fails when installing man pages [In reply to]

Thomas Vander Stichele <thomasvs [at] users> added the comment:

Hi Toshio,

I'd probably also go for the wildcarding, but you'd still need to
'change' the INSTALLED_FILES file to do so, so you'd still use the same
mechanism.

----------

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue644744>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Nov 23, 2009, 12:12 PM

Post #5 of 6 (293 views)
Permalink
[issue644744] bdist_rpm fails when installing man pages [In reply to]

Toshio Kuratomi <a.badger [at] gmail> added the comment:

Agreed. The substitution is still needed.

----------

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue644744>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Nov 28, 2009, 9:01 AM

Post #6 of 6 (263 views)
Permalink
[issue644744] bdist_rpm fails when installing man pages [In reply to]

Thomas Vander Stichele <thomasvs [at] users> added the comment:

Ok, so this patch can go in as is except for changing .gz to * ?

----------

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue644744>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.