From: Jean-Marc Pigeon (Delson) Date: Tue, 17 Jun 2025 00:16:27 +0000 (-0400) Subject: Adjusting spec file about mysql X-Git-Tag: tag-0.9~145 X-Git-Url: https://jmp-git.ovh.safe.ca/?a=commitdiff_plain;h=62bf8a4c2d955e3ffe1df9810feb3b2581d032fe;p=jmp%2Fmailleur Adjusting spec file about mysql --- diff --git a/lib/unipos.c b/lib/unipos.c index be4e9db..7903724 100644 --- a/lib/unipos.c +++ b/lib/unipos.c @@ -6,6 +6,7 @@ /* */ /********************************************************/ #include +#include #include "subrou.h" #include "unipos.h" diff --git a/lib/unisql.c b/lib/unisql.c index 28615f5..80b2cc4 100644 --- a/lib/unisql.c +++ b/lib/unisql.c @@ -5,6 +5,8 @@ /* to handle POSTGRES SQL request */ /* */ /********************************************************/ +#include + #include "subrou.h" #include "unisql.h" diff --git a/mailleur.spec.in b/mailleur.spec.in index d40b3d6..f5e2495 100644 --- a/mailleur.spec.in +++ b/mailleur.spec.in @@ -146,6 +146,24 @@ Requires : postgresql-server %defattr(-,root,root,-) %{_libdir}/libposql.so.1* +#============================================================================= +%package mysql +Summary : mailleur using mysql/mariadb as Data-base + +#----------------------------------------------------------------------------- + +Requires : %{name} +Requires : mariadb + +#----------------------------------------------------------------------------- +%description mysql +'%{name}' is configured to work with MYSQL/MARIADB type database + +#----------------------------------------------------------------------------- +%files mysql +%defattr(-,root,root,-) +%{_libdir}/libmysql.so.1* + #============================================================================= %prep %setup -q