#3517 Incorrect *.py[co] files placement
Closed: Fixed None Opened 11 years ago by mkosek.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 921497

Description of problem:
(cannot found ipa-python component)

We are doing some checks regarding correct placement of *.py[co] files in rpm
packages.

In your x86_64 package, we found *.py[co] files placed under /usr/lib/
directory. Our test expect *.py[co] files from 64b package to be placed in
/usr/lib64/ dir or package to be build as noarch package.

Could you please move files to /usr/lib64?
Or should this package be build as noarch?

Version-Release number of selected component (if applicable):
ipa-python-3.1.0-1.el7.x86_64.rpm

Actual results:
ipa-python-3.1.0-1.el7.x86_64.rpm]:
/usr/lib/python2.7/site-packages/ipalib/__init__.py$
ipa-python-3.1.0-1.el7.x86_64.rpm]:
/usr/lib/python2.7/site-packages/ipalib/__init__.pyc$
ipa-python-3.1.0-1.el7.x86_64.rpm]:
/usr/lib/python2.7/site-packages/ipalib/__init__.pyo$
ipa-python-3.1.0-1.el7.x86_64.rpm]:
/usr/lib/python2.7/site-packages/ipalib/aci.py$
ipa-python-3.1.0-1.el7.x86_64.rpm]:
/usr/lib/python2.7/site-packages/ipalib/aci.pyc$
ipa-python-3.1.0-1.el7.x86_64.rpm]:
/usr/lib/python2.7/site-packages/ipalib/aci.pyo$

Expected results:
Correct placement of files under /usr/lib64 or build package as noarch

Related: #3197 (Use noarch RPMs for Python-only packages)

Based on information I got from jcholast, this should be already addressed in FreeIPA 4.3.2 branch.

Metadata Update from @mkosek:
- Issue assigned to someone
- Issue set to the milestone: FreeIPA 4.3.2

7 years ago

Login to comment on this ticket.

Metadata