]> git.pld-linux.org Git - packages/dee.git/commitdiff
- disable -Werror to avoid failures due to bad code indentation auto/th/dee-1.2.7-5
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 12 Mar 2017 15:38:16 +0000 (16:38 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 12 Mar 2017 15:38:16 +0000 (16:38 +0100)
- rel 5

dee.spec
no-Werror.patch [new file with mode: 0644]

index a18774b66e8fab8b8090cc10bdb157d566bcf023..406e35dd7789379bed6035c0f3135bb0e4da4063 100644 (file)
--- 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 (file)
index 0000000..2acb807
--- /dev/null
@@ -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"
+       ]
+ )
This page took 0.110211 seconds and 4 git commands to generate.