Last commit erase some texts, dunno why.

This commit is contained in:
Christopher Meng 2014-01-17 10:02:54 +08:00
parent cbac301e28
commit 228b4d0ad5

View File

@ -177,8 +177,7 @@ popd
rm -rf __devel-doc
pushd build
make install DESTDIR=%{buildroot} INSTALL="install -p" CPPROG="cp -p"
find %{buildroot} -name '*.la' -exec rm -f {} ';'
find %{buildroot} -name '*.la' -delete
rm -f %{buildroot}%{_datadir}/OpenCV/samples/c/build_all.sh \
%{buildroot}%{_datadir}/OpenCV/samples/c/cvsample.dsp \
@ -191,7 +190,6 @@ rm -rf %{buildroot}%{_datadir}/OpenCV/doc
popd
%check
# Check fails since we don't support most video
# read/write capability and we don't provide a display
@ -204,15 +202,12 @@ pushd build
popd
%endif
%post core -p /sbin/ldconfig
%postun core -p /sbin/ldconfig
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc doc/license.txt
%{_bindir}/opencv_*
@ -253,7 +248,7 @@ popd
%files python
%{python2_sitearch}/cv.py*
%{python2_sitearch}/cv2.
%{python2_sitearch}/cv2.so
%changelog
* Thu Jan 16 2014 Christopher Meng <rpm@cicku.me> - 2.4.7-4