sed/sed.spec
zhangruifang2020 06c8bd195e Modify the check based on the spec specifications
(cherry picked from commit 824c91e6b322a5530645a36cd98ea40d56118c10)
2023-04-23 17:48:25 +08:00

105 lines
2.5 KiB
RPMSpec

Name: sed
Version: 4.8
Release: 6
Summary: non-interactive command-line text editor
License: GPLv3+
URL: https://www.gnu.org/software/sed/
Source0: http://ftp.gnu.org/gnu/sed/%{name}-%{version}.tar.xz
Patch1: backport-sed-handle-very-long-execution-lines-tiny-change.patch
Patch2: backport-sed-handle-very-long-input-lines-with-R-tiny-change.patch
Patch3: backport-maint-avoid-new-warning-about-deprecated-security_co.patch
Patch4: backport-maint-update-obsolete-constructs-in-configure.ac.patch
Patch5: backport-sed-avoid-potential-double-fclose.patch
Patch6: backport-sed-fix-temp-file-cleanup.patch
Patch7: backport-sed-c-flag.patch
BuildRequires: gzip automake autoconf gcc
BuildRequires: glibc-devel libselinux-devel libacl-devel perl-Getopt-Long
Provides: /bin/sed
Provides: bundled(gnulib)
%description
Sed is a non-interactive command-line text editor. A stream editor is used
to per-form basic text transformations on an input stream (a file or input
from a pipeline).
%package help
Summary: Documents for %{name}
Buildarch: noarch
Requires: man info
%description help
Man pages and other related documents for %{name}.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%configure --without-included-regex
make %{?_smp_mflags}
%check
make check
%install
%make_install
%find_lang %{name}
%files -f %{name}.lang
%license COPYING
%{_bindir}/sed
%files help
%doc ABOUT-NLS AUTHORS BUGS ChangeLog* INSTALL NEWS README THANKS
%{_infodir}/*.info.gz
%exclude %{_infodir}/dir*
%{_mandir}/man1/*.1.gz
%changelog
* Sun Apr 23 2023 zhangruifang <zhangruifang1@h-partners.com> - 4.8-6
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:Modify the check based on the spec specifications
* Thu Dec 15 2022 zhangruifang2020<zhangruifang1@h-partners.com> - 4.8-5
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:spec file add make check
* Tue Oct 18 2022 laotan2<tanjinghui1@huawei.com> - 4.8-4
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:backport upsteam patch
* Wed Apr 27 2022 zhangruifang2020<zhangruifang1@h-partners.com> - 4.8-3
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:rebuild for sed
* Mon Feb 8 2021 yangzhuangzhuang<yangzhuangzhuang1@huawei.com> - 4.8-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:backport patches from upstream
* Thu Apr 16 2020 chengquan<chengquan3@huawei.com> - 4.8-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:upgrade software to v4.8
* Tue Jan 7 2020 JeanLeo<liujianliu.liu@huawei.com> - 4.7-0
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:update software to version 4.7
* Fri Aug 23 2019 openEuler Buildteam <buildteam@openeuler.org> - 4.5-3
- Package init