rpms/openoffice.org/devel openoffice.org.spec,1.193,1.194

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon May 23 22:02:12 UTC 2005


Author: dcbw

Update of /cvs/dist/rpms/openoffice.org/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv664

Modified Files:
	openoffice.org.spec 
Log Message:
Make the find-requires and find-provides exit cleanly even if they don't
  return any results (which is fine)



Index: openoffice.org.spec
===================================================================
RCS file: /cvs/dist/rpms/openoffice.org/devel/openoffice.org.spec,v
retrieving revision 1.193
retrieving revision 1.194
diff -u -r1.193 -r1.194
--- openoffice.org.spec	23 May 2005 19:27:44 -0000	1.193
+++ openoffice.org.spec	23 May 2005 22:02:09 -0000	1.194
@@ -704,12 +704,14 @@
 find_provides="%{__find_provides}"
 echo "#!/bin/sh" > find-provides
 echo "$find_provides | grep -v libxmlsec1 | grep -v libsndfile | grep -v libportaudio | grep -v libdb- | grep -v libdb_" >> find-provides
+echo "exit 0" >> find-provides
 chmod +x find-provides
 %define __find_provides %{_builddir}/SRC680_m%{ooo2ver}/find-provides
 
 find_requires="%{__find_requires}"
 echo "#!/bin/sh" > find-requires
 echo "$find_requires | grep -v libxmlsec1 | grep -v libsndfile | grep -v libportaudio | grep -v libdb- | grep -v libdb_ | grep -v \(" >> find-requires
+echo "exit 0" >> find-requires
 chmod +x find-requires
 %define __find_requires %{_builddir}/SRC680_m%{ooo2ver}/find-requires
 #end ludicrous workaround




More information about the fedora-cvs-commits mailing list