[packages/cpulimit] - updated to 2.6

adamg adamg at pld-linux.org
Mon Apr 8 14:46:28 CEST 2019


commit ab51f8da0ac3339131f469e62e47a24e0e42a58a
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date:   Mon Apr 8 14:46:21 2019 +0200

    - updated to 2.6

 cpulimit.spec | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/cpulimit.spec b/cpulimit.spec
index aa690d0..8cf1d2f 100644
--- a/cpulimit.spec
+++ b/cpulimit.spec
@@ -1,13 +1,12 @@
 Summary:	CPU usage limiter
 Summary(pl.UTF-8):	Ograniczanie wykorzystania procesora
 Name:		cpulimit
-Version:	1.4
+Version:	2.6
 Release:	1
-License:	GPL
+License:	GPL v2
 Group:		Applications
 Source0:	http://downloads.sourceforge.net/project/limitcpu/limitcpu/%{name}-%{version}.tar.gz
-# Source0-md5:	16c0177cc3d9d27b8653a33ba981c682
-Source1:	%{name}.1
+# Source0-md5:	008b012636007e954de3d5a50b83e540
 URL:		http://limitcpu.sourceforge.net/
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -32,12 +31,12 @@ systemu.
 %setup -q
 
 %build
-%{__cc} %{rpmldflags} %{rpmcflags} cpulimit.c -o cpulimit -lrt
+%{__cc} %{rpmldflags} %{rpmcflags} -D LINUX cpulimit.c -o cpulimit -lrt -lpthread
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -D cpulimit $RPM_BUILD_ROOT%{_bindir}/cpulimit
-install -D %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1/cpulimit.1
+install -D cpulimit.1 $RPM_BUILD_ROOT%{_mandir}/man1/cpulimit.1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cpulimit.git/commitdiff/ab51f8da0ac3339131f469e62e47a24e0e42a58a



More information about the pld-cvs-commit mailing list