diff options
-rw-r--r-- | packaging/qemu-accel-aarch64.spec | 2 | ||||
-rw-r--r-- | packaging/qemu-accel-armv7l.spec | 2 | ||||
-rw-r--r-- | packaging/qemu-accel.spec.in | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/packaging/qemu-accel-aarch64.spec b/packaging/qemu-accel-aarch64.spec index 0cad174..3bccb4d 100644 --- a/packaging/qemu-accel-aarch64.spec +++ b/packaging/qemu-accel-aarch64.spec @@ -355,7 +355,7 @@ sed -i -e "s,#PLUGIN_POSTIN#,ln -sf %{our_path}${gcc_install_dir}/liblto_plugin. sed -i -e "s,#PLUGIN_POSTUN#,ln -sf liblto_plugin.so.0 ${gcc_install_dir}/liblto_plugin.so," %{_sourcedir}/baselibs.conf %{?multilib: -sed -i -e '/post "/a post "echo '%{our_path}/lib' >> /etc/ld.so.conf"\n post "[ ! -e %{_rpmconfigdir} ] && mkdir -p $(dirname %{_rpmconfigdir}) && ln -s /usr/lib/rpm %{_rpmconfigdir}"' %{_sourcedir}/baselibs.conf +sed -i -e '/post "/a post "echo '%{our_path}/lib' >> /etc/ld.so.conf"\n' %{_sourcedir}/baselibs.conf # Set rpm config directory corresponding to architecture mkdir -p %{buildroot}%{_sysconfdir}/profile.d/ diff --git a/packaging/qemu-accel-armv7l.spec b/packaging/qemu-accel-armv7l.spec index 35fa679..53c4b65 100644 --- a/packaging/qemu-accel-armv7l.spec +++ b/packaging/qemu-accel-armv7l.spec @@ -355,7 +355,7 @@ sed -i -e "s,#PLUGIN_POSTIN#,ln -sf %{our_path}${gcc_install_dir}/liblto_plugin. sed -i -e "s,#PLUGIN_POSTUN#,ln -sf liblto_plugin.so.0 ${gcc_install_dir}/liblto_plugin.so," %{_sourcedir}/baselibs.conf %{?multilib: -sed -i -e '/post "/a post "echo '%{our_path}/lib' >> /etc/ld.so.conf"\n post "[ ! -e %{_rpmconfigdir} ] && mkdir -p $(dirname %{_rpmconfigdir}) && ln -s /usr/lib/rpm %{_rpmconfigdir}"' %{_sourcedir}/baselibs.conf +sed -i -e '/post "/a post "echo '%{our_path}/lib' >> /etc/ld.so.conf"\n' %{_sourcedir}/baselibs.conf # Set rpm config directory corresponding to architecture mkdir -p %{buildroot}%{_sysconfdir}/profile.d/ diff --git a/packaging/qemu-accel.spec.in b/packaging/qemu-accel.spec.in index f3764ee..96148c8 100644 --- a/packaging/qemu-accel.spec.in +++ b/packaging/qemu-accel.spec.in @@ -352,7 +352,7 @@ sed -i -e "s,#PLUGIN_POSTIN#,ln -sf %{our_path}${gcc_install_dir}/liblto_plugin. sed -i -e "s,#PLUGIN_POSTUN#,ln -sf liblto_plugin.so.0 ${gcc_install_dir}/liblto_plugin.so," %{_sourcedir}/baselibs.conf %{?multilib: -sed -i -e '/post "/a post "echo '%{our_path}/lib' >> /etc/ld.so.conf"\n post "[ ! -e %{_rpmconfigdir} ] && mkdir -p $(dirname %{_rpmconfigdir}) && ln -s /usr/lib/rpm %{_rpmconfigdir}"' %{_sourcedir}/baselibs.conf +sed -i -e '/post "/a post "echo '%{our_path}/lib' >> /etc/ld.so.conf"\n' %{_sourcedir}/baselibs.conf # Set rpm config directory corresponding to architecture mkdir -p %{buildroot}%{_sysconfdir}/profile.d/ |