Fix find command :P

This commit is contained in:
Hedayat Vatankhah 2013-02-13 02:43:57 +03:30
parent 58244f0fba
commit f0faccb446

View File

@ -36,8 +36,8 @@ developing applications that use %{name}.
%setup -q
%patch0 -p1 -b .mlibfix
# Applied upstream
find -name "*.cpp" -o -name "*.h" -exec sed -i.boostfix "s|shared_dynamic_cast|dynamic_pointer_cast|g" {} \;
find -name "*.cpp" -o -name "*.h" -exec sed -i.boostfix "s|shared_static_cast|static_pointer_cast|g" {} \;
find "(" -name "*.cpp" -o -name "*.h" ")" -exec sed -i.boostfix "s|shared_dynamic_cast|dynamic_pointer_cast|g" {} \;
find "(" -name "*.cpp" -o -name "*.h" ")" -exec sed -i.boostfix "s|shared_static_cast|static_pointer_cast|g" {} \;
%build
mkdir build