#1 Various cleanup and bugfix
Merged 5 years ago by jhrozek. Opened 5 years ago by orion.
rpms/ orion/pv cleanup  into  master

file modified
+9 -9
@@ -1,7 +1,7 @@ 

  Summary: A tool for monitoring the progress of data through a pipeline

  Name: pv

  Version: 1.6.6

- Release: 6%{?dist}

+ Release: 7%{?dist}

  License: Artistic 2.0

  Source0: http://www.ivarch.com/programs/sources/%{name}-%{version}.tar.gz

  URL: http://www.ivarch.com/programs/pv.shtml
@@ -9,8 +9,6 @@ 

  

  BuildRequires:  gcc

  BuildRequires: gettext

- # the unit tests call usleep(1)

- BuildRequires: initscripts

  

  

  %description
@@ -30,16 +28,14 @@ 

  

  %build

  %configure

- make %{?_smp_mflags}

+ %make_build

  

  

  %install

- rm -rf $RPM_BUILD_ROOT

- 

  mkdir -p ${RPM_BUILD_ROOT}%{_bindir}         # /usr/bin

  mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1    # /usr/share/man/man1

  

- make DESTDIR=$RPM_BUILD_ROOT install

+ %make_install

  %find_lang %{name}

  

  
@@ -47,15 +43,19 @@ 

  make test

  

  

- 

  %files -f %{name}.lang

  %{_bindir}/%{name}

  %{_mandir}/man1/%{name}.1.gz

  

- %doc README doc/NEWS doc/TODO doc/COPYING

+ %license doc/COPYING

+ %doc README doc/NEWS doc/TODO

  

  

  %changelog

+ * Fri Mar 15 2019 Orion Poplawski <orion@nwra.com> - 1.6.6-7

+ - Modernize spec

+ - Drop dependency on initscripts (usleep) (bugz#1592410)

+ 

  * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.6-6

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

  

Modernize spec
Drop dependency on initscripts (usleep) (bugz#1592410)

Pull-Request has been merged by jhrozek

5 years ago