packages: cacti-template-memcached/cacti-template-memcached.spec - this is ...
glen
glen at pld-linux.org
Thu Oct 27 22:11:57 CEST 2011
Author: glen Date: Thu Oct 27 20:11:57 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- this is template, not plugin, rename accordingly
---- Files affected:
packages/cacti-template-memcached:
cacti-template-memcached.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: packages/cacti-template-memcached/cacti-template-memcached.spec
diff -u packages/cacti-template-memcached/cacti-template-memcached.spec:1.4 packages/cacti-template-memcached/cacti-template-memcached.spec:1.5
--- packages/cacti-template-memcached/cacti-template-memcached.spec:1.4 Thu Jul 16 10:11:25 2009
+++ packages/cacti-template-memcached/cacti-template-memcached.spec Thu Oct 27 22:11:52 2011
@@ -1,18 +1,19 @@
# $Revision$, $Date$
%define plugin memcached
Summary: Memcached Cacti Template
-Name: cacti-plugin-%{plugin}
+Name: cacti-template-%{plugin}
Version: 1.0
-Release: 3
+Release: 4
License: GPL v2
Group: Applications/WWW
Source0: http://content.dealnews.com/dealnews/developers/cacti-%{plugin}-%{version}.tar.gz
# Source0-md5: 1febadae299aff606860da60ef3bd80e
URL: http://dealnews.com/developers/cacti/memcached.html
Patch0: shebang.patch
-Requires: cacti >= 0.8.6j
-Requires: cacti-add_template
+BuildRequires: rpmbuild(macros) >= 1.554
+Requires: cacti >= 0.8.7e-8
Requires: python-memcached
+Obsoletes: cacti-plugin-memcached
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -37,11 +38,11 @@
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{resourcedir},%{scriptsdir}}
-cp -a *.xml $RPM_BUILD_ROOT%{resourcedir}
-install *.py $RPM_BUILD_ROOT%{scriptsdir}
+cp -p *.xml $RPM_BUILD_ROOT%{resourcedir}
+install -p *.py $RPM_BUILD_ROOT%{scriptsdir}
%post
-%{_sbindir}/cacti-add_template %{resourcedir}/cacti_memcached_host_template.xml
+%cacti_import_template %{resourcedir}/cacti_memcached_host_template.xml
%clean
rm -rf $RPM_BUILD_ROOT
@@ -58,6 +59,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2011/10/27 20:11:52 glen
+- this is template, not plugin, rename accordingly
+
Revision 1.4 2009/07/16 08:11:25 glen
- release 3
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cacti-template-memcached/cacti-template-memcached.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list