[packages/dotnet-mono-zeroconf] Rel 6

arekm arekm at pld-linux.org
Thu May 21 15:19:51 CEST 2026


commit 7c55e0f0b05170008385498f36129a07a9483533
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu May 21 15:19:34 2026 +0200

    Rel 6

 dotnet-mono-zeroconf-mono4.patch | 24 ++++++++++++++++++++++++
 dotnet-mono-zeroconf.spec        |  6 ++++--
 2 files changed, 28 insertions(+), 2 deletions(-)
---
diff --git a/dotnet-mono-zeroconf.spec b/dotnet-mono-zeroconf.spec
index 5164e54..aa01e14 100644
--- a/dotnet-mono-zeroconf.spec
+++ b/dotnet-mono-zeroconf.spec
@@ -3,21 +3,22 @@
 %bcond_with	mdns		# build with mDNSResponder support
 #
 #
+%undefine	_debugsource_packages
 Summary:	Mono.Zeroconf - easy to use API that covers the most common operations for mDNS
 Summary(pl.UTF-8):	Mono.Zeroconf - łatwe w użyciu API pokrywające większość operacji mDNS
 Name:		dotnet-mono-zeroconf
 Version:	0.9.0
-Release:	5
+Release:	6
 License:	MIT
 Group:		Libraries
 Source0:	http://banshee-project.org/files/mono-zeroconf/mono-zeroconf-%{version}.tar.bz2
 # Source0-md5:	cb25d50898442a7766c324dcb52ef9bf
 Patch0:		%{name}-pkgconfig.patch
+Patch1:		%{name}-mono4.patch
 URL:		http://mono-project.com/Mono.Zeroconf
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake >= 1:1.9
 BuildRequires:	avahi-compat-libdns_sd-devel
-BuildRequires:	dotnet-avahi-devel >= 0.6.0
 BuildRequires:	libtool
 BuildRequires:	mono-csharp >= 1.1.16.1
 BuildRequires:	pkgconfig
@@ -84,6 +85,7 @@ biblioteki Mono.Zeroconf.
 %prep
 %setup -q -n mono-zeroconf-%{version}
 %patch -P0 -p1
+%patch -P1 -p1
 
 %build
 %{__libtoolize}
diff --git a/dotnet-mono-zeroconf-mono4.patch b/dotnet-mono-zeroconf-mono4.patch
new file mode 100644
index 0000000..86b0c13
--- /dev/null
+++ b/dotnet-mono-zeroconf-mono4.patch
@@ -0,0 +1,24 @@
+--- mono-zeroconf-0.9.0/shamrock.m4.orig	2009-05-06 00:00:00.000000000 +0200
++++ mono-zeroconf-0.9.0/shamrock.m4	2026-05-21 00:00:00.000000000 +0200
+@@ -28,7 +28,10 @@
+
+ AC_DEFUN([SHAMROCK_FIND_MONO_2_0_COMPILER],
+ [
+-	SHAMROCK_FIND_PROGRAM_OR_BAIL(MCS, gmcs)
++	AC_PATH_PROG(MCS, mcs)
++	if test "x$MCS" = "x"; then
++		SHAMROCK_FIND_PROGRAM_OR_BAIL(MCS, gmcs)
++	fi
+ ])
+
+ AC_DEFUN([SHAMROCK_FIND_MONO_RUNTIME],
+@@ -47,7 +50,8 @@
+ 		AC_MSG_CHECKING([for Mono $1 GAC for $asm.dll])
+ 		if test \
+ 			-e "$($PKG_CONFIG --variable=libdir mono)/mono/$1/$asm.dll" -o \
+-			-e "$($PKG_CONFIG --variable=prefix mono)/lib/mono/$1/$asm.dll"; \
++			-e "$($PKG_CONFIG --variable=prefix mono)/lib/mono/$1/$asm.dll" -o \
++			-e "$($PKG_CONFIG --variable=prefix mono)/lib/mono/4.5/$asm.dll"; \
+ 			then \
+ 			AC_MSG_RESULT([found])
+ 		else
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dotnet-mono-zeroconf.git/commitdiff/7c55e0f0b05170008385498f36129a07a9483533



More information about the pld-cvs-commit mailing list