From 24c56331d4b363d51a240268a4db484435195a1a Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Thu, 10 Dec 2020 01:14:12 +0100 Subject: [PATCH] Merged update from upstream sources This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/ftp.git#dc21ecf8fb8dfd3fea47aacf2dfa8f805a0e61ee --- .fmf/version | 1 + ci.fmf | 13 +++++++++++++ ftp.spec | 10 +++++++--- 3 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 .fmf/version create mode 100644 ci.fmf diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/ci.fmf b/ci.fmf new file mode 100644 index 0000000..48d9424 --- /dev/null +++ b/ci.fmf @@ -0,0 +1,13 @@ +/test: + summary: + CI plan, picks Tier1 tests, runs in beakerlib. + description: + This special plan has to be named ci.fmf to run in CI. + It selects test which have 'tier 1' in their main.fmf file + discover: + - name: tier1 + how: fmf + filter: 'tier: 1' + repository: "https://src.fedoraproject.org/tests/ftp.git" + execute: + how: beakerlib diff --git a/ftp.spec b/ftp.spec index 184ee84..5bb8b60 100644 --- a/ftp.spec +++ b/ftp.spec @@ -1,7 +1,7 @@ Summary: The standard UNIX FTP (File Transfer Protocol) client Name: ftp Version: 0.17 -Release: 84%{?dist} +Release: 85%{?dist} License: BSD with advertising Source0: ftp://ftp.linux.org.uk/pub/linux/Networking/netkit/netkit-ftp-%{version}.tar.gz URL: ftp://ftp.linux.org.uk/pub/linux/Networking/netkit @@ -91,7 +91,7 @@ file transfers. %patch35 -p1 -b .linelen-segfault %build -sh configure --with-c-compiler=gcc --enable-ipv6 +sh configure --with-c-compiler=%{__cc} --enable-ipv6 perl -pi -e ' s,^CC=.*$,CC=cc,; s,-O2,\$(RPM_OPT_FLAGS) -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64,; @@ -101,7 +101,7 @@ perl -pi -e ' s,^SBINDIR=.*$,SBINDIR=%{_sbindir},; ' MCONFIG -make %{?_smp_mflags} +%{make_build} %install mkdir -p ${RPM_BUILD_ROOT}%{_bindir} @@ -118,6 +118,10 @@ make INSTALLROOT=${RPM_BUILD_ROOT} install %{_mandir}/man5/netrc.* %changelog +* Thu Nov 19 2020 Michal Ruprich - 0.17-85 +- Use make_build macro and remove hard-coded gcc +- https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make + * Mon Jul 27 2020 Fedora Release Engineering - 0.17-84 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild