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
|
Name: mariadb-connector-c
|
||||||
Version: 3.0.2
|
Version: 3.0.2
|
||||||
Release: 10%{?dist}
|
Release: 11%{?dist}
|
||||||
Summary: The MariaDB Native Client library (C driver)
|
Summary: The MariaDB Native Client library (C driver)
|
||||||
Group: Applications/Databases
|
Group: Applications/Databases
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
@ -74,7 +74,7 @@ make %{?_smp_mflags}
|
|||||||
make install DESTDIR=%{buildroot}
|
make install DESTDIR=%{buildroot}
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
|
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
|
# static linked libraries and symlinks to them
|
||||||
rm %{buildroot}%{_libdir}/mariadb/libmariadbclient.a
|
rm %{buildroot}%{_libdir}/mariadb/libmariadbclient.a
|
||||||
@ -148,6 +148,9 @@ fi
|
|||||||
%license COPYING.LIB
|
%license COPYING.LIB
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- Add scriptlets to handle errors in /usr/lib64/ created by older versions
|
||||||
of mariadb and mariadb-connector-c pakages
|
of mariadb and mariadb-connector-c pakages
|
||||||
|
Loading…
Reference in New Issue
Block a user