From 6dbb7a63a3e7011d0fbc1df24924cced5208a2b0 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Jun 28 2006 19:29:32 +0000 Subject: - Added libXt-1.0.2-libsm-fix.patch to remove libSM from the Requires: line in the installed pkgconfig file. Apps should link against libSM if they need it, but we shouldn't force them to link against it if they don't. --- diff --git a/libXt-1.0.2-libsm-fix.patch b/libXt-1.0.2-libsm-fix.patch new file mode 100644 index 0000000..309aea8 --- /dev/null +++ b/libXt-1.0.2-libsm-fix.patch @@ -0,0 +1,11 @@ +--- libXt-1.0.2/xt.pc.in.libsm-fix 2006-06-28 14:56:37.000000000 -0400 ++++ libXt-1.0.2/xt.pc.in 2006-06-28 14:56:51.000000000 -0400 +@@ -7,7 +7,7 @@ + Name: Xt + Description: X Toolkit Library + Version: @VERSION@ +-Requires: xproto x11 sm ++Requires: xproto x11 + Requires.private: x11 sm + Cflags: -I${includedir} + Libs: -L${libdir} -lXt diff --git a/libXt.spec b/libXt.spec index b623128..51056b9 100644 --- a/libXt.spec +++ b/libXt.spec @@ -1,7 +1,7 @@ Summary: X.Org X11 libXt runtime library Name: libXt Version: 1.0.2 -Release: 1 +Release: 2 License: MIT/X11 Group: System Environment/Libraries URL: http://www.x.org @@ -9,6 +9,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2 +Patch0: libXt-1.0.2-libsm-fix.patch + BuildRequires: pkgconfig BuildRequires: xorg-x11-proto-devel BuildRequires: libX11-devel @@ -38,6 +40,8 @@ X.Org X11 libXt development package %prep %setup -q +%patch0 -p1 -b .libsm-fix + # Disable static library creation by default. %define with_static 0 @@ -123,6 +127,11 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/*.3x* %changelog +* Wed Jun 28 2006 Adam Jackson 1.0.2-2 +- Added libXt-1.0.2-libsm-fix.patch to remove libSM from the Requires: line + in the installed pkgconfig file. Apps should link against libSM if they + need it, but we shouldn't force them to link against it if they don't. + * Wed Jun 21 2006 Mike A. Harris 1.0.2-1 - Updated libXt to version 1.0.2 from X11R7.1