Merge pull request #1921 from mattzink/master
authorMiguel de Icaza <miguel@gnome.org>
Thu, 1 Oct 2015 21:44:17 +0000 (17:44 -0400)
committerMiguel de Icaza <miguel@gnome.org>
Thu, 1 Oct 2015 21:44:17 +0000 (17:44 -0400)
Allow disabling the mono-find-provides/requires RPM processing scripts

scripts/mono-find-provides.in
scripts/mono-find-requires.in

index 5e440ab046bf8a6058aed1214e51a7ecc400234e..5b2e20602d5aa6ba0ab18adfd64134432ece4fb2 100644 (file)
@@ -8,6 +8,8 @@
 # (C) 2005 Novell (http://www.novell.com)
 #
 
+if [ -n "$DISABLE_MONO_RPM_AUTO_DEPS" ]; then exit 0; fi
+
 IFS=$'\n'
 filelist=($(grep -Ev '/usr/doc/|/usr/share/doc/'))
 monolist=($(printf "%s\n" "${filelist[@]}" | egrep "\\.(exe|dll)\$"))
index d7b6a325bc32e17394b502c8ec800400359442e1..5e0ef2f1cfd35e650d84d380c553d3d108a48dc0 100644 (file)
@@ -9,6 +9,8 @@
 # (C) 2008 Novell (http://www.novell.com)
 #
 
+if [ -n "$DISABLE_MONO_RPM_AUTO_DEPS" ]; then exit 0; fi
+
 IFS=$'\n'
 filelist=($(grep -Ev '/usr/doc/|/usr/share/doc/'))
 monolist=($(printf "%s\n" "${filelist[@]}" | egrep "\\.(exe|dll)\$"))