From b6f593b47f105baefb2b166a22717e9b08d5f1b1 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Dec 18 2008 22:29:04 +0000 Subject: - Egregious hack to make the next libX11 build work. Hands... won't come clean... --- diff --git a/libxcb.spec b/libxcb.spec index 0a66dbb..68732a5 100644 --- a/libxcb.spec +++ b/libxcb.spec @@ -1,6 +1,6 @@ Name: libxcb Version: 1.1.93 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A C binding to the X11 protocol Group: System Environment/Libraries @@ -58,12 +58,17 @@ autoreconf -v --install --enable-xselinux make %{?_smp_mflags} +# OH MY GOD MAKE THE HURTING STOP +touch libxcb-xlib.c +gcc -shared -Wl,-soname,libxcb-xlib.so.0 -o libxcb-xlib.so.0 libxcb-xlib.c + %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name '*.la' | xargs rm -f install -m 644 COPYING NEWS README $RPM_BUILD_ROOT/%{_datadir}/doc/%{name}-%{version} sed 's,@libdir@,%{_libdir},;s,@prefix@,%{_prefix},;s,@exec_prefix@,%{_exec_prefix},' %{SOURCE1} > $RPM_BUILD_ROOT%{_libdir}/pkgconfig/pthread-stubs.pc +install libxcb-xlib.so.0 $RPM_BUILD_ROOT%{_libdir} %clean rm -rf $RPM_BUILD_ROOT @@ -86,6 +91,10 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/doc/%{name}-%{version} %changelog +* Thu Dec 18 2008 Adam Jackson 1.1.93-2 +- Egregious hack to make the next libX11 build work. Hands... won't come + clean... + * Wed Dec 17 2008 Adam Jackson 1.1.93-1 - libxcb 1.1.93