Remove packaging/custom-find-requires
authorWonYoung Choi <wy80.choi@samsung.com>
Thu, 19 Jan 2017 10:30:24 +0000 (19:30 +0900)
committerKangho Hur <kangho.hur@samsung.com>
Mon, 24 Apr 2017 04:36:50 +0000 (13:36 +0900)
We never have to consider build for Mono runtime in this branch

Change-Id: I0c70fe84e0117dbf0084728b0524cb8736978f0d

packaging/custom-find-requires [deleted file]
packaging/xamarin-forms-tizen.spec

diff --git a/packaging/custom-find-requires b/packaging/custom-find-requires
deleted file mode 100755 (executable)
index ebd22cb..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/bash
-
-if [ -z "$RPM_BUILD_ROOT" ] ; then
-  echo "The $0 script is not intended to be executed directly." > /dev/stderr
-  exit 1
-fi
-
-# this grep will consume whole list of files from stdin
-if grep -qF /Xamarin.Forms.Platform.Tizen.dll ; then
-  # if it's a X.F.P.Tizen package, then find the version of elm-sharp (or elm-sharp-nuget) in use
-  rpm -qa --queryformat 'elm-sharp >= %{VERSION}\n' 'elm-sharp*' | head -n1
-fi
index 4d3bdf8..97b77df 100644 (file)
@@ -14,10 +14,7 @@ Source1: %{name}.manifest
 
 %define NUPKG_VERSION %{XF_VERSION}%{?XF_PRETAG:-%{XF_PRETAG}}-%{XF_TIZEN_VERSION}
 
-# Instead of disabling Automatic Dependencies completely with `AutoReqProv: no'
-# let's override Mono provided portion
-%define __mono_requires %{_builddir}/%name-%version/packaging/custom-find-requires
-
+AutoReqProv: no
 ExcludeArch: aarch64
 
 BuildRequires: mono-compiler