diff --git a/wpkg-zabbix_agent.spec b/wpkg-zabbix_agent.spec index 463c495..92f4175 100644 --- a/wpkg-zabbix_agent.spec +++ b/wpkg-zabbix_agent.spec @@ -34,14 +34,14 @@ mkdir -p %{buildroot}/home/e-smith/files/shares/wpkg/files/softwares/%{package} cp -r softwares/* %{buildroot}/home/e-smith/files/shares/wpkg/files/softwares/%{package}/ cp -r packages/* %{buildroot}/home/e-smith/files/shares/wpkg/files/packages/ +%clean +/bin/rm -rf %{buildroot} + %files %defattr(-,root,root) %doc CHANGELOG.git /home/e-smith/files/shares/wpkg/files/ -%clean -/bin/rm -rf %{buildroot} - %changelog * Fri Mar 25 2016 Daniel Berteaud - 3.0.1-3 - Stop the service before upgrades/downgrades/removals