X-Git-Url: http://git.onelab.eu/?p=sliceimage.git;a=blobdiff_plain;f=lxc-sliceimage.spec;h=aa6d3543effc9bad03b3bdf4d834b2ddbdc04d3c;hp=10e5aa4aa708d568ea547ecf6e158f4e0b26a417;hb=d967ca926dc3dc554f84e0cc5dc15d3ebc750d5e;hpb=2f4a2de298c5f4b552007ca72810f3f6f4f83313 diff --git a/lxc-sliceimage.spec b/lxc-sliceimage.spec index 10e5aa4..aa6d354 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 3 %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,6 +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 -D -m 644 lxc_template.xml $RPM_BUILD_ROOT/vservers/.lvref/lxc_template.xml %clean rm -rf $RPM_BUILD_ROOT @@ -41,6 +43,7 @@ rm -rf $RPM_BUILD_ROOT %{_initrddir}/lxc-sliceimage %{_sysconfdir}/cron.d/lxc-sliceimage %{_sysconfdir}/logrotate.d/lxc-sliceimage +/vservers/.lvref %post chkconfig --add lxc-sliceimage