!7 tree delete -S git from %autosetup, and delete BuildRequires git
From: @chenyanpanHW Reviewed-by: @liuzhiqiang26 Signed-off-by: @liuzhiqiang26
This commit is contained in:
commit
0370dad2bd
@ -1,13 +1,13 @@
|
|||||||
Name: tree
|
Name: tree
|
||||||
Version: 1.8.0
|
Version: 1.8.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Tree file viewer tool
|
Summary: Tree file viewer tool
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://mama.indstate.edu/users/ice/tree/
|
URL: http://mama.indstate.edu/users/ice/tree/
|
||||||
|
|
||||||
Source0: ftp://mama.indstate.edu/linux/tree/%{name}-%{version}.tgz
|
Source0: ftp://mama.indstate.edu/linux/tree/%{name}-%{version}.tgz
|
||||||
|
|
||||||
BuildRequires: gcc git
|
BuildRequires: gcc
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Tree is a recursive directory listing command that produces a depth indented
|
Tree is a recursive directory listing command that produces a depth indented
|
||||||
@ -23,7 +23,7 @@ Requires: man
|
|||||||
This contains man files for the using of tree.
|
This contains man files for the using of tree.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{version} -p1 -S git
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
|
||||||
#fix non-ASCII characters abnormal display
|
#fix non-ASCII characters abnormal display
|
||||||
sed -e 's/LINUX/__linux__/' -i tree.c
|
sed -e 's/LINUX/__linux__/' -i tree.c
|
||||||
@ -44,6 +44,9 @@ install -D -m 644 doc/tree.1 $RPM_BUILD_ROOT%{_mandir}/man1/tree.1
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.8.0-2
|
||||||
|
- DESC: delete -S git from %autosetup, and delete BuildRequires git
|
||||||
|
|
||||||
* Thu Jul 16 2020 zhangyouming <zhangyouming4@huawei.com> - 1.8.0-1
|
* Thu Jul 16 2020 zhangyouming <zhangyouming4@huawei.com> - 1.8.0-1
|
||||||
upgrade package from 1.7.0 to 1.8.0
|
upgrade package from 1.7.0 to 1.8.0
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user