rpms/gtk2/devel gtk2.spec,1.252,1.253
Ray Strode (rstrode)
fedora-extras-commits at redhat.com
Fri Sep 7 19:46:45 UTC 2007
Author: rstrode
Update of /cvs/pkgs/rpms/gtk2/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16872
Modified Files:
gtk2.spec
Log Message:
- install dummy binary in libdir/gtk-2.0/immodules directory to
aid rpm when doing ia64 multilib (bug 253726)
Index: gtk2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gtk2/devel/gtk2.spec,v
retrieving revision 1.252
retrieving revision 1.253
diff -u -r1.252 -r1.253
--- gtk2.spec 27 Aug 2007 00:38:43 -0000 1.252
+++ gtk2.spec 7 Sep 2007 19:46:12 -0000 1.253
@@ -16,7 +16,7 @@
Summary: The GIMP ToolKit (GTK+), a library for creating GUIs for X
Name: gtk2
Version: %{base_version}
-Release: 7%{?dist}
+Release: 8%{?dist}
License: LGPLv2+
Group: System Environment/Libraries
Source: http://download.gnome.org/sources/gtk+/2.11/gtk+-%{version}.tar.bz2
@@ -147,7 +147,7 @@
exit 1
fi
-%configure --with-xinput=xfree --disable-gtk-doc --disable-rebuilds --with-included-loaders=png
+%configure --with-xinput=xfree --disable-gtk-doc --disable-rebuilds --with-included-loaders=png --enable-debug
## smp_mflags doesn't work for now due to gdk-pixbuf.loaders, may be fixed
## past gtk 2.1.2
@@ -155,6 +155,12 @@
# turn off for now, since floatingtest needs a display
#make check
+# create a dummy binary for /usr/lib/gtk-2.0/immodules to work around
+# problems in our ia64 multilib infrastructure
+# See https://bugzilla.redhat.com/show_bug.cgi?id=253726 for more details
+echo 'int main (void) { return 0; }' > relocation-tag.c
+gcc -Os relocation-tag.c -o .relocation-tag
+
%install
rm -rf $RPM_BUILD_ROOT
@@ -238,6 +244,11 @@
mkdir -p $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules
mkdir -p $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/immodules
+# we need to install a binary in the immodules directory to make sure
+# that it gets properly relocated to /emul for ia64 emulation of x86
+# See https://bugzilla.redhat.com/show_bug.cgi?id=253726
+install -m 0644 .relocation-tag $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/immodules
+
#
# We need the substitution of $host so we use an external
# file list
@@ -299,6 +310,10 @@
%{_datadir}/gtk-2.0
%changelog
+* Mon Aug 27 2007 Jens Petersen <petersen at redhat.com> - 2.11.6-8
+- install dummy binary in libdir/gtk-2.0/immodules directory to
+ aid rpm when doing ia64 multilib (bug 253726)
+
* Mon Aug 27 2007 Jens Petersen <petersen at redhat.com> - 2.11.6-7
- own libdir/gtk-2.0/immodules directory (#255621)
More information about the fedora-extras-commits
mailing list