!62 [sync] PR-61: fix lang file declaration
From: @openeuler-sync-bot Reviewed-by: @dillon_chen Signed-off-by: @dillon_chen
This commit is contained in:
commit
1a3b683cf3
30
grep.spec
30
grep.spec
@ -1,9 +1,9 @@
|
|||||||
Name: grep
|
Name: grep
|
||||||
Version: 3.11
|
Version: 3.11
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: A string search utility
|
Summary: A string search utility
|
||||||
License: GPLv3+
|
License: GPL-3.0-or-later AND LGPL-3.0-or-later AND LGPL-2.1-or-later AND GPL-2.0-or-later AND LGPL-2.0-or-later AND GFDL-1.3-no-invariants-or-later
|
||||||
URL: http://www.gnu.org/software/grep/
|
URL: https://www.gnu.org/software/grep
|
||||||
Source0: https://ftp.gnu.org/gnu/grep/grep-%{version}.tar.xz
|
Source0: https://ftp.gnu.org/gnu/grep/grep-%{version}.tar.xz
|
||||||
Source1: color_grep.sh
|
Source1: color_grep.sh
|
||||||
Source2: colorgrep.csh
|
Source2: colorgrep.csh
|
||||||
@ -11,7 +11,7 @@ Source3: grepconf.sh
|
|||||||
|
|
||||||
Patch0001: fix-grep-m2-pattern.patch
|
Patch0001: fix-grep-m2-pattern.patch
|
||||||
|
|
||||||
BuildRequires: gcc pcre2-devel texinfo gettext libsigsegv-devel automake
|
BuildRequires: gcc pcre2-devel texinfo gettext automake
|
||||||
Provides: /bin/egrep /bin/fgrep /bin/grep bundled(gnulib)
|
Provides: /bin/egrep /bin/fgrep /bin/grep bundled(gnulib)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -34,27 +34,25 @@ mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
|
|||||||
install -pm 644 %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
|
install -pm 644 %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
|
||||||
install -Dpm 755 %{SOURCE3} $RPM_BUILD_ROOT%{_libexecdir}/grepconf.sh
|
install -Dpm 755 %{SOURCE3} $RPM_BUILD_ROOT%{_libexecdir}/grepconf.sh
|
||||||
|
|
||||||
%pre
|
%find_lang %{name}
|
||||||
%preun
|
|
||||||
%post
|
|
||||||
%postun
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
%make_build check
|
||||||
|
|
||||||
%files
|
%files -f %{name}.lang
|
||||||
%{_datadir}/locale/*
|
|
||||||
%config(noreplace) %{_sysconfdir}/profile.d/color_grep.sh
|
%config(noreplace) %{_sysconfdir}/profile.d/color_grep.sh
|
||||||
%config(noreplace) %{_sysconfdir}/profile.d/colorgrep.csh
|
%config(noreplace) %{_sysconfdir}/profile.d/colorgrep.csh
|
||||||
%doc NEWS README THANKS TODO
|
%doc NEWS README THANKS TODO AUTHORS
|
||||||
%license COPYING AUTHORS
|
%license COPYING
|
||||||
%{_bindir}/*grep
|
%{_bindir}/*grep
|
||||||
%{_libexecdir}/grepconf.sh
|
%{_libexecdir}/grepconf.sh
|
||||||
%{_infodir}/grep.info.gz
|
%{_infodir}/grep.info*
|
||||||
%{_mandir}/man1/*grep.1.gz
|
%{_mandir}/man1/*grep.1*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 30 2024 Funda Wang <fundawang@yeah.net> - 3.11-3
|
||||||
|
- fix lang file declaration
|
||||||
|
|
||||||
* Mon Jun 03 2024 wangziliang <wangziliang@kylinos.cn> - 3.11-2
|
* Mon Jun 03 2024 wangziliang <wangziliang@kylinos.cn> - 3.11-2
|
||||||
- fix grep -m2 pattern bug
|
- fix grep -m2 pattern bug
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user