From 07b315f4213c09462ad1496ee86f357d96770351c6b0dded82a833d73ef19f9e Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Wed, 3 Jul 2019 07:40:02 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Application:Geo/insighttoolkit?expand=0&rev=15 --- insighttoolkit.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/insighttoolkit.spec b/insighttoolkit.spec index 18269a6..26487c0 100644 --- a/insighttoolkit.spec +++ b/insighttoolkit.spec @@ -155,7 +155,9 @@ sed -i 's|/lib/|/lib64/|g' %{buildroot}%{_libdir}/cmake/ITK-%{baseversion}/ITKTa %endif rm -rf %{buildroot}%{_libexecdir}/debug # move files to a proper place -mv %{buildroot}%{_libdir}/gdcmopenjpeg-* %{buildroot}%{_libdir}/*itk*.cmake %{buildroot}%{_libdir}/cmake/ +mv %{buildroot}%{_libdir}/*itk*.cmake %{buildroot}%{_libdir}/cmake/ +# remove openjp2 file installation +rm -rf %{buildroot}/%{_includedir}/gdcmopenjpeg %{buildroot}%{_libdir}/gdcmopenjpeg-* %{_libdir}/pkgconfig/libopenjp2.pc %fdupes %{buildroot} @@ -175,7 +177,6 @@ mv %{buildroot}%{_libdir}/gdcmopenjpeg-* %{buildroot}%{_libdir}/*itk*.cmake %{bu %{_libdir}/lib*.so %{_libdir}/cmake/ %{_bindir}/itkTestDriver -%{_libdir}/pkgconfig/libopenjp2.pc %{_datadir}/* %changelog