- added format patch (fixes build with -Werror=format-security)
--- /dev/null
+--- dash-0.5.8/src/jobs.c.orig 2014-09-28 10:19:32.000000000 +0200
++++ dash-0.5.8/src/jobs.c 2014-10-05 17:40:52.165504729 +0200
+@@ -427,7 +427,7 @@
+ goto out;
+ #endif
+ }
+- col = fmtstr(s, 32, strsignal(st));
++ col = fmtstr(s, 32, "%s", strsignal(st));
+ #ifdef WCOREDUMP
+ if (WCOREDUMP(status)) {
+ col += fmtstr(s + col, 16, " (core dumped)");
Summary: POSIX-compliant implementation of /bin/sh
Summary(pl.UTF-8): Zgodna z POSIX implementacja /bin/sh
Name: dash
-Version: 0.5.7
+Version: 0.5.8
Release: 1
License: GPL v2+
Group: Applications/Shells
Source0: http://gondor.apana.org.au/~herbert/dash/files/%{name}-%{version}.tar.gz
-# Source0-md5: f6cedb10ae7258adb5ab17a10ae80d51
+# Source0-md5: 5c152209680dab3c319e8923f6c51378
+Patch0: %{name}-format.patch
URL: http://gondor.apana.org.au/~herbert/dash/
Requires(post): grep
Requires(preun): sed >= 4.0
%prep
%setup -q
+%patch0 -p1
%build
%configure