[packages/dotnet-ndesk-options] Rel 3
arekm
arekm at pld-linux.org
Thu May 21 15:20:38 CEST 2026
commit 2aac582cdfd6173a5dadac70ecdd5641263b7598
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu May 21 15:20:12 2026 +0200
Rel 3
dotnet-ndesk-options-mcs.patch | 22 ++++++++++++++++++++++
dotnet-ndesk-options.spec | 7 ++++++-
2 files changed, 28 insertions(+), 1 deletion(-)
---
diff --git a/dotnet-ndesk-options.spec b/dotnet-ndesk-options.spec
index 000fac9..ac059a0 100644
--- a/dotnet-ndesk-options.spec
+++ b/dotnet-ndesk-options.spec
@@ -2,12 +2,13 @@ Summary: C# Program Options Parsing library
Summary(pl.UTF-8): Biblioteka C# do analizy opcji programu
Name: dotnet-ndesk-options
Version: 0.2.1
-Release: 2
+Release: 3
License: MIT
Group: Libraries
Source0: http://www.ndesk.org/archive/ndesk-options/ndesk-options-%{version}.tar.gz
# Source0-md5: 2d139bbf4c8be5197128195a65d1c98b
Patch0: %{name}-monodir.patch
+Patch1: %{name}-mcs.patch
URL: http://www.ndesk.org/Options
BuildRequires: autoconf >= 2.50
BuildRequires: automake
@@ -20,6 +21,9 @@ ExclusiveArch: %{ix86} %{x8664} arm hppa ia64 ppc s390 s390x sparc sparcv9
ExcludeArch: i386
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+# no native code
+%define _enable_debug_packages 0
+
%description
NDesk.Options is a program option parser for C#, inspired by
Getopt::Long.
@@ -44,6 +48,7 @@ Pliki programistyczne biblioteki C# ndesk Options.
%prep
%setup -q -n ndesk-options-%{version}
%patch -P0 -p1
+%patch -P1 -p1
%build
%{__aclocal}
diff --git a/dotnet-ndesk-options-mcs.patch b/dotnet-ndesk-options-mcs.patch
new file mode 100644
index 0000000..0fc83da
--- /dev/null
+++ b/dotnet-ndesk-options-mcs.patch
@@ -0,0 +1,22 @@
+--- ndesk-options-0.2.1/configure.ac.orig
++++ ndesk-options-0.2.1/configure.ac
+@@ -7,7 +7,7 @@
+
+ MONO_REQ_VERSION=1.9
+
+-AC_PATH_PROG(MCS, gmcs)
++AC_PATH_PROG(MCS, mcs)
+ AC_PATH_PROG(MONO, mono)
+ AC_PATH_PROG(MDASSEMBLER, mdassembler)
+ AC_PATH_PROG(MONODOCER, monodocer)
+@@ -15,7 +15,7 @@
+ enable_monodoc=yes
+
+ if test "x$MCS" = "x" ; then
+- AC_MSG_ERROR([Can't find "gmcs" in your PATH])
++ AC_MSG_ERROR([Can't find "mcs" in your PATH])
+ fi
+ if test "x$MONO" = "x" ; then
+ AC_MSG_ERROR([Can't find "mono" in your PATH])
+</content>
+</invoke>
\ No newline at end of file
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dotnet-ndesk-options.git/commitdiff/2aac582cdfd6173a5dadac70ecdd5641263b7598
More information about the pld-cvs-commit
mailing list