[packages/mono] - don't check if non-existing library exists

baggins baggins at pld-linux.org
Sun Oct 21 22:48:05 CEST 2018


commit 1eddd299da168e6ec152c420a3c5e722ce59d75d
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Oct 21 22:47:41 2018 +0200

    - don't check if non-existing library exists

 consistent-rpm-prov-req.patch | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
---
diff --git a/consistent-rpm-prov-req.patch b/consistent-rpm-prov-req.patch
index 0be3bf1..06342b4 100644
--- a/consistent-rpm-prov-req.patch
+++ b/consistent-rpm-prov-req.patch
@@ -9,3 +9,23 @@
  # Disabled... see ChangeLog
  
  # Set the prefix, unless it is overriden (used when building mono rpms)
+@@ -26,7 +26,7 @@
+ bindir=$prefix/bin
+ 
+ # Bail out if monodis or libmono is missing
+-if [ ! -x $bindir/monodis ] || [ ! -f $libdir/libmono-2.0.so.1 ] ; then
++if [ ! -x $bindir/monodis ]; then
+ 	echo "monodis missing or unusable, exiting..." 1>&2
+ 	exit 1
+ fi
+--- mono-4.8.1/scripts/mono-find-requires.in~	2018-10-21 22:38:34.000000000 +0200
++++ mono-4.8.1/scripts/mono-find-requires.in	2018-10-21 22:43:46.468368810 +0200
+@@ -30,7 +30,7 @@
+ bindir=$prefix/bin
+ 
+ # Bail out if monodis or libmono is missing
+-if [ ! -x $bindir/monodis ] || [ ! -f $libdir/libmono-2.0.so.1 ] ; then
++if [ ! -x $bindir/monodis ]; then
+ 	echo "monodis missing or unusable, exiting..." 1>&2
+ 	exit 1
+ fi
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mono.git/commitdiff/1eddd299da168e6ec152c420a3c5e722ce59d75d



More information about the pld-cvs-commit mailing list