Removed no longer needed patches.

This commit is contained in:
Vitaly Zaitsev 2019-04-23 16:34:08 +02:00
parent 037613886b
commit 379d80c9ac
No known key found for this signature in database
GPG Key ID: BF99FC6DD45AB90A
2 changed files with 1 additions and 26 deletions

View File

@ -1,25 +0,0 @@
From f28658b6dd722e548e93f5d45a03ac7c8d078501 Mon Sep 17 00:00:00 2001
From: Vitaly Zaitsev <vitaly@easycoding.org>
Date: Wed, 10 Apr 2019 14:57:47 +0200
Subject: [PATCH 2/2] Removed Werror build flag.
---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 2d38684..42e5253 100644
--- a/meson.build
+++ b/meson.build
@@ -1,7 +1,7 @@
project('libzim', ['c', 'cpp'],
version : '4.0.6',
license : 'GPL2',
- default_options : ['c_std=c11', 'cpp_std=c++11', 'werror=true'])
+ default_options : ['c_std=c11', 'cpp_std=c++11'])
if build_machine.system() != 'windows'
add_project_arguments('-D_LARGEFILE64_SOURCE=1', '-D_FILE_OFFSET_BITS=64', language: 'cpp')
--
2.20.1

View File

@ -9,7 +9,6 @@ Summary: Reference implementation of the ZIM specification
URL: https://github.com/openzim/%{appname}
Source0: %{url}/archive/%{version}.tar.gz
Patch0: %{name}-fix-flags.patch
BuildRequires: xapian-core-devel
BuildRequires: libicu-devel
@ -35,6 +34,7 @@ Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%prep
%autosetup -n %{appname}-%{version} -p1
sed -e "s/, 'werror=true'//" -i meson.build
%build
%meson