From 29d4306e4fab8b7b0f58b2de5c49a2fe24c04161 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Tue, 26 Apr 2022 20:32:39 +0200 Subject: [PATCH] - 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(-) create mode 100644 dbus-sharp-pc.patch 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@-@API_VERSION@/dbus-sharp.dll ++Libs: -r:${prefix}/lib/mono/@PACKAGE@-@API_VERSION@/dbus-sharp.dll 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} -- 2.44.0