[packages/atop] up to 2.5.0
atler
atler at pld-linux.org
Tue Jul 28 20:58:21 CEST 2020
commit d739bf1c097af15e6340e80887599aa35d64f22b
Author: Jan Palus <atler at pld-linux.org>
Date: Tue Jul 28 20:58:07 2020 +0200
up to 2.5.0
atop.spec | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/atop.spec b/atop.spec
index d5a98a1..5337e9a 100644
--- a/atop.spec
+++ b/atop.spec
@@ -3,12 +3,12 @@
Summary: AT Computing System and Process Monitor
Summary(pl.UTF-8): Monitor obciążenia systemu alternatywny dla programu top
Name: atop
-Version: 2.3.0
+Version: 2.5.0
Release: 1
License: GPL v2+
Group: Applications/System
Source0: http://www.atoptool.nl/download/%{name}-%{version}.tar.gz
-# Source0-md5: 48e1dbef8c7d826e68829a8d5fc920fc
+# Source0-md5: 5a63d28c276e8f65e8186083b51c7f3a
URL: https://www.atoptool.nl/
BuildRequires: ncurses-devel
BuildRequires: sed >= 4.0
@@ -36,6 +36,8 @@ również które procesy są odpowiedzialne za generowane obciążenie
%{__sed} -i -e '/chown root/d' Makefile
+%{__sed} -i -e '1s|#!/usr/bin/python|#!%{__python3}|' atopgpud
+
%build
%{__make} \
CC="%{__cc}" \
@@ -44,7 +46,7 @@ również które procesy są odpowiedzialne za generowane obciążenie
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_sbindir}
+install -d $RPM_BUILD_ROOT{%{_sbindir},%{_sysconfdir}/default}
%{__make} -j1 sysvinstall systemdinstall \
INIPATH=/etc/rc.d/init.d \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/atop.git/commitdiff/d739bf1c097af15e6340e80887599aa35d64f22b
More information about the pld-cvs-commit
mailing list