[packages/dotnet-dbus-sharp] - added pc patch (adjust dll path in .pc file); release 2

qboosh qboosh at pld-linux.org
Tue Apr 26 20:32:24 CEST 2022


commit 29d4306e4fab8b7b0f58b2de5c49a2fe24c04161
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Apr 26 20:32:39 2022 +0200

    - added pc patch (adjust dll path in .pc file); release 2

 dbus-sharp-pc.patch    | 8 ++++++++
 dotnet-dbus-sharp.spec | 4 +++-
 2 files changed, 11 insertions(+), 1 deletion(-)
---
diff --git a/dotnet-dbus-sharp.spec b/dotnet-dbus-sharp.spec
index 65262b9..102a46b 100644
--- a/dotnet-dbus-sharp.spec
+++ b/dotnet-dbus-sharp.spec
@@ -5,7 +5,7 @@ Summary:	D-Bus for .NET - C# library implementing D-Bus
 Summary(pl.UTF-8):	D-Bus dla .NET - biblioteka C# implementująca D-Bus
 Name:		dotnet-dbus-sharp
 Version:	0.8.1
-Release:	1
+Release:	2
 Epoch:		1
 License:	MIT
 Group:		Libraries
@@ -13,6 +13,7 @@ Group:		Libraries
 Source0:	https://github.com/mono/dbus-sharp/releases/download/v%{version}/%{module}-%{version}.tar.gz
 # Source0-md5:	bb94ab3d9703342a2e936e52c87c783a
 Patch0:		dbus-monodir.patch
+Patch1:		dbus-sharp-pc.patch
 URL:		http://mono.github.io/dbus-sharp/
 BuildRequires:	autoconf >= 2.52
 BuildRequires:	automake
@@ -52,6 +53,7 @@ Pliki programistyczne biblioteki dbus-sharp.
 %prep
 %setup -q -n %{module}-%{version}
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__aclocal}
diff --git a/dbus-sharp-pc.patch b/dbus-sharp-pc.patch
new file mode 100644
index 0000000..ae2964f
--- /dev/null
+++ b/dbus-sharp-pc.patch
@@ -0,0 +1,8 @@
+--- dbus-sharp-0.8.1/dbus-sharp-2.0.pc.in.orig	2013-10-07 01:56:21.000000000 +0200
++++ dbus-sharp-0.8.1/dbus-sharp-2.0.pc.in	2022-04-26 20:31:45.566928287 +0200
+@@ -8,4 +8,4 @@ Name: Managed DBus
+ Description: Managed D-Bus IPC protocol library and CLR binding
+ Version: @VERSION@
+ URL: http://mono.github.com/dbus-sharp/
+-Libs: -r:${libdir}/mono/@PACKAGE at -@API_VERSION@/dbus-sharp.dll
++Libs: -r:${prefix}/lib/mono/@PACKAGE at -@API_VERSION@/dbus-sharp.dll
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dotnet-dbus-sharp.git/commitdiff/29d4306e4fab8b7b0f58b2de5c49a2fe24c04161



More information about the pld-cvs-commit mailing list