https://bugzilla.redhat.com/show_bug.cgi?id=1950923
--- Comment #6 from Ankur Sinha (FranciscoD) <sanjay.ankur(a)gmail.com> ---
Looks good but I'm wondering if we need to add the provides/obsoletes to the
python3 sub-package too. I installed the current package:
$ rpm -q python3-FireflyAlgorithm
python3-FireflyAlgorithm-0.0.4-1.fc34.noarch
then, I tried to install the f34 build of the renamed package. It installs
fine, yes but does not upgrade the previous one---which is should, no?
$ sudo dnf install ./python3-fireflyalgorithm-0.0.4-2.fc34.noarch.rpm
[sudo] password for asinha:
Last metadata expiration check: 1:57:57 ago on Sun 25 Apr 2021 15:41:30 BST.
Dependencies resolved.
=============================================================================================================================================================================
Package Architecture
Version Repository
Size
=============================================================================================================================================================================
Installing:
python3-fireflyalgorithm noarch
0.0.4-2.fc34 @commandline
13 k
Transaction Summary
=============================================================================================================================================================================
Install 1 Package
This is because python3 subpackage does not obsolete/provide the older python3
subpackage:
$ rpm -qp --provides ./python3-fireflyalgorithm-0.0.4-2.fc34.noarch.rpm
python-fireflyalgorithm = 0.0.4-2.fc34
python3-fireflyalgorithm = 0.0.4-2.fc34
python3.9-fireflyalgorithm = 0.0.4-2.fc34
python3.9dist(fireflyalgorithm) = 0.0.4
python3dist(fireflyalgorithm) = 0.0.4
$ rpm -qp --obsoletes ./python3-fireflyalgorithm-0.0.4-2.fc34.noarch.rpm
# no output
Can you check if in your test it upgraded the older package, or do you now have
both installed?
Cheers,
Ankur
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component