diff --git a/libXtst.changes b/libXtst.changes index 61dba6b..c9093e2 100644 --- a/libXtst.changes +++ b/libXtst.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 24 11:29:37 UTC 2012 - sndirsch@suse.com + +- Added missing "xi" requires to pkconfig file (bnc#748808) + ------------------------------------------------------------------- Tue Feb 7 22:17:49 UTC 2012 - jengelh@medozas.de diff --git a/libXtst.spec b/libXtst.spec index 1635455..abc4e4a 100644 --- a/libXtst.spec +++ b/libXtst.spec @@ -14,6 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + + + Name: libXtst %define lname libXtst6 Version: 1.2.0 @@ -21,19 +24,20 @@ Release: 0 Summary: Xlib-based client API for the XTEST and RECORD extensions License: MIT Group: Development/Libraries/C and C++ -URL: http://xorg.freedesktop.org/ +Url: http://xorg.freedesktop.org/ #Git-Clone: git://anongit.freedesktop.org/xorg/lib/libXtst #Git-Web: http://cgit.freedesktop.org/xorg/lib/libXtst/ Source: %name-%version.tar.bz2 -BuildRoot: %_tmppath/%name-%version-build +Patch0: u_libXtst_Added-missing-xi-requires-to-pkconfig-file.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-build #git#BuildRequires: autoconf >= 2.60, automake, libtool -BuildRequires: fdupes -BuildRequires: pkgconfig, pkgconfig(xorg-macros) >= 1.10, pkgconfig(x11) -BuildRequires: pkgconfig(xext) >= 1.0.99.4, pkgconfig(xi) -BuildRequires: pkgconfig(recordproto) >= 1.13.99.1 -BuildRequires: pkgconfig(xextproto) >= 7.0.99.3 -BuildRequires: pkgconfig(inputproto) +BuildRequires: fdupes +BuildRequires: pkgconfig pkgconfig(x11) pkgconfig(xorg-macros) >= 1.10 +BuildRequires: pkgconfig(xext) >= 1.0.99.4 pkgconfig(xi) +BuildRequires: pkgconfig(recordproto) >= 1.13.99.1 +BuildRequires: pkgconfig(xextproto) >= 7.0.99.3 +BuildRequires: pkgconfig(inputproto) %description The XTEST extension is a minimal set of client and server extensions @@ -76,6 +80,7 @@ in %lname. %prep %setup -q +%patch0 -p1 %build %configure --docdir=%_docdir/%name --disable-static diff --git a/u_libXtst_Added-missing-xi-requires-to-pkconfig-file.patch b/u_libXtst_Added-missing-xi-requires-to-pkconfig-file.patch new file mode 100644 index 0000000..2f8f97d --- /dev/null +++ b/u_libXtst_Added-missing-xi-requires-to-pkconfig-file.patch @@ -0,0 +1,26 @@ +From 403ec58c75054a3f0def6b94cf6bc4e83a58bec4 Mon Sep 17 00:00:00 2001 +From: Stefan Dirsch +Date: Fri, 24 Feb 2012 12:38:13 +0100 +Subject: [PATCH] Added missing "xi" requires to pkconfig file. + +This time the right keyword. Not Requires.private, but Requires! +--- + xtst.pc.in | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/xtst.pc.in b/xtst.pc.in +index 8702044..d6f9fc1 100644 +--- a/xtst.pc.in ++++ b/xtst.pc.in +@@ -6,7 +6,7 @@ includedir=@includedir@ + Name: Xtst + Description: The Xtst Library + Version: @PACKAGE_VERSION@ +-Requires: recordproto ++Requires: recordproto xi + Requires.private: x11 xext + Cflags: -I${includedir} + Libs: -L${libdir} -lXtst +-- +1.7.3.4 +