- fix build (find doesn't support -perm +mode)

OBS-URL: https://build.opensuse.org/package/show/graphics/ImageMagick?expand=0&rev=164
This commit is contained in:
Petr Gajdos 2013-09-30 13:24:34 +00:00 committed by Git OBS Bridge
parent 6883a004b7
commit 5073d4b6c2
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Sep 30 13:23:05 UTC 2013 - pgajdos@suse.com
- fix build (find doesn't support -perm +mode)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Sep 5 12:52:07 UTC 2013 - pgajdos@suse.com Thu Sep 5 12:52:07 UTC 2013 - pgajdos@suse.com

View File

@ -182,7 +182,7 @@ make test
%perl_process_packlist %perl_process_packlist
cd 'Magick++' cd 'Magick++'
%{__rm} -rf demo/{.deps,.libs,*.C,*.o,Makefile*,run_demos.bat} %{__rm} -rf demo/{.deps,.libs,*.C,*.o,Makefile*,run_demos.bat}
PATH='/bin:/usr/bin' find demo -type f -perm +111 -execdir %{__rm} -rf '{}' ';' PATH='/bin:/usr/bin' find demo -type f -perm /111 -execdir %{__rm} -rf '{}' ';'
%{__mv} demo/makefile.2 demo/Makefile %{__mv} demo/makefile.2 demo/Makefile
cd .. cd ..
%{__mv} -t "${RPM_BUILD_ROOT}"'%{_sysconfdir}'/%{name}* "${RPM_BUILD_ROOT}"'%{_datadir}'/%{name}*/*.xml %{__mv} -t "${RPM_BUILD_ROOT}"'%{_sysconfdir}'/%{name}* "${RPM_BUILD_ROOT}"'%{_datadir}'/%{name}*/*.xml
@ -412,6 +412,9 @@ HTML documentation for ImageMagick library and scene examples.