Define %clean before %files

tags/wpkg-libreoffice-5.4.4-0.beta1
Daniel Berteaud 9 years ago
parent b518ab6a1c
commit 31a8ca6b40
  1. 6
      wpkg-libreoffice.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 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
/home/e-smith/files/shares/wpkg/files/ /home/e-smith/files/shares/wpkg/files/
%clean
/bin/rm -rf %{buildroot}
%changelog %changelog
* Fri Feb 26 2016 Daniel Berteaud <daniel@firewall-services.com> 5.0.5-1 * Fri Feb 26 2016 Daniel Berteaud <daniel@firewall-services.com> 5.0.5-1
- Update to 5.0.5 - Update to 5.0.5

Loading…
Cancel
Save