exclude i686 from relocating pkgconfig files

This commit is contained in:
Jos de Kloe 2019-07-25 23:10:24 +02:00
parent cf73af9f25
commit 14cb429b58

View File

@ -286,10 +286,14 @@ cp examples/C/*.c %{buildroot}%{_datadir}/doc/%{name}/examples/C
mkdir -p %{buildroot}%{_datadir}/doc/%{name}/examples/F90
cp examples/F90/*.f90 %{buildroot}%{_datadir}/doc/%{name}/examples/F90
# it seems pkgconfig files end up in lib in stead of lib64 now
# so move them to the right place
mv %{buildroot}/%{_usr}/lib/pkgconfig/ \
%{buildroot}/%{_libdir}/pkgconfig/
%ifarch i686
# pass
%else
# it seems pkgconfig files end up in lib in stead of lib64 now
# so move them to the right place
mv %{buildroot}/%{_usr}/lib/pkgconfig/ \
%{buildroot}/%{_libdir}/pkgconfig/
%endif
# It seems the cmake options
# -DCMAKE_SKIP_RPATH=TRUE