[gnome-settings-daemon] - Fix the pkgconfig file manually

Richard Hughes rhughes at fedoraproject.org
Wed Oct 6 17:21:04 UTC 2010


commit b4588a6ad66d9b0fc40c0ccab18392998aa5f377
Author: Richard Hughes <richard at hughsie.com>
Date:   Wed Oct 6 19:21:34 2010 +0100

    - Fix the pkgconfig file manually

 gnome-settings-daemon.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/gnome-settings-daemon.spec b/gnome-settings-daemon.spec
index 858ef6c..96e576a 100644
--- a/gnome-settings-daemon.spec
+++ b/gnome-settings-daemon.spec
@@ -1,6 +1,6 @@
 Name:           gnome-settings-daemon
 Version:        2.91.0
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        The daemon sharing settings from GNOME to GTK+/KDE applications
 
 Group:          System Environment/Daemons
@@ -29,6 +29,7 @@ BuildRequires:  fontconfig-devel
 BuildRequires:  libcanberra-devel
 BuildRequires:  polkit-devel
 BuildRequires:  autoconf automake libtool
+BuildRequires:  libxklavier-devel
 
 # change font rendering
 Patch3: slight-hinting.patch
@@ -64,6 +65,7 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 
 # i have no idea what bastien was smokin' :-)
 mv $RPM_BUILD_ROOT%{_includedir}/gnome-settings-daemon- $RPM_BUILD_ROOT%{_includedir}/gnome-settings-daemon-3.0
+sed -i -e "s|\@gsd_api_version@|3.0|" $RPM_BUILD_ROOT%{_libdir}/pkgconfig/gnome-settings-daemon.pc
 
 %find_lang %{name} --with-gnome
 
@@ -112,6 +114,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
 %{_libdir}/pkgconfig/gnome-settings-daemon.pc
 
 %changelog
+* Wed Oct 06 2010 Richard Hughes <rhughes at redhat.com> 2.91.0-3
+- Fix the pkgconfig file manually
+
 * Wed Oct 06 2010 Richard Hughes <rhughes at redhat.com> 2.91.0-2
 - Rebuild against the new libgnomekbd library
 


More information about the scm-commits mailing list