[packages/pg_activity] - make sure installs are consistent and macthing internal deps - rel 3

baggins baggins at pld-linux.org
Sun Dec 20 19:35:30 CET 2015


commit a1c7cd73805adff1c21d87a93fd50e05d3e00378
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Dec 20 19:34:51 2015 +0100

    - make sure installs are consistent and macthing internal deps
    - rel 3

 pg_activity.spec | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/pg_activity.spec b/pg_activity.spec
index 1c0e1a7..d7c0418 100644
--- a/pg_activity.spec
+++ b/pg_activity.spec
@@ -10,11 +10,11 @@
 %bcond_without	python2 # CPython 2.x module
 %bcond_without	python3 # CPython 3.x module
 
-%define 	module	pgactivity
+%define		module	pgactivity
 Summary:	A top like application for PostgreSQL server activity monitoring
 Name:		pg_activity
 Version:	1.3.0
-Release:	2
+Release:	3
 License:	distributable
 Group:		Libraries/Python
 Source0:	https://github.com/julmon/pg_activity/archive/v%{version}.tar.gz
@@ -92,14 +92,15 @@ rm -rf _build/html/_sources
 
 %install
 rm -rf $RPM_BUILD_ROOT
+%if %{with python3}
+%py3_install
+%endif
+
 %if %{with python2}
+rm -r $RPM_BUILD_ROOT%{_bindir}
 %py_install
 %py_postclean
 %endif
-%if %{with python3}
-%py3_install
-%endif
-# %py_postclean
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pg_activity.git/commitdiff/a1c7cd73805adff1c21d87a93fd50e05d3e00378



More information about the pld-cvs-commit mailing list