From 25b39aad181be5ed8310b65c2b0efa9feb0f9b9d3608b977be7984ba2fb48bf5 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 22 May 2024 11:16:22 +0000 Subject: [PATCH] - Use %patch -P N instead of deprecated %patchN. OBS-URL: https://build.opensuse.org/package/show/Mono:Factory/mono-zeroconf?expand=0&rev=12 --- mono-zeroconf.changes | 11 +++++++++++ mono-zeroconf.spec | 24 +++++++++++------------- 2 files changed, 22 insertions(+), 13 deletions(-) diff --git a/mono-zeroconf.changes b/mono-zeroconf.changes index 95c3041..10932f1 100644 --- a/mono-zeroconf.changes +++ b/mono-zeroconf.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Thu Feb 22 15:26:29 UTC 2024 - pgajdos@suse.com + +- Use %patch -P N instead of deprecated %patchN. + +------------------------------------------------------------------- +Sun Jun 5 00:00:00 UTC 2016 - fwdsbs.to.11df@xoxy.net + +- Added patch mono-search-path.patch: + * Added alternative search path in configure script for System.dll and System.Web.dll in order to fix build with mono 4.4.0 and up + ------------------------------------------------------------------- Tue May 5 22:58:04 EDT 2009 - abockover@novell.com diff --git a/mono-zeroconf.spec b/mono-zeroconf.spec index 5bb918c..cfaa3eb 100644 --- a/mono-zeroconf.spec +++ b/mono-zeroconf.spec @@ -1,7 +1,7 @@ # -# spec file for package mono-zeroconf (Version 0.9.0) +# spec file for package mono-zeroconf # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,21 +12,19 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -# norootforbuild - Name: mono-zeroconf -AutoReqProv: on +Summary: A cross platform Zero Configuration Networking library for Mono License: MIT Group: Development/Languages/Mono -Summary: A cross platform Zero Configuration Networking library for Mono -Url: http://mono-project.com/Mono.Zeroconf +URL: http://mono-project.com/Mono.Zeroconf Version: 0.9.0 -Release: 1 +Release: 0 Source0: %{name}-%{version}.tar.bz2 +Patch0: mono-search-path.patch BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: mono-devel @@ -109,7 +107,6 @@ Authors: %if %{build_mdnsr} == 1 %package provider-mDNSResponder -License: MIT Summary: A cross platform Zero Configuration Networking library for Mono Group: Development/Languages/Mono BuildRequires: mDNSResponder-devel @@ -138,7 +135,6 @@ Authors: %if %{build_avahi} == 1 %package provider-avahi -License: MIT Summary: A cross platform Zero Configuration Networking library for Mono Group: Development/Languages/Mono Requires: avahi @@ -166,7 +162,6 @@ Authors: %if %{build_docs} == 1 %package doc -License: MIT Summary: A cross platform Zero Configuration Networking library for Mono Group: Development/Languages/Mono @@ -191,7 +186,6 @@ Authors: ## --- Devel Package (pkg-config file) --- ## %package devel -License: MIT Summary: A cross platform Zero Configuration Networking library for Mono Group: Development/Languages/Mono Requires: %{name} = %{version} @@ -216,6 +210,10 @@ Authors: %prep %setup -q +%define mcsver %({ mcs --version | awk '{print $5}' | cut -f1 -d"." ; mcs --version | awk '{print $5}' | cut -f2 -d"." ; } | xargs printf "%03d") +%if 0%{?mcsver} >= 4004 +%patch -P 0 -p1 +%endif %build %{?env_options}