richardfearn pushed to ncdu (el5). "Update to new upstream version 1.11 (#1209036)"
notifications at fedoraproject.org
notifications at fedoraproject.org
Tue Apr 7 18:16:30 UTC 2015
>From 9a5006d7b189358039119499aaec5a69bae890a8 Mon Sep 17 00:00:00 2001
From: Richard Fearn <richardfearn at gmail.com>
Date: Tue, 7 Apr 2015 20:09:17 +0200
Subject: Update to new upstream version 1.11 (#1209036)
diff --git a/.gitignore b/.gitignore
index 1e10a54..07476f7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
ncdu-1.5.tar.gz
+/ncdu-1.11.tar.gz
diff --git a/ncdu-wait-macros.patch b/ncdu-wait-macros.patch
new file mode 100644
index 0000000..a954c2c
--- /dev/null
+++ b/ncdu-wait-macros.patch
@@ -0,0 +1,11 @@
+diff -ur ncdu-1.11.orig/src/shell.c ncdu-1.11/src/shell.c
+--- ncdu-1.11.orig/src/shell.c 2014-12-14 15:13:08.000000000 +0100
++++ ncdu-1.11/src/shell.c 2015-04-07 20:03:34.427133708 +0200
+@@ -32,6 +32,7 @@
+ #include <ncurses.h>
+ #include <stdlib.h>
+ #include <unistd.h>
++#include <sys/wait.h>
+
+ void shell_draw() {
+ char *full_path;
diff --git a/ncdu.spec b/ncdu.spec
index ded124a..12b1d03 100644
--- a/ncdu.spec
+++ b/ncdu.spec
@@ -1,12 +1,13 @@
Name: ncdu
-Version: 1.5
+Version: 1.11
Release: 1%{?dist}
Summary: Text-based disk usage viewer
Group: Applications/File
License: MIT
URL: http://dev.yorhel.nl/ncdu/
-Source0: http://dev.yorhel.nl/download/ncdu-1.5.tar.gz
+Source0: http://dev.yorhel.nl/download/ncdu-1.11.tar.gz
+Patch0: ncdu-wait-macros.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ncurses-devel
@@ -17,6 +18,7 @@ and provides a fast way to see what directories are using your disk space.
%prep
%setup -q
+%patch0 -p1
%build
%configure
@@ -32,10 +34,13 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_mandir}/man1/ncdu.1.gz
-%doc AUTHORS COPYING ChangeLog TODO
+%doc ChangeLog COPYING
%{_bindir}/ncdu
%changelog
+* Tue Apr 07 2015 Richard Fearn <richardfearn at gmail.com> - 1.11-1
+- Update to new upstream version 1.11 (#1209036)
+
* Sun Jul 26 2009 Richard Fearn <richardfearn at gmail.com> - 1.5-1
- update to new upstream version 1.5
diff --git a/sources b/sources
index c116728..2ebc6f7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-90a69cc3b2e9f0324eb14e6ce1df0f22 ncdu-1.5.tar.gz
+9e44240a5356b029f05f0e70a63c4d12 ncdu-1.11.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/ncdu.git/commit/?h=el5&id=9a5006d7b189358039119499aaec5a69bae890a8
More information about the scm-commits
mailing list