Removing lftp-scripts

This commit is contained in:
Michal Ruprich 2024-07-23 12:38:26 +02:00
parent b0eaa1da6c
commit 9eec8094e9
2 changed files with 24 additions and 26 deletions

View File

@ -1,19 +1,24 @@
Summary: A sophisticated file transfer program
Name: lftp
Version: 4.9.2
Release: 14%{?dist}
Release: 15%{?dist}
License: GPL-3.0-or-later
Source0: http://lftp.yar.ru/ftp/%{name}-%{version}.tar.xz
URL: http://lftp.yar.ru/
BuildRequires: ncurses-devel, gnutls-devel, perl-generators, pkgconfig, readline-devel, gettext
BuildRequires: ncurses-devel
BuildRequires: gnutls-devel
BuildRequires: perl-generators
BuildRequires: pkgconfig
BuildRequires: readline-devel
BuildRequires: gettext
BuildRequires: zlib-devel, gcc-c++
BuildRequires: desktop-file-utils
BuildRequires: make
BuildRequires: desktop-file-utils
BuildRequires: make
Patch1: lftp-4.0.9-date_fmt.patch
Patch2: lftp-4.9.2-cdefs.patch
Patch3: lftp-4.9.2-gnutls-peers2.patch
Patch4: lftp-4.9.2-fedora-c99.patch
Patch1: lftp-4.0.9-date_fmt.patch
Patch2: lftp-4.9.2-cdefs.patch
Patch3: lftp-4.9.2-gnutls-peers2.patch
Patch4: lftp-4.9.2-fedora-c99.patch
%description
LFTP is a sophisticated ftp/http file transfer program. Like bash, it has job
@ -21,24 +26,16 @@ control and uses the readline library for input. It has bookmarks, built-in
mirroring, and can transfer several files in parallel. It is designed with
reliability in mind.
%package scripts
Summary: Scripts for lftp
Requires: lftp >= %{version}-%{release}
BuildArch: noarch
%description scripts
Utility scripts for use with lftp.
%prep
%setup -q
%patch1 -p1 -b .date_fmt
%patch 1 -p1 -b .date_fmt
%ifarch ppc64le
%patch2 -p1 -b .cdefs
%patch 2 -p1 -b .cdefs
%endif
%patch3 -p1 -b .gnutls-peers2
%patch 3 -p1 -b .gnutls-peers2
%patch4 -p1 -b .fedora-c99
%patch 4 -p1 -b .fedora-c99
# Avoid trying to re-run autoconf
touch -r aclocal.m4 configure m4/needtrio.m4
@ -69,6 +66,7 @@ rm $RPM_BUILD_ROOT%{_libdir}/liblftp-tasks.so
desktop-file-install \
--dir=%{buildroot}%{_datadir}/applications \
%{buildroot}/%{_datadir}/applications/lftp.desktop
rm -r $RPM_BUILD_ROOT%{_datadir}/lftp
%find_lang %{name}
@ -98,13 +96,10 @@ desktop-file-install \
%{_datadir}/applications/lftp.desktop
%{_datadir}/icons/hicolor/*/apps/*
%files scripts
%{_datadir}/lftp
%changelog
* Tue Jul 23 2024 Michal Ruprich <mruprich@redhat.com> - 4.9.2-15
- Removing lftp-scripts
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 4.9.2-14
- Bump release for June 2024 mass rebuild

3
rpminspect.yaml Normal file
View File

@ -0,0 +1,3 @@
---
inspections:
badfuncs: off