diff --git a/dconf-libtool.patch b/dconf-libtool.patch new file mode 100644 index 0000000..1f303b7 --- /dev/null +++ b/dconf-libtool.patch @@ -0,0 +1,12 @@ +diff -up dconf-0.7.1/gsettings/Makefile.am.libtool dconf-0.7.1/gsettings/Makefile.am +--- dconf-0.7.1/gsettings/Makefile.am.libtool 2011-02-02 16:22:02.188286083 -0500 ++++ dconf-0.7.1/gsettings/Makefile.am 2011-02-02 16:22:14.612130764 -0500 +@@ -4,7 +4,7 @@ INCLUDES = -I$(top_srcdir)/common -I$(to + giomodules_PROGRAMS = libdconfsettings.so + + libdconfsettings_so_LDADD = $(gio_LIBS) +-libdconfsettings_so_LDFLAGS = -module -avoid-version -shared ++libdconfsettings_so_LDFLAGS = -shared + libdconfsettings_so_SOURCES = \ + ../engine/dconf-engine.c \ + ../common/dconf-shmdir.c \ diff --git a/dconf.spec b/dconf.spec index 9ad85c3..f372928 100644 --- a/dconf.spec +++ b/dconf.spec @@ -10,6 +10,8 @@ License: LGPLv2+ URL: http://live.gnome.org/dconf #VCS: git:git://git.gnome.org/dconf Source0: http://download.gnome.org/sources/dconf/0.7/dconf-%{version}.tar.bz2 +# upstream fix +Patch0: dconf-libtool.patch BuildRequires: glib2-devel >= %{glib2_version} BuildRequires: dbus-devel @@ -51,6 +53,9 @@ docnf-editor allows you to browse and modify dconf databases. %prep %setup -q +%patch -p1 -b .libtool + +automake %build (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; CONFIGFLAGS=--enable-gtk-doc; fi;