X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lxc-sliceimage.spec;h=5e3c166e1b7b360732d6aa9a046e7ba2700a8602;hb=2e19625ea303bb184a9a44b8f3c14ac16d169d36;hp=3c0a0c65c82aabfa1a120c362aa8252f91b7e48f;hpb=2ac75356f2a267ffd7bec1429ac8e7b3bb5185fd;p=sliceimage.git diff --git a/lxc-sliceimage.spec b/lxc-sliceimage.spec index 3c0a0c6..5e3c166 100644 --- a/lxc-sliceimage.spec +++ b/lxc-sliceimage.spec @@ -1,6 +1,6 @@ %define name lxc-sliceimage %define version 5.1 -%define taglevel 0 +%define taglevel 5 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} @@ -18,6 +18,7 @@ License: GPL Group: Applications/System BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Requires: btrfs-progs +Requires: nodemanager-lxc >= 5.2-3 BuildArch: noarch %description @@ -33,7 +34,7 @@ rm -rf $RPM_BUILD_ROOT install -D -m 755 initscripts/lxc-sliceimage ${RPM_BUILD_ROOT}/%{_initrddir}/lxc-sliceimage install -D -m 644 cron.d/lxc-sliceimage $RPM_BUILD_ROOT/%{_sysconfdir}/cron.d/lxc-sliceimage install -D -m 644 logrotate/lxc-sliceimage $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d/lxc-sliceimage -install -C -m 644 lxc_template.xml $RPM_BUILD_ROOT/vservers/.lvref/lxc_template.xml +install -D -m 644 lxc_template.xml $RPM_BUILD_ROOT/vservers/.lvref/lxc_template.xml %clean rm -rf $RPM_BUILD_ROOT