diff --git a/gpac.spec b/gpac.spec index be6fa98..f9c011d 100644 --- a/gpac.spec +++ b/gpac.spec @@ -253,9 +253,10 @@ rm -rf $RPM_BUILD_ROOT%{_bindir}/%{osmo} } #hack -if [ %{_lib} = lib64 ] ; then +%if %{_lib} == "lib64" mv $RPM_BUILD_ROOT%{_prefix/lib $RPM_BUILD_ROOT%{_libdir} -fi +%endif + ## kwizart - rpmlint gpac no-ldconfig-symlink ln -sf libgpac.so.%{version}-DEV $RPM_BUILD_ROOT%{_libdir}/libgpac.so.0 ln -sf libgpac.so.0 $RPM_BUILD_ROOT%{_libdir}/libgpac.so