Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1603161 - python2-bottle should not install /usr
Summary: python2-bottle should not install /usr
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-bottle
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rahul Sundaram
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-19 10:42 UTC by Kamil Dudka
Modified: 2018-07-27 13:36 UTC (History)
3 users (show)

Fixed In Version: python-bottle-0.12.13-6.fc29
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-07-27 13:36:00 UTC


Attachments (Terms of Use)

Description Kamil Dudka 2018-07-19 10:42:29 UTC
Version-Release number of selected component (if applicable):
python2-bottle-0.12.13-5.fc29


Steps to Reproduce:
1. dnf install python2-bottle


Actual results:
Error: Transaction check error:
  file /usr/bin from install of python2-bottle-0.12.13-5.fc29.noarch conflicts with file from package filesystem-3.9-1.fc29.x86_64
  file /usr/lib from install of python2-bottle-0.12.13-5.fc29.noarch conflicts with file from package filesystem-3.9-1.fc29.x86_64
  file /usr/lib/python3.7/site-packages/__pycache__/bottle.cpython-37.opt-1.pyc from install of python2-bottle-0.12.13-5.fc29.noarch conflicts with file from package python3-bottle-0.12.13-4.fc29.noarch
  file /usr/lib/python3.7/site-packages/__pycache__/bottle.cpython-37.pyc from install of python2-bottle-0.12.13-5.fc29.noarch conflicts with file from package python3-bottle-0.12.13-4.fc29.noarch


Additional info:
The fix is trivial:

--- a/python-bottle.spec
+++ b/python-bottle.spec
@@ -68,7 +68,7 @@ rm %{buildroot}%{_bindir}/bottle.py
 %files -n python2-%{srcname}
 %license LICENSE
 %doc AUTHORS README.rst
-%{python_sitelib}/*
+%{python2_sitelib}/*

 %files -n python%{python3_pkgversion}-%{srcname}
 %license LICENSE

Comment 1 Kamil Dudka 2018-07-27 13:36:00 UTC
appears fixed in python-bottle-0.12.13-6.fc29 via the following commit:

https://src.fedoraproject.org/cgit/rpms/python-bottle.git/commit/?id=52217866


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