Bug 1760277

Summary: capstone: Remove (sub)packages from Fedora 32+: python2-capstone
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: capstoneAssignee: Michal Ambroz <rebus>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: adel.gadllah, cstratak, igor.raits, mhroncok, ngompa13, pviktori, rebus, rschirone91, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-10-10 22:23:23 UTC Type: ---
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:    
Bug Blocks: 1625773, 1698500    

Description Miro Hrončok 2019-10-10 10:08:26 UTC
In line with the Mass Python 2 Package Removal [0], the following (sub)packages of capstone were marked for removal:

 * python2-capstone

According to our query, those (sub)packages only provide a Python 2 importable module. If this is not true, please tell us why, so we can fix our query.

Please remove them from your package in Rawhide (Fedora 32).

Please don't remove packages from Fedora 31, it is past Beta Freeze.
Please don't do this for Fedora 30/29 either, removing packages from a released Fedora branch is forbidden.

As said in the change document, if there is no objection in a week, we will remove the package(s) as soon as we get to it. This change might not match your packaging style, so we'd prefer if you did the change. If you need more time, please let us know here.

If you do the change yourself, it would help us a lot by reducing the amount of packages we need to mass change.

We hope this doesn't come to you as a surprise. If you want to know our motivation for this, please read the change document [0].

[0] https://fedoraproject.org/wiki/Changes/F31_Mass_Python_2_Package_Removal

Comment 1 Miro Hrončok 2019-10-10 10:11:44 UTC
Beware!

$ repoquery --repo=rawhide{,-source} --whatrequires python2-capstone

Returns a handful of packages, but they mostly only require libcapstone.so.4()(64bit) and that is provided by more packages:

$ repoquery --repo=rawhide --whatprovides 'libcapstone.so.4()(64bit)'
capstone-0:4.0.1-6.fc32.x86_64
python2-capstone-0:4.0.1-6.fc32.x86_64
python3-capstone-0:4.0.1-6.fc32.x86_64

Double check:

$ for pkg in $(repoquery --repo=rawhide{,-source} --whatrequires python2-capstone --qf "%{NAME}"); do echo $pkg; repoquery --repo=rawhide{,-source} --requires $pkg 2>/dev/null | grep capstone; echo; done
capstone-devel
capstone(x86-32) = 4.0.1-6.fc32
capstone(x86-64) = 4.0.1-6.fc32
libcapstone.so.4
libcapstone.so.4()(64bit)

edb
capstone-devel
libcapstone.so.4()(64bit)

qemu-system-aarch64-core
libcapstone.so.4()(64bit)

qemu-system-alpha-core
libcapstone.so.4()(64bit)

qemu-system-arm-core
libcapstone.so.4()(64bit)

qemu-system-cris-core
libcapstone.so.4()(64bit)

qemu-system-hppa-core
libcapstone.so.4()(64bit)

qemu-system-lm32-core
libcapstone.so.4()(64bit)

qemu-system-m68k-core
libcapstone.so.4()(64bit)

qemu-system-microblaze-core
libcapstone.so.4()(64bit)

qemu-system-mips-core
libcapstone.so.4()(64bit)

qemu-system-moxie-core
libcapstone.so.4()(64bit)

qemu-system-nios2-core
libcapstone.so.4()(64bit)

qemu-system-or1k-core
libcapstone.so.4()(64bit)

qemu-system-ppc-core
libcapstone.so.4()(64bit)

qemu-system-riscv-core
libcapstone.so.4()(64bit)

qemu-system-s390x-core
libcapstone.so.4()(64bit)

qemu-system-sh4-core
libcapstone.so.4()(64bit)

qemu-system-sparc-core
libcapstone.so.4()(64bit)

qemu-system-tricore-core
libcapstone.so.4()(64bit)

qemu-system-unicore32-core
libcapstone.so.4()(64bit)

qemu-system-x86-core
libcapstone.so.4()(64bit)

qemu-system-xtensa-core
libcapstone.so.4()(64bit)

qemu-user
libcapstone.so.4()(64bit)

radare2
libcapstone.so.4
libcapstone.so.4()(64bit)
pkgconfig(capstone) >= 3.0.4

Comment 2 Michal Ambroz 2019-10-10 22:23:23 UTC
removed python2 from fc32/rawhide

Comment 3 Miro Hrončok 2019-10-10 22:40:26 UTC
Thanks!

Comment 4 Michal Ambroz 2019-10-15 01:16:54 UTC
removed from epel8 as well - the python2 package has not been build there either, so removing.