Define %clean before %files

tags/wpkg-fusioninventory-2.4-0.beta1
Daniel Berteaud 9 years ago
parent ca88380245
commit 38e7f49c61
  1. 6
      wpkg-fusioninventory.spec

@ -38,6 +38,9 @@ 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 softwares/* %{buildroot}/home/e-smith/files/shares/wpkg/files/softwares/%{package}/
cp -r packages/* %{buildroot}/home/e-smith/files/shares/wpkg/files/packages/ cp -r packages/* %{buildroot}/home/e-smith/files/shares/wpkg/files/packages/
%clean
/bin/rm -rf %{buildroot}
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc CHANGELOG.git %doc CHANGELOG.git
@ -45,9 +48,6 @@ cp -r packages/* %{buildroot}/home/e-smith/files/shares/wpkg/files/packages/
%attr(554, root, root) /etc/e-smith/events/actions/wpkg-fusioninventory-cacert %attr(554, root, root) /etc/e-smith/events/actions/wpkg-fusioninventory-cacert
/etc/ /etc/
%clean
/bin/rm -rf %{buildroot}
%changelog %changelog
* Fri Oct 9 2015 Daniel Berteaud <daniel@firewall-services.com> - 2.3.17-1 * Fri Oct 9 2015 Daniel Berteaud <daniel@firewall-services.com> - 2.3.17-1
- Update to 2.3.17 - Update to 2.3.17

Loading…
Cancel
Save