[packages/dotnet-webkitgtk-sharp] fix .pc file path

glen glen at pld-linux.org
Sun Jul 13 11:46:02 CEST 2014


commit bfacb22393f8958b8d9cceb75339ac2a6b147f2c
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Jul 13 11:48:26 2014 +0300

    fix .pc file path

 dotnet-webkitgtk-sharp.spec |  6 ++++--
 pkgconfig.patch             | 10 ++++++++++
 2 files changed, 14 insertions(+), 2 deletions(-)
---
diff --git a/dotnet-webkitgtk-sharp.spec b/dotnet-webkitgtk-sharp.spec
index 1a6ba0d..10b1f3d 100644
--- a/dotnet-webkitgtk-sharp.spec
+++ b/dotnet-webkitgtk-sharp.spec
@@ -13,11 +13,12 @@ Summary:	C# bindings for WebKitGTK+ 3.0 using GObject Introspection
 Summary(pl.UTF-8):	WebKit# - wiązanie WebKit dla Mono
 Name:		dotnet-webkitgtk-sharp
 Version:	2.0.0
-Release:	0.1
+Release:	0.2
 License:	X11/MIT
 Group:		Libraries
 Source0:	https://github.com/xDarkice/webkitgtk-sharp/releases/download/%{version}/webkitgtk-sharp-%{version}.tar.gz
 # Source0-md5:	259d1b85975a93b878fa1bdc4254e83f
+Patch0:		pkgconfig.patch
 URL:		https://github.com/xDarkice/webkitgtk-sharp/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -48,7 +49,7 @@ Ten pakiet dostarcza dowiązań Mono do bibliotek WebKit.
 Summary:	WebKit# development files
 Summary(pl.UTF-8):	Pliki programistyczne WebKit#
 Group:		Development/Libraries
-Requires:	%{name} = %{epoch}:%{version}-%{release}
+Requires:	%{name} = %{version}-%{release}
 Requires:	monodoc >= 2.6
 
 %description devel
@@ -59,6 +60,7 @@ Pliki programistyczne WebKit#.
 
 %prep
 %setup -q -n webkitgtk-sharp-%{version}
+%patch0 -p1
 
 %{__sed} -i -e '/SUBDIRS/ s/doc//' Makefile.am
 
diff --git a/pkgconfig.patch b/pkgconfig.patch
new file mode 100644
index 0000000..f757077
--- /dev/null
+++ b/pkgconfig.patch
@@ -0,0 +1,10 @@
+--- webkitgtk-sharp-2.0.0/webkitgtk-sharp-3.0.pc.in~	2014-06-15 23:34:26.000000000 +0300
++++ webkitgtk-sharp-2.0.0/webkitgtk-sharp-3.0.pc.in	2014-07-13 11:46:01.995768737 +0300
+@@ -1,6 +1,6 @@
+ prefix=@prefix@
+ exec_prefix=${prefix}
+-libdir=@libdir@
++libdir=${exec_prefix}/lib
+ 
+ Name: @ASSEMBLY_TITLE@
+ Description: @ASSEMBLY_DESCRIPTION@
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dotnet-webkitgtk-sharp.git/commitdiff/bfacb22393f8958b8d9cceb75339ac2a6b147f2c



More information about the pld-cvs-commit mailing list