--- rpms/cvm/sme10/cvm.spec 2021/03/03 21:25:50 1.2 +++ rpms/cvm/sme10/cvm.spec 2022/03/06 06:52:52 1.3 @@ -1,4 +1,4 @@ -# $Id: cvm.spec,v 1.1 2016/02/04 12:20:35 vip-ire Exp $ +# $Id: cvm.spec,v 1.2 2021/03/03 21:25:50 jpp Exp $ Name: cvm Summary: Credential Validation Modules @@ -10,7 +10,8 @@ Source: http://untroubled.org/cvm/cvm-0. BuildRoot: %{_tmppath}/cvm-buildroot URL: http://untroubled.org/cvm/ BuildRequires: libtool -BuildRequires: bglibs >= 1.100 +BuildRequires: bglibs >= 2.04 +BuildRequires: bglibs-devel BuildRequires: mysql-devel BuildRequires: postgresql-devel Obsoletes: cvm-vmailmgr @@ -46,14 +47,15 @@ Credential Validation Modules that authe %build %ifarch x86_64 -echo gcc "%{optflags}" -fPIC -I%{_includedir}/pgsql >conf-cc -echo gcc -s -fPIC -L%{_libdir}/mysql >conf-ld +echo gcc "%{optflags}" -fPIC -I%{_includedir}/pgsql -I/usr/local/bglibs/include >conf-cc +echo gcc -s -fPIC -L%{_libdir}/mysql -I/usr/local/bglibs/include -L/usr/local/bglibs/lib/ >conf-ld %else echo gcc "%{optflags}" -I%{_includedir}/pgsql >conf-cc echo gcc -s -L%{_libdir}/mysql >conf-ld %endif echo %{_bindir} >conf-bin echo %{_includedir} >conf-include +#echo "/usr/local/bglibs/include/" >conf-include echo %{_libdir} >conf-lib make libraries programs mysql pgsql @@ -92,3 +94,8 @@ rm -rf %{buildroot} %files pgsql %defattr(-,root,root) %{_bindir}/cvm-pgsql* + +%changelog +* Sun Mar 06 2022 Jean-Philippe Pialasse 0.97-1.sme +- build cvm 0.97 for SME10 [SME: 11315] +