Description of problem:
As part of my towards getting a parallel-installable Python 3 stack into Fedora 13 ( https://fedoraproject.org/wiki/Features/Python3F13 ), I want to make sure that for every packaged .pyc/.pyo file, that:
- the "magic" ABI value in the header matches that of the Python runtime that it's targetting (it appears to be easy to get this wrong; rpmbuild's postprocessing sets this to the ABI value for /usr/bin/python by default).
- the timestamp matches the mtime of the corresponding .py file (which is currently not correct for bug 526126)
I've created a new test for rpmlint which can be seen here:
See this thread:
Yep, thanks, let's keep the discussion on upstream rpmlint-discuss list. Assigning to myself here for now though until the outcome of the patch is in Fedora's rpmlint. (But if you'd prefer to see this bug CLOSED UPSTREAM, just go ahead.)
Sorry about this; the reason I opened a bz about this is to add it to my tracker bug for Python 3 in Fedora 13 (bug 530613), to make it easy for me to track the various things that need to happen.
For that reason I'd prefer to keep this bug open until we've got a version of the tests that you're happy with and that are actually in F13's rpmlint rpm (either via adding to upstream rpmlint, or via downstream patching in Fedora).
Hope that's OK.
(In reply to comment #2)
> tracker bug for Python 3 in Fedora 13 (bug 530613), to make it easy for me to
(which should have read "bug 530636"; sorry)
mtime and *.py existence parts of the patch are included in 0.92-1, see upstream list for discussion about the magic bits.
For reference: from my reading of the 0.93 release:
it looks like this test is in 0.93, the upstream commit was:
so presumably this can be closed out once 0.93 is in rawhide.
Yep, that's right, it's in 0.93-2 which will hopefully appear in the next Rawhide push. Thank you.
rpmlint-0.93-2.fc12 has been submitted as an update for Fedora 12.
rpmlint-0.94-1.fc12 has been submitted as an update for Fedora 12.
rpmlint-0.94-1.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.