[packages/nuget] Fix applying patches.
arekm
arekm at pld-linux.org
Tue Jul 15 01:37:34 CEST 2025
commit cdf7a8ab5092b0044557b7a4f4b569302b7a39ea
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Jul 15 01:37:19 2025 +0200
Fix applying patches.
nuget.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/nuget.spec b/nuget.spec
index e6f4135..767522f 100644
--- a/nuget.spec
+++ b/nuget.spec
@@ -61,7 +61,7 @@ Pliki programistyczne biblioteki .NET NuGet.
%prep
%setup -qn %{name}-git
%{__sed} -i "s/\r//g" src/Core/Core.csproj
-%patch0 -p1
+%patch -P0 -p1
# fix compile with Mono4
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' {} \;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/nuget.git/commitdiff/cdf7a8ab5092b0044557b7a4f4b569302b7a39ea
More information about the pld-cvs-commit
mailing list