SHA256
1
0
forked from pool/fcitx

Accepting request 580543 from home:dimstar:Factory

- Add pkgconfig(xkbfile) BuildRequires: in the past, this used to
  be pulled in by libqt4, but since our own code depends on it, and
  not Qt4, it is our own duty to request our build dependencies.
- Package COPYING is %license, not as %doc.

Fixes the error seen in Staging:K - with the libqt4 changes prepared

OBS-URL: https://build.opensuse.org/request/show/580543
OBS-URL: https://build.opensuse.org/package/show/M17N/fcitx?expand=0&rev=149
This commit is contained in:
Marguerite Su 2018-02-27 13:25:08 +00:00 committed by Git OBS Bridge
parent 660d90e068
commit 39486acfc6
2 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Feb 27 09:34:05 UTC 2018 - dimstar@opensuse.org
- Add pkgconfig(xkbfile) BuildRequires: in the past, this used to
be pulled in by libqt4, but since our own code depends on it, and
not Qt4, it is our own duty to request our build dependencies.
- Package COPYING is %license, not as %doc.
-------------------------------------------------------------------
Sat Nov 11 01:06:32 UTC 2017 - i@marguerite.su

View File

@ -1,7 +1,7 @@
#
# spec file for package fcitx
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -22,7 +22,7 @@ Name: fcitx
Version: 4.2.9.5
Release: 0
Summary: Flexible Context-aware Input Tool with eXtension
License: GPL-2.0+
License: GPL-2.0-or-later
Group: System/I18n/Chinese
Url: http://code.google.com/p/fcitx
Source: http://download.fcitx-im.org/fcitx/%{name}-%{version}_dict.tar.xz
@ -59,6 +59,7 @@ BuildRequires: update-desktop-files
BuildRequires: xz
BuildRequires: pkgconfig(lua)
BuildRequires: pkgconfig(xkbcommon) >= 0.5.0
BuildRequires: pkgconfig(xkbfile)
Requires: %{name}-gtk2 = %{version}-%{release}
Requires: %{name}-gtk3 = %{version}-%{release}
Requires: %{name}-qt4 = %{version}-%{release}
@ -361,7 +362,6 @@ cp -r %{SOURCE2} %{buildroot}%{_docdir}/%{name}/
cp -r %{SOURCE3} %{buildroot}%{_docdir}/%{name}/
cp -r AUTHORS %{buildroot}%{_docdir}/%{name}/
cp -r ChangeLog %{buildroot}%{_docdir}/%{name}/
cp -r COPYING %{buildroot}%{_docdir}/%{name}/
# create autostart
mkdir -p %{buildroot}%{_sysconfdir}/X11/xim.d/
@ -424,6 +424,7 @@ exit 0
%files -f %{name}.lang
%defattr(-,root,root)
%license COPYING
%{_bindir}/%{name}
%{_bindir}/%{name}-autostart
%{_bindir}/%{name}-configtool