Accepting request 838722 from X11:XOrg

- Add u_xtrans-noarch-pkgconfig.patch: Do not add
  libdir=/usr(lib|lib64) entry to an arch-independent pkgconfig
  file (installed to /usr/share) (boo#1109895).

OBS-URL: https://build.opensuse.org/request/show/838722
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xtrans?expand=0&rev=16
This commit is contained in:
Dominique Leuenberger 2020-10-03 16:54:19 +00:00 committed by Git OBS Bridge
commit b8d29e2cdb
3 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,11 @@
Index: xtrans-1.4.0/xtrans.pc.in
===================================================================
--- xtrans-1.4.0.orig/xtrans.pc.in
+++ xtrans-1.4.0/xtrans.pc.in
@@ -1,6 +1,5 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
-libdir=@libdir@
includedir=@includedir@
Name: XTrans

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Sep 30 08:49:47 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
- Add u_xtrans-noarch-pkgconfig.patch: Do not add
libdir=/usr(lib|lib64) entry to an arch-independent pkgconfig
file (installed to /usr/share) (boo#1109895).
-------------------------------------------------------------------
Thu Aug 8 10:59:38 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package xtrans
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -26,6 +26,7 @@ URL: https://xorg.freedesktop.org/
Source: http://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2
Patch0: p_xauth.diff
Patch1: n_unifdef-LBXPROXY_t-and-TEST_t.patch
Patch2: u_xtrans-noarch-pkgconfig.patch
BuildRequires: pkgconfig
BuildRequires: pkgconfig(xorg-macros) >= 1.12
BuildRequires: pkgconfig(xshmfence)
@ -46,6 +47,7 @@ libX11, libICE, the X font server, and related components.
%setup -q
%patch0
%patch1 -p1 -R
%patch2 -p1
%build
%configure --docdir=%{_docdir}/xtrans