[Python-bugs-list] [ python-Bugs-570655 ] bdist_rpm and the changelog option

noreply@sourceforge.net noreply@sourceforge.net
Wed, 06 Nov 2002 06:54:13 -0800


Bugs item #570655, was opened at 2002-06-18 12:07
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=570655&group_id=5470

Category: Distutils
Group: None
>Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Mihai Ibanescu (misa)
Assigned to: A.M. Kuchling (akuchling)
Summary: bdist_rpm and the changelog option

Initial Comment:
I think the changelog option for bdist_rpm is not
correctly handled. The documentation says it should
expect a path to a file containing the changelog
entries, but in bdist_rpm.py, line 200, it tries to
read it as a string (ensure_string etc).

The changelogs are multiple lines, and I was unable to
add multi-lined entries in setup.cfg. Even so, the
documentation is still misleading.

----------------------------------------------------------------------

>Comment By: A.M. Kuchling (akuchling)
Date: 2002-11-06 09:54

Message:
Logged In: YES 
user_id=11375

setup.cfg is parsed using ConfigParser.py, which supports 
multiple-line entries by embedding a newline followed by whitespace.
If that doesn't work for some reason, that's another bug; let me know and I'll look into it.




----------------------------------------------------------------------

Comment By: Mihai Ibanescu (misa)
Date: 2002-11-05 15:54

Message:
Logged In: YES 
user_id=205865

akuchling: how can you set changelog then?
Changelog entries are multi-lined, I did not find a way to
set it in setup.cfg. Do I miss something?

----------------------------------------------------------------------

Comment By: A.M. Kuchling (akuchling)
Date: 2002-11-04 08:36

Message:
Logged In: YES 
user_id=11375

Option hint fixed in revision 1.33 of bdist_rpm.py; fix also backported to 2.2 branch.


----------------------------------------------------------------------

Comment By: A.M. Kuchling (akuchling)
Date: 2002-11-04 08:28

Message:
Logged In: YES 
user_id=11375

Hmm... looking at old versions of bdist_rpm, changelog has always been a string.  We can't change it to a path now because that might break existing setup.py file; instead, the documentation should be fixed.

Thanks for reporting this!



----------------------------------------------------------------------

Comment By: Mihai Ibanescu (misa)
Date: 2002-06-28 15:57

Message:
Logged In: YES 
user_id=205865

Uploaded a patch

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=570655&group_id=5470