From: Jan Rękorajski Date: Sun, 12 Mar 2017 15:38:16 +0000 (+0100) Subject: - disable -Werror to avoid failures due to bad code indentation X-Git-Tag: auto/th/dee-1.2.7-5 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fdee.git;a=commitdiff_plain;h=1c38d6a48c335efa9c2bbb8132e62d2a4aad7d64 - disable -Werror to avoid failures due to bad code indentation - rel 5 --- diff --git a/dee.spec b/dee.spec index a18774b..406e35d 100644 --- a/dee.spec +++ b/dee.spec @@ -6,12 +6,13 @@ Summary: Model to synchronize multiple instances over DBus Summary(pl.UTF-8): Model synchronizacji wielu instancji poprzez DBus Name: dee Version: 1.2.7 -Release: 4 +Release: 5 # GPLv3-licensed tests and examples are in the tarball, but not installed License: LGPL v3 Group: Libraries Source0: http://launchpad.net/dee/1.0/%{version}/+download/%{name}-%{version}.tar.gz # Source0-md5: b92f27f0a99cac24c2128880601bb7d7 +Patch0: no-Werror.patch URL: https://launchpad.net/dee BuildRequires: glib2-devel >= 1:2.32 BuildRequires: gobject-introspection-devel >= 0.10.2 @@ -111,8 +112,13 @@ API libdee dla języka Vala. %prep %setup -q +%patch0 -p1 %build +%{__aclocal} +%{__autoconf} +%{__autoheader} +%{__automake} %configure \ --disable-silent-rules \ %{?with_static_libs:--enable-static} \ diff --git a/no-Werror.patch b/no-Werror.patch new file mode 100644 index 0000000..2acb807 --- /dev/null +++ b/no-Werror.patch @@ -0,0 +1,11 @@ +--- dee-1.2.7/configure.ac~ 2013-09-09 11:22:35.000000000 +0200 ++++ dee-1.2.7/configure.ac 2017-03-12 16:36:12.879780053 +0100 +@@ -121,7 +121,7 @@ + MAINTAINER_CFLAGS="" + AS_IF([test "x$enable_maintainer_flags" = "xyes" && test "x$GCC" = "xyes"], + [ +- MAINTAINER_CFLAGS="-Werror -Wall -Wcast-align -Wno-uninitialized -Wempty-body -Wformat-security -Winit-self -Wno-error=deprecated-declarations" ++ MAINTAINER_CFLAGS="-Wall -Wcast-align -Wno-uninitialized -Wempty-body -Wformat-security -Winit-self -Wno-error=deprecated-declarations" + ] + ) +