Bug 1493690 - Use mariadb-connector-c-devel instead of mysql-devel or mariadb-devel
Summary: Use mariadb-connector-c-devel instead of mysql-devel or mariadb-devel
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ndoutils
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Simone Caronni
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1486480
TreeView+ depends on / blocked
 
Reported: 2017-09-20 17:20 UTC by Michal Schorm
Modified: 2017-12-20 08:24 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-20 08:24:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Michal Schorm 2017-09-20 17:20:11 UTC
Hello, please apply following command to the package SPECfile:

sed -i "s/mysql-devel/mariadb-connector-c-devel/" $(fedpkg gimmespec) ; \
sed -i "s/mariadb-devel/mariadb-connector-c-devel/" $(fedpkg gimmespec) ; \
sed -i "s/%{_libdir}\/mysql/%{_libdir}\/mariadb/" $(fedpkg gimmespec) ; \
sed -i "s/mariadb-connector-c-devel/mariadb-connector-c-devel openssl-devel/" $(fedpkg gimmespec) ;

I've tested, that after the command ^ the package builds successfuly in KOJI and uses mariadb client library.

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




For more information check the tracking bugzilla.

Comment 1 Michal Schorm 2017-09-20 17:22:26 UTC
This package failed the scratch build test in KOJI on PPC64LE, but it seems the reason is not related to the MariaDB change.

Comment 2 Michal Schorm 2017-12-13 12:40:32 UTC
Hello,
 any update regarding this issue?

Comment 3 Simone Caronni 2017-12-20 08:24:42 UTC
This has been fixed for a while, I should have closed the ticket:

https://src.fedoraproject.org/rpms/bacula/blob/master/f/bacula.spec#_81-86

The f28 build error is related to the fact that I left enabled "--with-tcp-wrappers" as a configure parameter but removed tcp wrapper dependencies as requested for Fedora 28. Fixing it now.


Note You need to log in before you can comment on or make changes to this bug.