[packages/mono] - added nunit patch (mono-nunit.pc file fix from git)

qboosh qboosh at pld-linux.org
Sat Jan 16 23:30:54 CET 2016


commit c206ddffac7b7580e7c0e7fb8f3f8c3461146373
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Jan 16 23:33:12 2016 +0100

    - added nunit patch (mono-nunit.pc file fix from git)

 mono-nunit.patch | 19 +++++++++++++++++++
 mono.spec        |  3 +++
 2 files changed, 22 insertions(+)
---
diff --git a/mono.spec b/mono.spec
index 91502c4..8ae4a63 100644
--- a/mono.spec
+++ b/mono.spec
@@ -19,6 +19,8 @@ License:	LGPL v2 (VM), MIT/GPL v2 (C# compilers), MIT/MSPL/Apache v2.0 (classes)
 Group:		Development/Languages
 Source0:	http://download.mono-project.com/sources/mono/%{name}-%{version}.tar.bz2
 # Source0-md5:	16644eab7d890e568d34a18e93e7a878
+# https://github.com/mono/mono/commit/6b76c7e984cbe42d6455ffcde2fe227aa5ffd801.patch
+Patch0:		%{name}-nunit.patch
 Patch2:		%{name}-sonames.patch
 Patch4:		%{name}-console-no-utf8-bom.patch
 Patch5:		%{name}-pc.patch
@@ -214,6 +216,7 @@ oraz dotGNU.
 
 %prep
 %setup -q -n mono-4.2.2
+%patch0 -p1
 %patch2 -p1
 %patch4 -p1
 %patch5 -p1
diff --git a/mono-nunit.patch b/mono-nunit.patch
new file mode 100644
index 0000000..50a86a1
--- /dev/null
+++ b/mono-nunit.patch
@@ -0,0 +1,19 @@
+From 6b76c7e984cbe42d6455ffcde2fe227aa5ffd801 Mon Sep 17 00:00:00 2001
+From: Richard Tollerton <rich.tollerton at ni.com>
+Date: Tue, 7 Jul 2015 12:17:04 -0500
+Subject: [PATCH] Bump nunit from mono/2.0 to mono/4.5.
+
+---
+ data/mono-nunit.pc.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/data/mono-nunit.pc.in b/data/mono-nunit.pc.in
+index 5f4e116..64268cd 100644
+--- a/data/mono-nunit.pc.in
++++ b/data/mono-nunit.pc.in
+@@ -6,4 +6,4 @@ libdir=${exec_prefix}/lib
+ Name: Mono NUnit
+ Description: Mono's version of NUnit
+ Version: @VERSION@
+-Libs: -r:${libdir}/mono/2.0/nunit.core.dll -r:${libdir}/mono/2.0/nunit.core.interfaces.dll -r:${libdir}/mono/2.0/nunit.core.extensions.dll -r:${libdir}/mono/2.0/nunit.framework.dll -r:${libdir}/mono/2.0/nunit.framework.extensions.dll -r:${libdir}/mono/2.0/nunit.mocks.dll -r:${libdir}/mono/2.0/nunit.util.dll -r:${libdir}/mono/2.0/nunit-console-runner.dll 
++Libs: -r:${libdir}/mono/4.5/nunit.core.dll -r:${libdir}/mono/4.5/nunit.core.interfaces.dll -r:${libdir}/mono/4.5/nunit.core.extensions.dll -r:${libdir}/mono/4.5/nunit.framework.dll -r:${libdir}/mono/4.5/nunit.framework.extensions.dll -r:${libdir}/mono/4.5/nunit.mocks.dll -r:${libdir}/mono/4.5/nunit.util.dll -r:${libdir}/mono/4.5/nunit-console-runner.dll 
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list