From 71ef69ac50ebdd60dd8f075ff9dd9f8eac94a7fa0444e0fa705bfd28aad37da0 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 8 Sep 2020 08:48:33 +0000 Subject: [PATCH] - Trim old specfile constructs. OBS-URL: https://build.opensuse.org/package/show/utilities/pv?expand=0&rev=29 --- pv.changes | 5 +++++ pv.spec | 24 +++++++++--------------- 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/pv.changes b/pv.changes index 9d6f644..dfdd647 100644 --- a/pv.changes +++ b/pv.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Sep 8 08:48:09 UTC 2020 - Jan Engelhardt + +- Trim old specfile constructs. + ------------------------------------------------------------------- Mon Aug 7 23:34:32 UTC 2017 - jengelh@inai.de diff --git a/pv.spec b/pv.spec index ad0e311..8057230 100644 --- a/pv.spec +++ b/pv.spec @@ -1,7 +1,7 @@ # # spec file for package pv # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 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/ # @@ -22,24 +22,18 @@ Release: 0 Summary: PipeViewer - Monitor the Progress of Data through Pipes License: Artistic-2.0 Group: System/Base -Url: http://ivarch.com/programs/pv.shtml +URL: http://ivarch.com/programs/pv.shtml Source: http://ivarch.com/programs/sources/%name-%version.tar.bz2 Source2: http://ivarch.com/programs/sources/%name-%version.tar.bz2.txt Source3: %name.keyring -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc BuildRequires: gettext BuildRequires: gettext-devel BuildRequires: glibc-devel BuildRequires: intltool BuildRequires: make -%if 0%{?suse_version} && 0%{?suse_version} <= 1200 -# The testsuite wants the "usleep" utility -BuildRequires: sysvinit -%else BuildRequires: sysvinit-tools -%endif %description PV ("Pipe Viewer") is a tool for monitoring the progress of data through a @@ -49,23 +43,23 @@ it has taken, how near to completion it is, and an estimate of how long it will be until completion. %prep -%setup -q +%autosetup -p1 %build %configure --enable-lfs --enable-nls --disable-debugging -make %{?_smp_mflags} +%make_build %install %make_install %find_lang %name %check -make test +%make_build test %files -f %name.lang -%defattr(-,root,root) -%doc README doc/COPYING doc/NEWS +%license doc/COPYING +%doc README doc/NEWS %_bindir/pv -%doc %_mandir/man1/pv.1%ext_man +%_mandir/man1/pv.1%ext_man %changelog