- Merge review cleanups. (#226062)

This commit is contained in:
Adam Jackson 2009-02-21 20:53:08 +00:00
parent 9088a9bdfb
commit a77b5dea4b
2 changed files with 8 additions and 30 deletions

View File

@ -1,13 +0,0 @@
Fixes Red Hat bug #173282
--- configure.ac.datadir-locale-dir-fix 2005-11-22 12:34:53.000000000 -0500
+++ configure.ac 2005-11-22 12:35:13.000000000 -0500
@@ -306,7 +306,7 @@
# in ${libdir}
#
-X11_LOCALEDATADIR="${X11_LIBDIR}/locale"
+X11_LOCALEDATADIR="${X11_DATADIR}/locale"
X11_LOCALELIBDIR="${X11_LIBDIR}/locale/lib"
X11_LOCALEDIR="${X11_LOCALEDATADIR}"
XKEYSYMDB="${X11_DATADIR}/XKeysymDB"

View File

@ -1,7 +1,7 @@
Summary: X.Org X11 libX11 runtime library Summary: X.Org X11 libX11 runtime library
Name: libX11 Name: libX11
Version: 1.2 Version: 1.2
Release: 1%{?dist} Release: 2%{?dist}
License: MIT License: MIT
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://www.x.org URL: http://www.x.org
@ -10,10 +10,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: http://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2 Source0: http://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2
#Source0: http://cgit.freedesktop.org/xorg/lib/libX11/snapshot/libX11-%{version}.tar.bz2 #Source0: http://cgit.freedesktop.org/xorg/lib/libX11/snapshot/libX11-%{version}.tar.bz2
# FIXME: https://bugs.freedesktop.org/show_bug.cgi?id=3646 seems to indicate
# this patch is now committed upstream. When libX11-1.0.4 is released,
# manually confirm each patch hunk before removal.
Patch0: libX11-0.99.3-datadir-locale-dir-fix.patch
Patch2: dont-forward-keycode-0.patch Patch2: dont-forward-keycode-0.patch
BuildRequires: pkgconfig autoconf automake libtool BuildRequires: pkgconfig autoconf automake libtool
@ -27,8 +23,6 @@ BuildRequires: libXdmcp-devel
Requires(pre): xorg-x11-filesystem >= 0.99.2-3 Requires(pre): xorg-x11-filesystem >= 0.99.2-3
Obsoletes: XFree86-libs, xorg-x11-libs
%description %description
X.Org X11 libX11 runtime library X.Org X11 libX11 runtime library
@ -43,21 +37,16 @@ Requires: xorg-x11-proto-devel >= 7.1-2
Requires: libXau-devel, libXdmcp-devel, libxcb-devel Requires: libXau-devel, libXdmcp-devel, libxcb-devel
Requires: pkgconfig Requires: pkgconfig
Obsoletes: XFree86-devel, xorg-x11-devel
%description devel %description devel
X.Org X11 libX11 development package X.Org X11 libX11 development package
%prep %prep
%setup -q %setup -q
# FIXME: We are keeping this around, as upstream has a tendency for random
# people to revert fixes other people have applied, and have a 6-8 month tug
# of war with these things. It's easier to leave this here than to try and
# find it later.
#%patch0 -p0 -b .datadir-locale-dir-fix
%patch2 -p1 -b .dont-forward-keycode-0 %patch2 -p1 -b .dont-forward-keycode-0
%build %build
# sodding libtool
autoreconf -v --install
%configure \ %configure \
--disable-dependency-tracking \ --disable-dependency-tracking \
--disable-static --disable-static
@ -70,10 +59,10 @@ rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
# We intentionally don't ship *.la files # We intentionally don't ship *.la files
find $RPM_BUILD_ROOT -type f -name '*.la' | xargs rm -f -- || : find $RPM_BUILD_ROOT -type f -name '*.la' -delete
# FIXME: Don't install Xcms.txt - find out why upstream still ships this. # FIXME: Don't install Xcms.txt - find out why upstream still ships this.
find $RPM_BUILD_ROOT -name 'Xcms.txt' -exec rm -f {} \; find $RPM_BUILD_ROOT -name 'Xcms.txt' -delete
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -112,10 +101,12 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/libX11-xcb.so %{_libdir}/libX11-xcb.so
%{_libdir}/pkgconfig/x11.pc %{_libdir}/pkgconfig/x11.pc
%{_libdir}/pkgconfig/x11-xcb.pc %{_libdir}/pkgconfig/x11-xcb.pc
#%dir %{_mandir}/man3x
%{_mandir}/man3/*.3* %{_mandir}/man3/*.3*
%changelog %changelog
* Sat Feb 21 2009 Adam Jackson <ajax@redhat.com> 1.2-2
- Merge review cleanups. (#226062)
* Wed Feb 18 2009 Adam Jackson <ajax@redhat.com> 1.2-1 * Wed Feb 18 2009 Adam Jackson <ajax@redhat.com> 1.2-1
- libX11 1.2 - libX11 1.2