- Egregious hack to make the next libX11 build work. Hands... won't come

clean...
This commit is contained in:
Adam Jackson 2008-12-18 22:29:04 +00:00
parent 6b8823cf51
commit b6f593b47f

View File

@ -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 <ajax@redhat.com> 1.1.93-2
- Egregious hack to make the next libX11 build work. Hands... won't come
clean...
* Wed Dec 17 2008 Adam Jackson <ajax@redhat.com> 1.1.93-1
- libxcb 1.1.93