Bug 1329226

Summary: obsolete httpie from F23
Product: [Fedora] Fedora Reporter: Kamil Páral <kparal>
Component: httpieAssignee: Rick Elrod <relrod>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: mhroncok, rbean, relrod
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: httpie-0.9.3-4.fc24 httpie-0.9.3-4.fc23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-21 19:26:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kamil Páral 2016-04-21 12:58:17 UTC
Description of problem:
I have upgraded from Fedora 23 to Fedora 24. httpie-0.9.2-2.fc23.noarch was kept installed, and I could not find it in Fedora 24 repos. So I reported a bug against the compose tool:
https://pagure.io/pungi/issue/279

It turned out to be a httpie bug. You should obsolete the old RPM when you're replacing it with a different RPM name. So please obsolete old versions of httpie with either python2-httpie or python3-httpie. Thanks.

Version-Release number of selected component (if applicable):
httpie-0.9.2-2.fc23.noarch
python2-httpie-0:0.9.3-3.fc24.noarch
python3-httpie-0:0.9.3-3.fc24.noarch

Comment 1 Miro Hrončok 2016-05-31 23:51:46 UTC
This is actually also an issue on Fedora 23, where I can do:

dnf install htttpie (pulls in httpie-0.9.2-2.fc23.noarch)
dnf install python3-httpie:

Error: Transaction check error:
  file /usr/bin/http from install of python3-httpie-0.9.3-2.fc23.noarch conflicts with file from package httpie-0.9.2-2.fc23.noarch
  file /usr/share/man/man1/http.1.gz from install of python3-httpie-0.9.3-2.fc23.noarch conflicts with file from package httpie-0.9.2-2.fc23.noarch

Comment 2 Miro Hrončok 2016-06-01 00:10:11 UTC
The following line is present in the spec twice (because if/else statements):

    Provides:       httpie%{?_isa} = %{version}-%{release}

In both cases, it should be accompanied with:

    Obsoletes:      httpie < 0.9.3-2

The version should be hardcoded.

See https://fedoraproject.org/wiki/Upgrade_paths_%E2%80%94_renaming_or_splitting_packages

Comment 3 Rick Elrod 2016-06-03 21:23:26 UTC
Whoops, looks like this happened when Ralph made the python3 one be default.

Fixed in 21bbd80, building and creating updates now.

Thanks for the report.

Comment 4 Fedora Update System 2016-06-04 00:45:16 UTC
httpie-0.9.3-4.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-59ebb1aab2

Comment 5 Fedora Update System 2016-06-04 02:00:52 UTC
httpie-0.9.3-4.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-f2060876d6

Comment 6 Fedora Update System 2016-06-04 18:24:56 UTC
httpie-0.9.3-4.fc24 has been pushed to the Fedora 24 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-2016-59ebb1aab2

Comment 7 Fedora Update System 2016-06-05 03:57:52 UTC
httpie-0.9.3-4.fc23 has been pushed to the Fedora 23 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-2016-f2060876d6

Comment 8 Fedora Update System 2016-06-21 19:26:10 UTC
httpie-0.9.3-4.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2016-06-22 01:28:15 UTC
httpie-0.9.3-4.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.