Accepting request 160643 from KDE:Distro:Factory

- Added fix-braindead-logic-in-PyQt-version-detection.diff, fixes
  build with PyQT >= 4.10
- Add provides/obsoletes for go-kate in libktexteditor, both packages
  ship the same syntax file

OBS-URL: https://build.opensuse.org/request/show/160643
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kate?expand=0&rev=30
This commit is contained in:
Stephan Kulow
2013-03-24 20:56:29 +00:00
committed by Git OBS Bridge
parent 215b96325b
commit 28de83f21c
3 changed files with 49 additions and 0 deletions

View File

@@ -26,6 +26,8 @@ Url: http://www.kde.org/
Source0: %{name}-%{version}.tar.xz
#PATCH-FIX-UPSTREAM use-a-numeric-comparision.patch -- Fixes build with python-qt 4.10
Patch0: use-a-numeric-comparision.patch
#PATCH-FIX-UPSTREAM Fix-braindead-logic-in-PyQt-version-detection.diff -- Also fixes build with python-qt 4.10
Patch1: fix-braindead-logic-in-PyQt-version-detection.diff
BuildRequires: fdupes
BuildRequires: libkactivities-devel
BuildRequires: libkde4-devel >= %version
@@ -47,6 +49,7 @@ Kate is an advanced text editor for KDE.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%build
%ifarch ppc64
@@ -92,6 +95,10 @@ Files needed for development of Kate plugins.
%package -n libktexteditor
Summary: Advanced Text Editor library
Group: Productivity/Editors/Other
# With the sr#160617, go-kate package is no longer shipped,
# so adding specific version, if the package will return
Provides: go-kate = 1.0.3
Obsoletes: go-kate <= 1.0.3
%description -n libktexteditor
The libraries shared by kwrite and kate editors.