[packages/pv] Up to 1.12.7

arekm arekm at pld-linux.org
Thu Nov 26 08:28:50 CET 2026


commit 3171a73754d5600a49a016b3eeb6fd3bacd811ca
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Nov 26 04:28:19 2026 +0100

    Up to 1.12.7

 pv.spec | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/pv.spec b/pv.spec
index 17fddf7..21a3e8b 100644
--- a/pv.spec
+++ b/pv.spec
@@ -5,12 +5,12 @@
 Summary:	Pipe Viewer - tool for monitoring the progress of data through a pipeline
 Summary(pl.UTF-8):	Pipe Viewer - monitorowanie przepływu danych przez potok
 Name:		pv
-Version:	1.12.0
+Version:	1.12.7
 Release:	1
 License:	GPL v3+
 Group:		Applications
 Source0:	https://www.ivarch.com/programs/sources/%{name}-%{version}.tar.gz
-# Source0-md5:	ae0b2c02352a2e275bf20e65cf2fac57
+# Source0-md5:	29d44cfe4455f3d90bd601806d3a6189
 URL:		http://www.ivarch.com/programs/pv.shtml
 BuildRequires:	gettext-tools >= 0.21
 # the unit tests call usleep(1)
@@ -37,13 +37,19 @@ mniej więcej czasu to będzie trwało.
 %build
 %configure
 %{__make}
-%{?with_test:%{__make} test}
+%if %{with tests}
+# valgrind refuses to run without glibc debuginfo, and is not a BuildRequires
+%{__make} test SKIP_VALGRIND_TESTS=1
+%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+# docs are packaged with %doc
+rm -r $RPM_BUILD_ROOT%{_docdir}/%{name}
+
 %find_lang %{name}
 
 %clean
@@ -54,3 +60,4 @@ rm -rf $RPM_BUILD_ROOT
 %doc README.md docs/{ACKNOWLEDGEMENTS,DEVELOPERS,NEWS}.md
 %attr(755,root,root) %{_bindir}/pv
 %{_mandir}/man1/pv.1*
+%lang(uk) %{_localedir}/uk/LC_MESSAGES/pv.mo
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pv.git/commitdiff/3171a73754d5600a49a016b3eeb6fd3bacd811ca



More information about the pld-cvs-commit mailing list