Bug 1494240

Summary: Use mariadb-connector-c instead of mysql-libs or mariadb-libs
Product: [Fedora] Fedora Reporter: Michal Schorm <mschorm>
Component: boinc-clientAssignee: Laurence Field <Laurence.Field>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: germano.massullo, Laurence.Field, mmahut, mschorm, xjakub
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: 2018-02-19 19:04:49 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 Michal Schorm 2017-09-21 19:37:03 UTC
Hello, please apply following command to the package SPECfile:
Your package FTBFS in rawhide, so I have no way to test the patch.

sed -i "s/mysql-devel/mariadb-connector-c-devel/" $(fedpkg gimmespec) ;

This change is currently applicable to the Rawhide (f28) only.




For more information check the tracking bugzilla.

Comment 1 Germano Massullo 2018-02-19 19:04:20 UTC
(In reply to Michal Schorm from comment #0)
> For more information check the tracking bugzilla.

Michal, could you please provide more informations?
Does this still apply?
Thank you

Comment 2 Germano Massullo 2018-02-19 19:04:49 UTC

*** This bug has been marked as a duplicate of bug 1494241 ***

Comment 3 Michal Schorm 2018-02-20 08:53:16 UTC
> Michal, could you please provide more informations?
> Does this still apply?

Sure.

In short:
on current Rawhide (F>=28) it is needed to resolve smaller or bigger issues EITHER mariadb connector package OR community-mysql-devel INSTEAD of mysql-devel.

This change is meant for Rawhide only! But F27 is protected againt such a push too.

--

Since you already made correct update to the SPECfile, no further action from you is needed.
Thanks!

https://src.fedoraproject.org/rpms/boinc-client/c/bb3a4e148e6657dabd54bf2848b331a25a4f80bc?branch=master

Comment 4 Germano Massullo 2018-02-20 11:07:31 UTC
(In reply to Michal Schorm from comment #3)
> This change is meant for Rawhide only! But F27 is protected againt such a
> push too.

I applied the change to F27, F26, EPEL7 too. Should I revert it?
Thank you

Comment 5 Michal Schorm 2018-02-23 01:27:36 UTC
Yes please.

F26 and EPEL7 are not compatible with this change.

Comment 6 Germano Massullo 2018-02-23 10:30:44 UTC
(In reply to Michal Schorm from comment #5)
> Yes please.
> 
> F26 and EPEL7 are not compatible with this change.

Can I ask you to check if the change looks okay to you?
https://src.fedoraproject.org/rpms/boinc-client/blob/master/f/boinc-client.spec

Thank you

Comment 7 Michal Schorm 2018-02-24 21:24:55 UTC
Looks good to me.

However if it would be on me, I'd rather use reversed expression like:

0%{?fedora} >= 27
Requires:   mariadb-connector-c-devel
%else
Requires:   mysql-devel
%endif