pbrobinson pushed to pinta (master). "More fixes for mono4"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon May 18 16:19:46 UTC 2015


From 2cd055486555c83cbea92915f9183c039e7f9763 Mon Sep 17 00:00:00 2001
From: Peter Robinson <pbrobinson at gmail.com>
Date: Mon, 18 May 2015 17:19:09 +0100
Subject: More fixes for mono4


diff --git a/pinta.spec b/pinta.spec
index 607098e..5b7e3df 100644
--- a/pinta.spec
+++ b/pinta.spec
@@ -2,7 +2,7 @@
 
 Name:		pinta
 Version:	1.6
-Release:	2%{?dist}
+Release:	3%{?dist}
 Summary:	An easy to use drawing and image editing program
 
 # the code is licensed under the MIT license while the icons are licensed as CC-BY
@@ -41,6 +41,11 @@ sed -i 's/\r//' xdg/pinta.1
 sed -i 's/\r//' xdg/scalable/pinta.svg
 
 %build
+
+# update the project and solution files for mono4
+find . -name "*.sln" -print -exec sed -i 's/Format Version 10.00/Format Version 11.00/g' {} \;
+find . -name "*.csproj" -print -exec sed -i 's#ToolsVersion="3.5"#ToolsVersion="4.0"#g; s#<TargetFrameworkVersion>.*</TargetFrameworkVersion>##g; s#<PropertyGroup>#<PropertyGroup><TargetFrameworkVersion>v4.5</TargetFrameworkVersion>#g' {} \;
+
 %configure
 make %{?_smp_mflags}
 
@@ -115,6 +120,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %{_datadir}/pixmaps/%{name}*
 
 %changelog
+* Mon May 18 2015 Timotheus Pokorra <tpokorra at fedoraproject.org> 1.6-3
+- More fixes for mono4
+
 * Mon May 18 2015 Peter Robinson <pbrobinson at fedoraproject.org> 1.6-2
 - Rebuild (mono4)
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/pinta.git/commit/?h=master&id=2cd055486555c83cbea92915f9183c039e7f9763


More information about the scm-commits mailing list