[webkit-sharp] Change paths for mono assemblies according to updated packaging guidelines (http://fedoraproject.org

Christian Krause chkr at fedoraproject.org
Mon Oct 24 21:37:11 UTC 2011


commit 8203a71882f18c9dde48e447d96ce4459cef2605
Author: Christian Krause <chkr at fedoraproject.org>
Date:   Mon Oct 24 23:37:06 2011 +0200

    Change paths for mono assemblies according to updated packaging
    guidelines (http://fedoraproject.org/wiki/Packaging:Mono)

 webkit-sharp-0.3-libdir.patch |   48 -----------------------------------------
 webkit-sharp.spec             |   19 ++++++++-------
 2 files changed, 10 insertions(+), 57 deletions(-)
---
diff --git a/webkit-sharp.spec b/webkit-sharp.spec
index 86329b2..6c6629f 100644
--- a/webkit-sharp.spec
+++ b/webkit-sharp.spec
@@ -2,13 +2,12 @@
 
 Name:		webkit-sharp
 Version:	0.3
-Release:	7%{?dist}
+Release:	8%{?dist}
 Summary:	.NET bindings for WebKit
 Group:		Development/Languages
 License:	MIT
-URL:		http://ftp.novell.com/pub/mono/sources/webkit-sharp/
-Source0:	http://ftp.novell.com/pub/mono/sources/webkit-sharp/%{name}-%{version}.tar.bz2
-Patch0:		webkit-sharp-0.3-libdir.patch
+URL:		http://www.mono-project.com/Main_Page
+Source0:	http://origin-download.mono-project.com/sources/webkit-sharp/%{name}-%{version}.tar.bz2
 # https://bugzilla.redhat.com/show_bug.cgi?id=658502
 Patch1:		webkit-sharp-0.3-dllmap.patch
 Requires:	webkitgtk
@@ -34,11 +33,9 @@ Development files for WebKit-sharp
 
 %prep
 %setup -q
-
-# patch for libdir madness
-%patch0 -p1 -b .libdir
 # update for new webkit library name
 %patch1 -p1 -b .dllmap
+sed -i -e 's!@libdir@!${exec_prefix}/lib!g' sources/webkit-sharp.pc.in
 
 %build
 %configure
@@ -51,14 +48,18 @@ make DESTDIR=%{buildroot} install
 %files
 %defattr(-,root,root,-)
 %doc COPYING README
-%{_libdir}/mono/
+%{_prefix}/lib/mono/
 
 %files devel
 %defattr(-,root,root,-)
 %{_libdir}/pkgconfig/webkit-sharp-1.0.pc
-%{_libdir}/monodoc/sources/webkit-sharp*
+%{_prefix}/lib/monodoc/sources/webkit-sharp*
 
 %changelog
+* Sun Oct 23 2011 Christian Krause <chkr at fedoraproject.org> - 0.3-8
+- Change paths for mono assemblies according to updated packaging
+  guidelines (http://fedoraproject.org/wiki/Packaging:Mono)
+
 * Fri Jun 03 2011 Paul Whalen <paul.whalen at senecac.on.ca> - 0.3-7
 - Added arm macro to ExclusiveArch
 


More information about the scm-commits mailing list