Make building work on platforms without separate _libdir
OBS-URL: https://build.opensuse.org/package/show/Education/dictd?expand=0&rev=10
This commit is contained in:
parent
4bd10e9b1a
commit
decdb6a956
@ -101,8 +101,10 @@ install -D -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/dictd.service
|
|||||||
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcdictd
|
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcdictd
|
||||||
|
|
||||||
# Makefile doesn't work correctly with libdir
|
# Makefile doesn't work correctly with libdir
|
||||||
mkdir -p %{buildroot}%{_libdir}/
|
if [ "x%{_libdir}" != "x%{_libexecdir}" ] ; then
|
||||||
mv -v %{buildroot}%{_libexecdir}/dictdplugin* %{buildroot}%{_libdir}/
|
mkdir -p %{buildroot}%{_libdir}/
|
||||||
|
mv -v %{buildroot}%{_libexecdir}/dictdplugin* %{buildroot}%{_libdir}/
|
||||||
|
fi
|
||||||
rm -fv %{buildroot}%{_libdir}/*.{la,a}
|
rm -fv %{buildroot}%{_libdir}/*.{la,a}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user