Bug 1470013

Summary: The python subpackage of antlr is misnamed
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: antlrAssignee: Mikolaj Izdebski <mizdebsk>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mizdebsk, puntogil, xjakub
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 2.7.7-48 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-14 10:30:17 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:
Bug Depends On: 1467518    
Bug Blocks:    
Attachments:
Description Flags
dist-git patch none

Description Miro Hrončok 2017-07-12 09:23:27 UTC
Description of problem:
The python subpackage is called antlr-python, it should be python2-antlr

Version-Release number of selected component (if applicable):
antlr-2.7.7-47.fc26

How reproducible:
Always.

Steps to Reproduce:
1. Build antlr from source.

Actual results:
antlr-python-2.7.7-47.fc26.noarch.rpm and others

Expected results:
python2-antlr-2.7.7-47.fc26.noarch.rpm and others

Additional info:
Also it should BuildRequire python2-setuptools and python2-devel.

(Will send patch.)

Comment 1 Mikolaj Izdebski 2017-07-12 09:31:03 UTC
Can't be fixed until Java/glibc on ppc64le is fixed.

Comment 2 Miro Hrončok 2017-07-12 09:37:25 UTC
Created attachment 1296819 [details]
dist-git patch

Koji scratch build https://koji.fedoraproject.org/koji/taskinfo?taskID=20474189

Comment 3 Miro Hrončok 2017-07-12 09:40:19 UTC
(In reply to Mikolaj Izdebski from comment #1)
> Can't be fixed until Java/glibc on ppc64le is fixed.

Indeed, the ppc64le build failed.

(Maybe it can be merged to git as for now and it will be fixed once the build succeeds? I don't need it built right now.)

Comment 4 Mikolaj Izdebski 2017-07-12 11:42:56 UTC
(In reply to Miro Hrončok from comment #3)
> (Maybe it can be merged to git as for now and it will be fixed once the
> build succeeds? I don't need it built right now.)

Sure. Commited to dist-git with a minor change.

Comment 5 Miro Hrončok 2017-07-12 12:39:42 UTC
thanks!

Comment 6 Miro Hrončok 2017-07-12 12:40:32 UTC
BTW why was the epoch removed in http://pkgs.fedoraproject.org/cgit/rpms/antlr.git/commit/?id=97ac9b5138b3d008faace1ba4191587bea7555d9 ?

Comment 7 Mikolaj Izdebski 2017-07-12 12:46:21 UTC
RPM-wise, no epoch is the same thing as epoch 0. (Unfortunately I can't remove Epoch tag from the package as some rel-eng tooling is buggy and would break...)

Comment 8 Miro Hrončok 2017-07-12 13:28:59 UTC
I thought so, I added it just to be consistent. Thanks for explaining.

Comment 9 Mikolaj Izdebski 2017-07-14 10:30:17 UTC
I believe that this bug is fixed in antlr-2.7.7-48,
which is available in Fedora Rawhide, so I am closing this bug now.

The build containing the fix can be found at Koji:
http://koji.fedoraproject.org/koji/buildinfo?buildID=918463