diff --git a/.files b/.files
index 0361224..689f5a7 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index 4b6c0ab..686fe49 100644
--- a/.rev
+++ b/.rev
@@ -398,4 +398,14 @@ Documentation
757556
+
+ 555f4fb96af528981c53c79fc3f86428
+ 3.5.1
+
+ dimstar_suse
+ - Update to version 3.5.1:
+ * Portability fixes.
+ * Fix compiler warnings.
+ 770346
+
diff --git a/bison-3.5.1.tar.xz b/bison-3.5.1.tar.xz
new file mode 120000
index 0000000..1690adb
--- /dev/null
+++ b/bison-3.5.1.tar.xz
@@ -0,0 +1 @@
+/ipfs/bafybeieozl5afe4luuvku4yfzn36htf4q7kjnaikzeype3jm5sw6wckzeu
\ No newline at end of file
diff --git a/bison-3.5.1.tar.xz.sig b/bison-3.5.1.tar.xz.sig
new file mode 100644
index 0000000..00de9e2
--- /dev/null
+++ b/bison-3.5.1.tar.xz.sig
@@ -0,0 +1,6 @@
+-----BEGIN PGP SIGNATURE-----
+
+iF0EABECAB0WIQR9+EN0se4fl2S74l0N3KoyeNUmTgUCXiRdEgAKCRAN3KoyeNUm
+Tq7gAJ97I+wq8mKRXG5yy5oPaxP4kyAkngCfca+1OpHL7Xu00Lpj3i+conAs75k=
+=txCR
+-----END PGP SIGNATURE-----
diff --git a/bison-3.5.tar.xz b/bison-3.5.tar.xz
deleted file mode 120000
index 6d84294..0000000
--- a/bison-3.5.tar.xz
+++ /dev/null
@@ -1 +0,0 @@
-/ipfs/bafybeiarzrabwjlsoxpl5ysmmv2lrcaycoxi6276r6kedxtdqr3qcs5gty
\ No newline at end of file
diff --git a/bison-3.5.tar.xz.sig b/bison-3.5.tar.xz.sig
deleted file mode 100644
index 5e9b0d4..0000000
--- a/bison-3.5.tar.xz.sig
+++ /dev/null
@@ -1,6 +0,0 @@
------BEGIN PGP SIGNATURE-----
-
-iF0EABECAB0WIQR9+EN0se4fl2S74l0N3KoyeNUmTgUCXfFaiAAKCRAN3KoyeNUm
-TpUJAJkB24EP3AJfrb1S0vJQgHHwRwPDhACfWC+agAy3Z1DpYVK4l+5XMg+/gBM=
-=5Dmw
------END PGP SIGNATURE-----
diff --git a/bison.changes b/bison.changes
index 9bf8a7c..95cf65a 100644
--- a/bison.changes
+++ b/bison.changes
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Wed Feb 5 16:11:27 UTC 2020 - Martin Pluskal
+
+- Update to version 3.5.1:
+ * Portability fixes.
+ * Fix compiler warnings.
+
+-------------------------------------------------------------------
Tue Dec 17 03:01:16 UTC 2019 - Stefan BrĂ¼ns
- Drop unnecessary autoconf BuildRequires.
diff --git a/bison.spec b/bison.spec
index 4372170..258d22a 100644
--- a/bison.spec
+++ b/bison.spec
@@ -1,7 +1,7 @@
#
# spec file for package bison
#
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: bison
-Version: 3.5
+Version: 3.5.1
Release: 0
Summary: The GNU Parser Generator
License: GPL-3.0-or-later
@@ -51,13 +51,13 @@ Bison is a parser generator similar to yacc(1).
gl_cv_func_printf_directive_n=yes \
gl_cv_func_printf_infinite_long_double=yes
%if 0%{?do_profiling}
- make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" V=1
+ %make_build CFLAGS="%{optflags} %{cflags_profile_generate}"
# non-parallel profiling for reproducible results https://bugzilla.opensuse.org/show_bug.cgi?id=1040589
- make --jobs=1 CFLAGS="%{optflags}" check
- make %{?_smp_mflags} clean
- make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}" V=1
+ %make_build --jobs=1 CFLAGS="%{optflags}" check
+ %make_build clean
+ %make_build CFLAGS="%{optflags} %{cflags_profile_feedback}"
%else
- make %{?_smp_mflags} CFLAGS="%{optflags}"
+ %make_build CFLAGS="%{optflags}"
%endif
%check