https://bugzilla.redhat.com/show_bug.cgi?id=1677989
--- Comment #28 from Petr Menšík <pemensik(a)redhat.com> ---
(In reply to J. Scheurich from comment #27)
Updated specfile
Please!
in %build section remove lines:
mkdir -p %{buildroot}%{_includedir}/%{name}/wrap
cp -r vcg img %{buildroot}%{_includedir}/%{name}
mkdir -p %{buildroot}%{_includedir}/%{name}/wrap
# wrap contains code in cpp files that should be compiled into a shared library
cp -a wrap/*.h
wrap/{gcache,gl,glw,igl,io_edgemesh,io_tetramesh,io_trimesh,math,minpack,mt,opensg,system}
\
%{buildroot}%{_includedir}/%{name}/wrap
in %build section change this:
rm %{buildroot}%{_includedir}/%{name}/wrap/system/getopt.h
for i in vcg img ; do
find %{buildroot}%{_includedir}/%{name} -name '*.cpp' | xargs -r rm
done
just to:
find vcg img -name '*.cpp' | xargs -r rm
Add into beginning of %install section:
mkdir -p %{buildroot}%{_includedir}/%{name}/wrap
cp -r vcg img %{buildroot}%{_includedir}/%{name}
cp -a wrap/*.h
wrap/{gcache,gl,glw,igl,io_edgemesh,io_tetramesh,io_trimesh,math,minpack,mt,opensg,system}
\
%{buildroot}%{_includedir}/%{name}/wrap
rm %{buildroot}%{_includedir}/%{name}/wrap/system/getopt.*
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component