]> git.pld-linux.org Git - packages/cacti-template-memcached.git/commitdiff
- this is template, not plugin, rename accordingly auto/ac/cacti-template-memcached-1_0-4 auto/th/cacti-template-memcached-1_0-4
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 27 Oct 2011 20:11:52 +0000 (20:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cacti-template-memcached.spec -> 1.5

cacti-template-memcached.spec

index 47fd32eb7303a492d10b88450bdbc1bd98974a59..52fa7c560ce7e71e6f4f1e92ffeb987ddb4dd4f0 100644 (file)
@@ -1,17 +1,18 @@
 %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)
 
@@ -36,11 +37,11 @@ for both the get and set commands.
 %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
This page took 0.091044 seconds and 4 git commands to generate.