[glances] Adding missing dependancies and removing shebang in non-executable files

madko madko at fedoraproject.org
Tue Aug 21 17:58:53 UTC 2012


commit 0edf50ccfcef2b8080dd8e813302af8688fd9877
Author: Edouard Bourguignon <madko at linuxed.net>
Date:   Tue Aug 21 19:58:27 2012 +0200

    Adding missing dependancies and removing shebang in non-executable files

 glances.spec |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/glances.spec b/glances.spec
index d14de3a..9686bbb 100644
--- a/glances.spec
+++ b/glances.spec
@@ -1,15 +1,18 @@
 Name:		glances		
 Version:	1.4
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	CLI curses based monitoring tool
 
 Group:		Applications/System		
 License:	GPLv3
 URL:		https://github.com/nicolargo/glances
 Source0:	https://github.com/downloads/nicolargo/%{name}/%{name}-%{version}.tar.gz
+Patch0:		glances_remove_shebang.patch
 BuildArch:	noarch
 BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 BuildRequires:	python-setuptools-devel
+Requires:	python-setuptools
+Requires:	python-psutil
 
 %description
 Glances is a CLI curses based monitoring tool for both GNU/Linux and BSD.
@@ -20,13 +23,14 @@ It is developed in Python.
 
 %prep
 %setup -q
+%patch0 -p1
 
 
 %build
 
 
 %install
-%{__python} setup.py install --skip-build --root %{buildroot}
+%{__python} setup.py install --root %{buildroot}
 %find_lang %{name}
 
 
@@ -44,6 +48,10 @@ rm -rf %{buildroot}
 %{_datadir}/man/man1/glances.1.gz
 
 %changelog
+* Tue Aug 21 2012 Edouard Bourguignon <madko at linuxed.net> - 1.4-2
+- Adding missing dependencies
+- Removing shebang in non-executable files
+
 * Tue Aug 21 2012 Edouard Bourguignon <madko at linuxed.net> - 1.4-1
 - Upgrade to version 1.4
 


More information about the scm-commits mailing list