Bug 1672100 - python3-rpy-0:2.9.5-1.fc30 owns /usr/lib64/python3.7/site-packages/
Summary: python3-rpy-0:2.9.5-1.fc30 owns /usr/lib64/python3.7/site-packages/
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: rpy
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: José Matos
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-03 19:25 UTC by Miro Hrončok
Modified: 2019-02-27 13:39 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-02-27 13:39:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2019-02-03 19:25:58 UTC
The /usr/lib64/python3.7/site-packages/ directory is supposed to be owned by python3-libs, not this package. Please fix the %files section not to include:

%{python3_sitearch} - /usr/lib64/python3.7/site-packages/

When you do it, please make sure not to own  /usr/lib64/python3.7/site-packages/__pycache__ either.

Comment 1 José Matos 2019-02-26 16:58:09 UTC
I am surprised that this occurs.

In the spec file we have:

%global srcname natsort
...
%files -n python3-%{srcname}
%license LICENSE
%doc README.rst
%{_bindir}/%{srcname}
%{python3_sitelib}/%{srcname}-*.egg-info/
%{python3_sitelib}/%{srcname}/

In no place the spec includes sitearch, only sitelib...

Comment 2 Miro Hrončok 2019-02-26 23:15:43 UTC
$ dnf repoquery --repo=rawhide -f /usr/lib64/python3.7/site-packages
python3-cheetah-0:3.1.0-7.fc30.x86_64
python3-libs-0:3.7.2-6.fc30.x86_64
python3-pystatgrab-0:0.7-13.fc30.x86_64
python3-rpy-0:2.9.5-2.fc30.x86_64


We are talking rpy, not natsort. Rpy actually has sitearch:
	
%files -n python3-%{srcname}
%doc AUTHORS NEWS PKG-INFO
%{python3_sitearch}/%{srcname}*

However, I've fixed the problem while fixing another problem:


https://src.fedoraproject.org/rpms/rpy/c/6ff7586c762c83a0831992847f6c85042b3d4ce0?branch=master

Yet in order to truly fix this a build needs to be made.
Since this issue is not very severe, it can wait for the next "natural" build - an update or F31 mass rebuild.

Comment 3 José Matos 2019-02-27 13:39:33 UTC
OK. You are right. :-)

I have two python packages with updates avaialable, rpy (3.0.0) and python-natsort (6.0.0).

So it is natural to see what could be improved with the update, except when you mix the report for one package with the other. :-)

Build rpy-3.0.0-1.fc31 (also available for F30) fixes the issue.

Thanks for the report.


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