Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1672798 - python2-clang installs python files in /clang
Summary: python2-clang installs python files in /clang
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: clang
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: serge_sans_paille
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-05 23:19 UTC by Philippe Troin
Modified: 2019-03-01 02:39 UTC (History)
6 users (show)

Fixed In Version: clang-7.0.1-4.fc29
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-01 02:39:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Philippe Troin 2019-02-05 23:19:21 UTC
Description of problem:
The clang package provides Python files under /clang, they should probably be under the python site-packages instead.

Version-Release number of selected component (if applicable):
python2-clang-7.0.1-1.fc29.x86_64

How reproducible:
Always

Steps to Reproduce:
1. rpm -ql python2-clang | grep '^/clang'

Actual results:
/clang
/clang/__init__.py
/clang/cindex.py
/clang/enumerations.py

Expected results:
The list should be empty, there should be no files under /clang.

Additionally, the python files are not byte-compiled (probably because they're in the wrong location).

Comment 1 serge_sans_paille 2019-02-19 09:22:43 UTC
This should at least be fixed in the forthcoming 8.0 version: https://koji.fedoraproject.org/koji/rpminfo?rpmID=16725479. i'm investigating the 7.0.1 version.

Comment 2 Fedora Update System 2019-02-26 09:53:03 UTC
clang-7.0.1-4.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-fcfaa6d2e1

Comment 3 Fedora Update System 2019-02-27 03:54:32 UTC
clang-7.0.1-4.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-fcfaa6d2e1

Comment 4 Fedora Update System 2019-03-01 02:39:04 UTC
clang-7.0.1-4.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.


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