[packages/cacti-plugin-npc] - cleanup debug code; update todo

glen glen at pld-linux.org
Thu Nov 22 23:38:48 CET 2012


commit 9c63e9b7de3acd0a6f85c7176848f6c00b333421
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Nov 23 00:34:53 2012 +0200

    - cleanup debug code; update todo

 cacti-plugin-npc.spec | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/cacti-plugin-npc.spec b/cacti-plugin-npc.spec
index 86bbaf7..300773a 100644
--- a/cacti-plugin-npc.spec
+++ b/cacti-plugin-npc.spec
@@ -1,5 +1,6 @@
 # TODO
-# - system Doctrine: phpdoctrine.spec
+# - bundles Doctrine 1.0.7: use system phpdoctrine.spec
+# - bundles Ext JS Library 2.2
 # - forum thread: http://forums.cacti.net/viewtopic.php?t=26540
 %define		plugin	npc
 %define		php_min_version 5.2.1
@@ -8,7 +9,7 @@ Summary:	Nagios Plugin for Cacti (NPC)
 Summary(pl.UTF-8):	Wtyczka do Cacti - NPC
 Name:		cacti-plugin-npc
 Version:	2.0.4
-Release:	0.3
+Release:	0.4
 License:	GPL v3
 Group:		Applications/WWW
 #Source0:	http://downloads.sourceforge.net/gibtmirdas/npc-%{version}.tar.gz
@@ -58,6 +59,13 @@ mv %{plugin}/build.xml .
 mv %{plugin}/{README,LICENSE} .
 %undos -f php README
 
+# dev code, not needed for production functionality
+cd %{plugin}
+%{__rm} controllers/layoutDev.php
+%{__rm} -r js/src
+%{__rm} js/ext/*-debug.js
+%{__rm} js/ext/resources/resources.jsb
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{plugindir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cacti-plugin-npc.git/commitdiff/9c63e9b7de3acd0a6f85c7176848f6c00b333421



More information about the pld-cvs-commit mailing list