Last commit erase some texts, dunno why.

epel9
Christopher Meng 11 years ago
parent cbac301e28
commit 228b4d0ad5

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

Loading…
Cancel
Save