From 796ba4cd76a4499b2fd15e1626a75ac080ce02ed9b6db527acfc8942ece6ddc7 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Fri, 22 Apr 2022 13:09:00 +0000 Subject: [PATCH] Accepting request 972190 from home:dsterba:branches:server:monitoring - fix build, regenerate autoconf files - clean spec OBS-URL: https://build.opensuse.org/request/show/972190 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/ftop?expand=0&rev=7 --- ftop.changes | 6 ++++++ ftop.spec | 16 ++++++++-------- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/ftop.changes b/ftop.changes index 049837e..b1f9949 100644 --- a/ftop.changes +++ b/ftop.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Apr 22 00:00:00 CEST 2022 - dsterba@suse.cz + +- fix build, regenerate autoconf files +- clean spec + ------------------------------------------------------------------- Wed Sep 3 14:47:11 CEST 2014 - dsterba@suse.cz diff --git a/ftop.spec b/ftop.spec index d627224..492676e 100644 --- a/ftop.spec +++ b/ftop.spec @@ -1,7 +1,7 @@ # # spec file for package ftop # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -20,9 +20,9 @@ Name: ftop Version: 1.0 Release: 0 Summary: Open File Monitoring -License: GPL-3.0 +License: GPL-3.0-only Group: System/Monitoring -Url: http://code.google.com/p/ftop/ +URL: https://code.google.com/p/ftop/ Source: http://ftop.googlecode.com/files/ftop-%{version}.tar.bz2 Patch1: ftop-ncurses.patch Patch2: ftop-fix_buffer_overflow.patch @@ -35,7 +35,6 @@ BuildRequires: libtool BuildRequires: make BuildRequires: ncurses-devel BuildRequires: pkgconfig -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Ftop is to files what top is to processes. The progress of all open files and @@ -52,6 +51,7 @@ items are displayed in order from most to least active. %patch3 %build +autoreconf -vfi export CFLAGS="%{optflags} -Wall -DHAVE_LIBCURSES=1" export CPPFLAGS="$CFLAGS" %configure @@ -61,9 +61,9 @@ make %{?_smp_mflags} make DESTDIR=%{buildroot} install %{?_smp_mflags} %files -%defattr(-,root,root) -%doc AUTHORS ChangeLog COPYING NEWS README +%license COPYING +%doc AUTHORS ChangeLog NEWS README %{_bindir}/ftop -%doc %{_mandir}/man1/ftop.1%{ext_man} +%{_mandir}/man1/ftop.1%{?ext_man} %changelog