!3 mailx delete -S git from %autosetup, and delete BuildRequires git

From: @chenyanpanHW
Reviewed-by: @small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2021-08-13 08:49:54 +00:00 committed by Gitee
commit f1784aaf1a

View File

@ -1,6 +1,6 @@
Name: mailx Name: mailx
Version: 12.5 Version: 12.5
Release: 32 Release: 33
License: BSD with advertising and MPLv1.1 License: BSD with advertising and MPLv1.1
Summary: Enhanced implementation of the mailx command Summary: Enhanced implementation of the mailx command
URL: http://heirloom.sourceforge.net/mailx.html URL: http://heirloom.sourceforge.net/mailx.html
@ -29,7 +29,7 @@ Patch13: mailx-12.5-encsplit.patch
Patch14: mailx-12.5-openssl.patch Patch14: mailx-12.5-openssl.patch
Patch9000: set-mail-defualt-did-not-record-failsend.patch Patch9000: set-mail-defualt-did-not-record-failsend.patch
BuildRequires: gcc openssl-devel git BuildRequires: gcc openssl-devel
Obsoletes: nail < %{version} Obsoletes: nail < %{version}
Provides: nail = %{version} /bin/mail /bin/mailx Provides: nail = %{version} /bin/mail /bin/mailx
@ -40,7 +40,7 @@ Heirloom mailx (previously known as nail) is a mail user agent for Unix systems.
%package_help %package_help
%prep %prep
%autosetup -n heirloom-%{name}-%{version} -p1 -S git %autosetup -n heirloom-%{name}-%{version} -p1
sed -i 's,/etc/nail.rc,%{_sysconfdir}/mail.rc,g' mailx.1 sed -i 's,/etc/nail.rc,%{_sysconfdir}/mail.rc,g' mailx.1
@ -106,6 +106,9 @@ popd
%changelog %changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 12.5-33
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Tue Dec 31 2019 openEuler Buildteam <buildteam@openeuler.org> - 12.5-32 * Tue Dec 31 2019 openEuler Buildteam <buildteam@openeuler.org> - 12.5-32
- Type:bugfix - Type:bugfix
- Id:NA - Id:NA