Petr Gajdos 2017-10-03 17:58:56 +00:00 committed by Git OBS Bridge
parent 63f7b241b8
commit 79c8fa4437

View File

@ -341,7 +341,13 @@ make test_dynamic
cd ..
%install
%if 0%{?suse_version} >= 1315
%make_install pkgdocdir=%{_defaultdocdir}/%{name}-%{maj}/
%else
make install \
DESTDIR=%{buildroot} \
pkgdocdir=%{_defaultdocdir}/%{name}-%{maj}/
%endif
# symlink header file relative to /usr/include/ImageMagick-7/
# so that inclusions like wand/*.h and magick/*.h work
ln -s ./MagickCore %{buildroot}%{_includedir}/%{name}-%{maj}/magick