diff --git a/bug-457482_mono-zeroconf.patch b/bug-457482_mono-zeroconf.patch new file mode 100644 index 0000000..ff46da8 --- /dev/null +++ b/bug-457482_mono-zeroconf.patch @@ -0,0 +1,24 @@ +diff -urN mono-zeroconf-0.8.0.orig/src/Mono.Zeroconf.Providers.AvahiDBus/Mono.Zeroconf.Providers.AvahiDBus/Service.cs mono-zeroconf-0.8.0/src/Mono.Zeroconf.Providers.AvahiDBus/Mono.Zeroconf.Providers.AvahiDBus/Service.cs +--- mono-zeroconf-0.8.0.orig/src/Mono.Zeroconf.Providers.AvahiDBus/Mono.Zeroconf.Providers.AvahiDBus/Service.cs 2008-06-27 00:45:12.000000000 +0200 ++++ mono-zeroconf-0.8.0/src/Mono.Zeroconf.Providers.AvahiDBus/Mono.Zeroconf.Providers.AvahiDBus/Service.cs 2009-01-22 16:52:58.155891843 +0100 +@@ -65,17 +65,17 @@ + + public string Name { + get { return name; } +- protected set { name = value; } ++ set { name = value; } + } + + public string RegType { + get { return regtype; } +- protected set { regtype = value; } ++ set { regtype = value; } + } + + public string ReplyDomain { + get { return reply_domain; } +- protected set { reply_domain = value; } ++ set { reply_domain = value; } + } + + public uint NetworkInterface { diff --git a/mono-zeroconf.changes b/mono-zeroconf.changes index 8070c10..6af75b8 100644 --- a/mono-zeroconf.changes +++ b/mono-zeroconf.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 7 10:17:06 MDT 2009 - ajorgensen@novell.com + +- Patch to build against mono 2.4 + ------------------------------------------------------------------- Thu Sep 11 19:01:36 EDT 2008 - abockover@suse.de diff --git a/mono-zeroconf.spec b/mono-zeroconf.spec index d0d2695..354606c 100644 --- a/mono-zeroconf.spec +++ b/mono-zeroconf.spec @@ -1,7 +1,7 @@ # # spec file for package mono-zeroconf (Version 0.8.0) # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,8 +25,9 @@ Group: Development/Languages/Mono Summary: A cross platform Zero Configuration Networking library for Mono Url: http://mono-project.com/Mono.Zeroconf Version: 0.8.0 -Release: 1 +Release: 2 Source0: %{name}-%{version}.tar.bz2 +Patch0: bug-457482_%{name}.patch BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: mono-devel @@ -196,6 +197,7 @@ Authors: %prep %setup -q +%patch0 -p1 %build %{?env_options} @@ -227,6 +229,8 @@ mv $RPM_BUILD_ROOT/usr/lib/pkgconfig/* $RPM_BUILD_ROOT/usr/share/pkgconfig rm -rf $RPM_BUILD_ROOT %changelog +* Tue Apr 07 2009 ajorgensen@novell.com +- Patch to build against mono 2.4 * Thu Sep 11 2008 abockover@suse.de - Updated to version 0.8.0 - New Avahi provider using DBus instead of libavahi