From 312d73af29ff317cfb6c147f1101837315656f60 Mon Sep 17 00:00:00 2001 From: DengXiewei Date: Sun, 17 Jul 2022 15:16:05 +0800 Subject: [PATCH] Add requires and provides Signed-off-by: DengXiewei --- ftp.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ftp.spec b/ftp.spec index f425ee1..9ca4b45 100644 --- a/ftp.spec +++ b/ftp.spec @@ -1,7 +1,9 @@ +%define anolis_release .0.1 + Summary: The standard UNIX FTP (File Transfer Protocol) client Name: ftp Version: 0.17 -Release: 78%{?dist} +Release: 78%{anolis_release}%{?dist} License: BSD with advertising Group: Applications/Internet Source0: ftp://ftp.linux.org.uk/pub/linux/Networking/netkit/netkit-ftp-%{version}.tar.gz @@ -45,6 +47,9 @@ Patch36: netkit-ftp-0.17-makeargv-linelen.patch BuildRequires: glibc-devel, readline-devel, ncurses-devel BuildRequires: perl-interpreter +Requires: glibc +Provides: /usr/bin/ftp +Provides: /usr/bin/pftp %description The ftp package provides the standard UNIX command-line FTP (File @@ -121,6 +126,9 @@ make INSTALLROOT=${RPM_BUILD_ROOT} install %{_mandir}/man5/netrc.* %changelog +* Sun Jul 17 2022 DengXiewei - 0.17-78.0.1 +- Add requires and provides + * Tue Dec 11 2018 Michal Ruprich - 0.17-78 - Resolves: #1657821 - netkit ftp client buffer overflow in makeargv -- Gitee