[packages/timelimit] Up to 1.9.2

arekm arekm at pld-linux.org
Thu Oct 5 19:44:59 CEST 2023


commit 0f06728c7d9a48a5aa09618610cc340cde77bdc6
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Oct 5 19:23:19 2023 +0200

    Up to 1.9.2

 timelimit.spec | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)
---
diff --git a/timelimit.spec b/timelimit.spec
index d09207c..321a065 100644
--- a/timelimit.spec
+++ b/timelimit.spec
@@ -1,24 +1,26 @@
 %bcond_without	tests
 Summary:	Limit a process's absolute execution time
 Name:		timelimit
-Version:	1.9.0
+Version:	1.9.2
 Release:	1
 License:	distributable
 Group:		Base
 Source0:	http://devel.ringlet.net/files/sys/timelimit/%{name}-%{version}.tar.xz
-# Source0-md5:	9414dbc57206ccf8155f128ac46d2ebd
+# Source0-md5:	2390f78a965e4d37b06406a9985d80eb
 # for prove binary
 %{?with_tests:BuildRequires:	perl-tools-devel}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 timelimit executes a command and terminates the spawned process after
-a given time with a given signal. A warning signal is sent first, then,
-after a timeout, a kill signal, similar to the way init(8) operates on
-shutdown.
+a given time with a given signal. A warning signal is sent first,
+then, after a timeout, a kill signal, similar to the way init(8)
+operates on shutdown.
 
 %prep
-%setup
+%setup -q
+
+sed -i -e 's#fgrep#grep -F#g' t/02-subsecond.t
 
 %build
 %{__make} \
@@ -38,7 +40,8 @@ rm -rf $RPM_BUILD_ROOT
 	BINOWN=$(id -u) \
 	BINGRP=$(id -g) \
 	SHAREOWN=$(id -u) \
-	SHAREGRP=$(id -g)
+	SHAREGRP=$(id -g) \
+ 	STRIP=""
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/timelimit.git/commitdiff/0f06728c7d9a48a5aa09618610cc340cde77bdc6



More information about the pld-cvs-commit mailing list