[dbus-sharp] Fix path in pkgconfig file for x86_64

Christian Krause chkr at fedoraproject.org
Wed Oct 19 21:40:41 UTC 2011


commit 4ec3d4124da742a9b648708b13f84b6dae3716db
Author: Christian Krause <chkr at fedoraproject.org>
Date:   Wed Oct 19 17:40:37 2011 -0400

    Fix path in pkgconfig file for x86_64

 dbus-sharp.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/dbus-sharp.spec b/dbus-sharp.spec
index 75d8c77..9a97073 100644
--- a/dbus-sharp.spec
+++ b/dbus-sharp.spec
@@ -3,7 +3,7 @@
 Summary: C# bindings for D-Bus
 Name: dbus-sharp
 Version: 0.7.0
-Release: 2%{?dist}
+Release: 3%{?dist}
 Epoch: 1
 URL: http://mono.github.com/dbus-sharp/
 Source0: https://github.com/downloads/mono/dbus-sharp/%{name}-%{version}.tar.gz
@@ -29,6 +29,7 @@ Development files for D-Bus Sharp development.
 
 %prep
 %setup -q
+sed -i -e 's!${exec_prefix}/lib!%{_libdir}/!g' dbus-sharp-1.0.pc.in
 
 %build
 autoreconf --force --install
@@ -48,6 +49,9 @@ make install DESTDIR=$RPM_BUILD_ROOT
 %{_libdir}/pkgconfig/dbus-sharp-1.0.pc
 
 %changelog
+* Wed Oct 19 2011 Christian Krause <chkr at fedoraproject.org> - 1:0.7.0-3
+- Fix path in pkgconfig file for x86_64
+
 * Tue Oct 18 2011 Christian Krause <chkr at fedoraproject.org> - 1:0.7.0-2
 - Minor spec file cleanup (remove unnecessary %%defattr)
 


More information about the scm-commits mailing list