Description of problem: 14:04 < lslebodn> jhrozek: you broke rawhide with latest libldb 14:04 < lslebodn> dnf install 'pyldb" fails because there is not such provides in spec 14:05 < lslebodn> there is only 'pyldb(x86-64)'. So dnf install 'pyldb(x86-64)' works 14:05 < lslebodn> but it breaks build of samba and sssd 14:06 < jhrozek> lslebodn: file a bug 14:07 < lslebodn> IMHO, it should be enough to remove "%{?_isa}" from provides, obsoletes but it would be better to consult with pviktori or someone else experienced with fedora packaging
Petr, does removing isa from provides sound like a good fix to you?
http://koji.fedoraproject.org/koji/buildinfo?buildID=783592 https://kojipkgs.fedoraproject.org//work/tasks/532/14950532/root.log [root@b766bf8307b5 ~]# dnf install pyldb Last metadata expiration check: 0:02:13 ago on Wed Jul 20 12:23:57 2016. No package pyldb available. Error: Unable to find a match. [root@b766bf8307b5 ~]# dnf install 'pyldb(x86-64)' Last metadata expiration check: 0:02:15 ago on Wed Jul 20 12:23:57 2016. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: libldb x86_64 1.1.26-2.fc25 rawhide 132 k libtalloc x86_64 2.1.7-1.fc25 rawhide 44 k libtdb x86_64 1.3.9-1.fc25 rawhide 49 k libtevent x86_64 0.9.28-2.fc25 rawhide 36 k python-libs x86_64 2.7.12-1.fc25 rawhide 5.8 M python-tdb x86_64 1.3.9-1.fc25 rawhide 23 k python2-ldb x86_64 1.1.26-2.fc25 rawhide 47 k Transaction Summary ================================================================================ Install 7 Packages
I think you want to have both `Provides: pyldb` and `Provides: pyldb%{?_isa}`, but only `Obsoletes: pyldb < 1.1.26-1` (also, Obsoletes must be exact versions. If you carry it with an increasing value, it can cause problems with upgrades from older versions). Lastly, I'd recommend backporting this change to F23 and F24, if only because it'll make upgrades complicated if 1.1.27 is released (because we'll have to change the Obsoletes again).
(In reply to Stephen Gallagher from comment #3) > Lastly, I'd recommend backporting this change to F23 and F24, if only > because it'll make upgrades complicated if 1.1.27 is released (because we'll > have to change the Obsoletes again). I am strictly against back-porting to the stable versions of fedora. Because stable repo would still contain "pyldb" and updates would contain "python2-ldb". But "dnf install pyldb" will install package from stable repo and not latest version using provides. BZ1096506
Created attachment 1182645 [details] Spec change Attached is a patch which Stephen proposed.
Thanks for the patch and the review! Built for rawhide in libldb-1.1.26-4.fc25