- 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.
This commit is contained in:
parent
5673e92dc7
commit
6dbb7a63a3
11
libXt-1.0.2-libsm-fix.patch
Normal file
11
libXt-1.0.2-libsm-fix.patch
Normal file
@ -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
|
11
libXt.spec
11
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 <ajackson@redhat.com> 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 <mharris@redhat.com> 1.0.2-1
|
||||
- Updated libXt to version 1.0.2 from X11R7.1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user