Fix ldconfig path.
It does not work with symlinks
This commit is contained in:
parent
f9cb9e667b
commit
949ef84e50
@ -1,6 +1,6 @@
|
||||
Name: mariadb-connector-c
|
||||
Version: 3.0.2
|
||||
Release: 10%{?dist}
|
||||
Release: 11%{?dist}
|
||||
Summary: The MariaDB Native Client library (C driver)
|
||||
Group: Applications/Databases
|
||||
License: LGPLv2+
|
||||
@ -74,7 +74,7 @@ make %{?_smp_mflags}
|
||||
make install DESTDIR=%{buildroot}
|
||||
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
|
||||
echo "%{_libdir}/mariadb" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||
echo "%{_libdir}/mysql" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||
|
||||
# static linked libraries and symlinks to them
|
||||
rm %{buildroot}%{_libdir}/mariadb/libmariadbclient.a
|
||||
@ -148,6 +148,9 @@ fi
|
||||
%license COPYING.LIB
|
||||
|
||||
%changelog
|
||||
* Mon Oct 09 2017 Michal Schorm <mschorm@redhat.com> - 3.0.2-11
|
||||
- Fix ldconfig path
|
||||
|
||||
* Wed Oct 04 2017 Michal Schorm <mschorm@redhat.com> - 3.0.2-10
|
||||
- Add scriptlets to handle errors in /usr/lib64/ created by older versions
|
||||
of mariadb and mariadb-connector-c pakages
|
||||
|
Loading…
Reference in New Issue
Block a user