Define %clean before %files

tags/wpkg-sogo-addons-31.0.6-0.beta1
Daniel Berteaud 9 years ago
parent 25143e9252
commit 55c9be2684
  1. 6
      wpkg-sogo-addons.spec

@ -40,6 +40,9 @@ mkdir -p %{buildroot}/home/e-smith/files/shares/wpkg/files/softwares/thunderbird
cp -r softwares/* %{buildroot}/home/e-smith/files/shares/wpkg/files/softwares/thunderbird_addons/ cp -r softwares/* %{buildroot}/home/e-smith/files/shares/wpkg/files/softwares/thunderbird_addons/
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
@ -48,9 +51,6 @@ cp -r packages/* %{buildroot}/home/e-smith/files/shares/wpkg/files/packages/
/etc /etc
/usr /usr
%clean
/bin/rm -rf %{buildroot}
%changelog %changelog
* Mon Nov 23 2015 Daniel Berteaud <daniel@firewall-services.com> 31.0.2-1 * Mon Nov 23 2015 Daniel Berteaud <daniel@firewall-services.com> 31.0.2-1
- Update to 31.0.2 - Update to 31.0.2

Loading…
Cancel
Save