Accepting request 392052 from utilities

- Update to 1.11
  * Added 'b' key to spawn shell in the current directory
  * Support scanning (and refreshing) of empty directories
  * Added --si flag for base 10 prefixes
  * Fix toggle dirs before files
- Spec file cleanups
- Add include_sys_wait.patch.  Fixes building on earlier distros.
  The patch is includes upstream and should be in the next release.
  Please see:
  + https://dev.yorhel.nl/ncdu/bug/70
  + https://g.blicky.net/ncdu.git/commit/?id=29f347c19cb7ad17c4b401e1d984fce8eafaaafa

OBS-URL: https://build.opensuse.org/request/show/392052
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ncdu?expand=0&rev=8
This commit is contained in:
Dominique Leuenberger 2016-05-05 06:12:42 +00:00 committed by Git OBS Bridge
commit 0d627096aa
7 changed files with 69 additions and 30 deletions

25
include_sys_wait.patch Normal file
View File

@ -0,0 +1,25 @@
From 29f347c19cb7ad17c4b401e1d984fce8eafaaafa Mon Sep 17 00:00:00 2001
From: Yorhel <git@yorhel.nl>
Date: Tue, 7 Apr 2015 10:39:46 +0200
Subject: shell.c: Include sys/wait.h
Required for the W* macros on OpenBSD. Reported by Brian Callahan.
---
src/shell.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/shell.c b/src/shell.c
index d601b5a..eb275cd 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -32,6 +32,7 @@
#include <ncurses.h>
#include <stdlib.h>
#include <unistd.h>
+#include <sys/wait.h>
void shell_draw() {
char *full_path;
--
cgit v0.12

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f5994a4848dbbca480d39729b021f057700f14ef72c0d739bbd82d862f2f0c67
size 131810

View File

@ -1,17 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
iQIcBAABCgAGBQJRi7X1AAoJEGI5TGmMJzn6zykP/R+fvme3YBRU82IDb2L6Yx+b
gWHV2IQvYjFF+9x/2tUatKSt8c0y8SCyxfE9Ypqnqtd2CK+7RxQeGLKsA6xDlSne
lLsm7SzuF1Ta1D66pLuilFrtu8TcSXvwBiSm3+hQ8T5hOiZv1jjJ/NfMokH99R/a
y0199hoPl+TQtvqQGT5WdTd4yNudE2rMSUwhSdwfYgUpKjw2dnN9bjHVMo4XkRm/
SFKHu3f4d21oSX3vao70FJyRlpSuNpFhQgj5V88s4a7mwU8nfYSRSZTDA8PKPFRQ
Yin6t8PEvyLnLUtLM7zJUU6GDU+lmYJYjxzEAZBBd7CS/n8dlmGraDK0Au7rEuSD
ecNYD+jpSAg/M7N0hV5S7IUanIhrYV8GgjKGlhAibqvpJKz14IiCynXbH6IfZDPe
eeir/v4fNWudpmFwAslbacBbkqa8gWsIyHA+A8CS3PN0bYX7AolfUCjwa+si3UNy
fAcHjABxYjKw5rMopYaOMroCom9Drjj3xE7d82iPPqIhLSl/I4eOvirkfgJAZCNs
nPvG4jfXpk2aXDt22YtNYTTSRhOBI5cC9k8iObN0F74D1+U+bDIVocEOGf6rwKkE
uSqFms0Zvpvl9tRubapeSvPnbJ4vqn2Jr5zBG1J8RvjtG5KaKCgCxUCLLEblGGXN
Da/zBl8Hfatm30hyCVsg
=ww6q
-----END PGP SIGNATURE-----

3
ncdu-1.11.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d0aea772e47463c281007f279a9041252155a2b2349b18adb9055075e141bb7b
size 134093

17
ncdu-1.11.tar.gz.asc Normal file
View File

@ -0,0 +1,17 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAABCgAGBQJVIO1TAAoJEGI5TGmMJzn6iOoQAL3UlfW62oEhg6PxhxpXaVi9
+o1NK0mWlrg+0qXfCUX7yZK6g7TZUtBjXZd9REafjQU+RIj/UhadFHMS4Dps4SJ1
4E+qeciZBdGs5H6vCwgpRX6bLJNit4CZc/2vPa8NlMmwT/d03bIQqIcS1QKiUB7L
hTTmngpZDjtrLgCspYd+HolQFl8xnTb+VJA9zC+1U3rD02gH1/iRs7WsK4krGOD6
iVBPeiNtMEaHiIfnme43l13il3MUZ9yAatQpDG3oYVNKIvTaKkR6i1FOzsAkUhgn
TW+7PsZl6MZkebMsBuS4X8A+8euLX+z/VAa6/BcTY6vxrr+MKZogAx2MItELHtwp
vYrOKoNQtLYPQ8RFtmCAo3cnt/zL5KaKHdgSAHyzSX88vauqp4pKAT/Xdpj/hRe3
YvI0DXFHix9Pyc52h58vRtldQ4qNKp41Jp5frbtEgweq+jJ9Q5kkm2w/5NiyXiat
/L+UIySKmSIHgkJoQDhwHPIOO1S4vvP4W8s6d1r+jMLaLgLDmoIK9Eicdx9OAJ7s
G9r3WP43mq1gjW+xf2ujLDKolUNiaSev6cno18E+dTRioWAj497MfSRpEXO1eoL4
5GDP5PaQbfXsdKEJrs9bmrJz4pRbTrDAzpKo66ysFUpr3v5V5k0r2AWqgO3pPqaQ
rOT5YYg6Lu6yiOmrbnO6
=alZd
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Thu Apr 28 18:28:00 UTC 2016 - toddrme2178@gmail.com
- Update to 1.11
* Added 'b' key to spawn shell in the current directory
* Support scanning (and refreshing) of empty directories
* Added --si flag for base 10 prefixes
* Fix toggle dirs before files
- Spec file cleanups
- Add include_sys_wait.patch. Fixes building on earlier distros.
The patch is includes upstream and should be in the next release.
Please see:
+ https://dev.yorhel.nl/ncdu/bug/70
+ https://g.blicky.net/ncdu.git/commit/?id=29f347c19cb7ad17c4b401e1d984fce8eafaaafa
-------------------------------------------------------------------
Sat Aug 31 09:43:41 UTC 2013 - lazy.kent@opensuse.org

View File

@ -1,8 +1,7 @@
# vim: set sw=4 ts=4 et:
#
# spec file for package ncdu
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +17,7 @@
Name: ncdu
Version: 1.10
Version: 1.11
Release: 0
Summary: NCurses Disk Usage
License: MIT
@ -26,6 +25,8 @@ Group: System/Filesystems
Url: http://dev.yorhel.nl/ncdu/
Source0: http://dev.yorhel.nl/download/ncdu-%{version}.tar.gz
Source1: http://dev.yorhel.nl/download/ncdu-%{version}.tar.gz.asc
# PATCH-FIX-UPSTREAM include_sys_wait.patch https://dev.yorhel.nl/ncdu/bug/70
Patch0: include_sys_wait.patch
Source2: %{name}.keyring
BuildRequires: ncurses-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -37,21 +38,19 @@ directories are using your disk space.
%prep
%setup -q
%patch0 -p1
%build
%configure
%__make %{?_smp_flags}
make %{?_smp_flags}
%install
%makeinstall
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%make_install
%files
%defattr(-,root,root,0755)
%defattr(-,root,root,-)
%doc ChangeLog README COPYING
%doc %{_mandir}/man1/%{name}.1*
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*
%changelog