This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Updated .spec file.
Type: Stage:
Components: Build Versions: Python 2.3
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: jafo, loewis
Priority: normal Keywords: patch

Created on 2003-10-14 07:50 by jafo, last changed 2022-04-10 16:11 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
python-2.3.spec jafo, 2003-10-14 07:50 Updated .spec file.
python-2.3.spec jafo, 2003-10-18 14:51 Without the /usr/local/bin/python replacement.
Messages (4)
msg44768 - (view) Author: Sean Reifschneider (jafo) * (Python committer) Date: 2003-10-14 07:50
I have created a new .spec file with a few small
changes and one larger one.  This version detects if
the HTML documentation is available, and continues
building without the documentation if it is not
available.  This goes in Misc/RPMS
msg44769 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2003-10-18 10:05
Logged In: YES 
user_id=21627

I'm concerned with the replacement of /usr/local/bin/python
- couldn't this also possibly change binary files, in an
then-unpredictable manner?

What files does that actually change?

I'm also concerned with the silent changes. Can you please
explicltly describe the smaller changes?
msg44770 - (view) Author: Sean Reifschneider (jafo) * (Python committer) Date: 2003-10-18 14:51
Logged In: YES 
user_id=81797

Ideally, the base Python release would not have explicit
references to /usr/local/bin/python in it, but instead would
use something like autoconf substitutions to put in the
actual installation destination in the source.

Note that the code which changes /usr/local/bin/python is
already in for the 2.3.2 release.

I will upload a new version of the patch which does not
change /usr/local/bin/python.  This will, of course, prevent
the .spec file from producting RPMs, but that's ok -- the
one that's currently in the head branch doesn't work either.

Other changes include:

Removal of patches, which can't be referenced from a build
directly from the tar-file.

Using the RPM tmp directory macro for the buildroot location.

Ensuring that the clean directive doesn't accidentally
delete the users root directory or another directory.

--enable-unicode=ucs4 in configure line.

Changing idle location.

Sean
msg44771 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2003-10-19 18:36
Logged In: YES 
user_id=21627

Thanks for the patch. Committed as python-2.3.spec 1.2.12.4
and 1.3.

If the change to replace /usr/local is needed, please do
contribute it. However, if so, I would still like to know
what files it actually changes, and whether it could
possibly change binaries.
History
Date User Action Args
2022-04-10 16:11:43adminsetgithub: 39405
2003-10-14 07:50:16jafocreate