Accepting request 838715 from home:dimstar:Factory

- Add 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/838715
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xtrans?expand=0&rev=25
This commit is contained in:
Stefan Dirsch 2020-09-30 09:05:56 +00:00 committed by Git OBS Bridge
parent 22a3fe1629
commit f5f1b3d8d7
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 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> Thu Aug 8 10:59:38 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>

View File

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