Bug 467588 - Double packaged files /usr/lib/python2.5/test/{__init__,test_support}.py*
Double packaged files /usr/lib/python2.5/test/{__init__,test_support}.py*
Product: Fedora
Classification: Fedora
Component: python (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Dave Malcolm
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-10-18 19:41 EDT by Robert Scheck
Modified: 2010-02-11 15:54 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-02-11 15:54:08 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Robert Scheck 2008-10-18 19:41:51 EDT
Description of problem:
warning: File(s) packaged into both python-2.5.2-1 and python-test-2.5.2-1:

Version-Release number of selected component (if applicable):

Actual results:
Double packaged files /usr/lib/python2.5/test/{__init__,test_support}.py*

Expected results:
No double packaged files.
Comment 1 Robert Scheck 2008-10-18 19:43:14 EDT
Either having them in the main package, if they're needed there or only put them in the test package, if they're only needed by test which anyway depends
on the main package.
Comment 2 James Antill 2008-10-18 22:45:37 EDT
what produced this warning?

if they _need_ to be in only one, we'll have to do a lot of work to only have them in the main package ... but AFAIK rpm doesn't mind if they are in both.
Comment 3 Robert Scheck 2008-11-01 14:38:20 EDT
This warning comes by a rpm checking utility. But why should it make sense
to package these files twice? And why should it be a lot of work to add these
files only to the main package and not to test subpackage as well?
Comment 4 James Antill 2008-11-02 23:35:04 EST
Because we have a lot of files in a dir, and atm. we basically do:

%files pkg1

%files pkg2

...if we wanted to filter out foo and bar from pkg2, then AIUI we have to put all the files in that dir into a file ABCD, filter out just foo and bar ... and then use "%files -f ABCD".
 Both files are small, and rpm is happy to install the exact same files in the exact same place. So I'm not dying to "fix" it.
Comment 5 Bug Zapper 2008-11-25 22:59:25 EST
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.

More information and reason for this action is here:
Comment 6 Bug Zapper 2009-11-18 03:35:59 EST
This message is a reminder that Fedora 10 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 10.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '10'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 10's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 10 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
Comment 7 James Antill 2009-11-18 08:49:23 EST
Pretty sure this is still true.
Comment 8 Dave Malcolm 2010-02-11 15:16:51 EST
Still true (local build of python-2.6.2-4.fc12.i386)

[david@brick ~]$ rpm -ql python python-libs python-devel python-tools python-test tkinter python-debuginfo | squeal "col0, count(col0) from - group by col0 having count(col0)>1" | cat
                 /usr/lib/python2.6/test|          2|
     /usr/lib/python2.6/test/__init__.py|          2|
    /usr/lib/python2.6/test/__init__.pyc|          2|
    /usr/lib/python2.6/test/__init__.pyo|          2|
 /usr/lib/python2.6/test/test_support.py|          2|
/usr/lib/python2.6/test/test_support.pyc|          2|
/usr/lib/python2.6/test/test_support.pyo|          2|
Comment 9 Dave Malcolm 2010-02-11 15:54:08 EST
Should be fixed in python-2.6.4-20.fc13; 
rebuilding now as http://koji.fedoraproject.org/koji/taskinfo?taskID=1978491

Note You need to log in before you can comment on or make changes to this bug.