Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
83cd8476c4
!22 Update to 8.0 for fix CVE-2024-5742
From: @starlet-dx 
Reviewed-by: @wk333 
Signed-off-by: @wk333
2024-06-18 02:29:44 +00:00
starlet-dx
182337e60d Update to 8.0 for fix CVE-2024-5742 2024-06-18 10:01:51 +08:00
openeuler-ci-bot
64d86c1344
!13 Fix bug when build using rpmbuild
From: @misaka00251 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
2023-05-23 02:55:32 +00:00
misaka00251
cc65974deb
Fix bug when build using rpmbuild 2023-05-15 18:49:07 +08:00
openeuler-ci-bot
4f93695ef7
!12 Upgrade package to 7.2 version
From: @cherry530 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-04-19 06:05:39 +00:00
cherry530
32570e87a5 Upgrade package to 7.2 version
Signed-off-by: cherry530 <707078654@qq.com>
2023-04-19 11:18:58 +08:00
openeuler-ci-bot
f41ced45f5 !10 nano delete -S git from %autosetup, and delete BuildRequires git
From: @chenyanpanHW
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2021-08-20 10:05:00 +00:00
chenyanpanHW
4b6e9248bc
delete -S git from %autosetup, and delete BuildRequires git 2021-08-02 10:14:02 +08:00
openeuler-ci-bot
31345b1e48 !4 Modify source0
From: @baizg1107
Reviewed-by: @yanzh_h
Signed-off-by: @yanzh_h
2020-09-15 14:50:56 +08:00
baizg1107
18f612163d Modify source0 2020-09-11 14:20:29 +08:00
3 changed files with 39 additions and 8 deletions

Binary file not shown.

BIN
nano-8.0.tar.xz Normal file

Binary file not shown.

View File

@ -1,12 +1,12 @@
Name: nano
Version: 4.9.3
Release: 0
Version: 8.0
Release: 1
Summary: Nano is a tiny GNU editor
License: GPLv3+
URL: https://www.nano-editor.org
Source0: https://www.nano-editor.org/dist/latest/%{name}-%{version}.tar.xz
Source0: https://www.nano-editor.org/dist/v8/%{name}-%{version}.tar.xz
BuildRequires: file-devel gettext-devel gcc git ncurses-devel sed texinfo groff
BuildRequires: file-devel gettext-devel gcc ncurses-devel sed texinfo groff
Conflicts: filesystem < 3
%description
@ -15,8 +15,7 @@ Nano is a tiny GNU editor
%package_help
%prep
%autosetup -S git
%autosetup -p1
%build
install -d build
@ -25,9 +24,9 @@ cd build
%configure
%make_build
sed -e 's/# set nowrap/set nowrap/' \
-e 's/^#.*set speller.*$/set speller "hunspell"/' \
sed -e 's/^#.*set speller.*$/set speller "hunspell"/' \
-e 's|^# \(include "/usr/share/nano/\*.nanorc"\)|\1|' \
doc/sample.nanorc >> ./nanorc
%install
cd build
@ -36,6 +35,10 @@ rm -rf %{buildroot}%{_infodir}/dir
rm -rf %{buildroot}%{_docdir}/nano/{nano,nano.1,nanorc.5,rnano.1}.html
install -d %{buildroot}%{_sysconfdir}
install -m 0644 ./nanorc %{buildroot}%{_sysconfdir}/nanorc
mv %{buildroot}%{_datadir}/nano/extra/* %{buildroot}%{_datadir}/nano
rm -rf %{buildroot}%{_datadir}/nano/extra
%find_lang %{name}
@ -45,6 +48,7 @@ install -d %{buildroot}%{_sysconfdir}
%license COPYING
%{_bindir}/*
%config(noreplace) %{_sysconfdir}/nanorc
%{_datadir}/nano
%{_infodir}/nano.info*
@ -57,6 +61,33 @@ install -d %{buildroot}%{_sysconfdir}
%{_defaultdocdir}/nano/faq.html
%changelog
* Mon Jun 17 2024 yaoxin <yao_xin001@hoperun.com> - 8.0-1
- Update to 8.0
* CVE-2024-5742: Avoid privilege escalations via symlink attacks
on emergency save file (boo#1226099)
* By default ^F is bound to starting a forward search, and ^B to
starting a backward search, while M-F and M-B repeat the search
in the corresponding direction. (See the documentation if you
want the old bindings back.)
* Command-line option --modernbindings (-/) makes ^Q quit, ^X cut,
^C copy, ^V paste, ^Z undo, ^Y redo, ^O open a file, ^W write a file,
^R replace, ^G find again, ^D find again backwards, ^A set the mark,
^T jump to a line, ^P show the position, and ^E execute.
* For easier access, M-" is bound to placing/removing an anchor,
and M-' to jumping to the next anchor.
* Mon May 15 2023 misaka00251 <liuxin@iscas.ac.cn> - 7.2-2
- Fix bug when build using rpmbuild
* Wed Apr 19 2023 xu_ping <707078654@qq.com> - 7.2-1
- Upgrade package to 7.2 version
* Mon Aug 02 2021 chenyanpanHW <chenyanpan@huawei.com> - 4.9.3-2
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Thu Sep 10 2020 baizhonggui <baizhonggui@huawei.com> - 4.9.3-1
- Modify source0
* Sat May 30 2020 SimpleUpdate Robot <tc@openeuler.org>
- Update to version 4.9.3