Define %clean before %files

tags/wpkg-xmind-3.7.6-0.beta1
Daniel Berteaud 9 years ago
parent ddcbfe1e45
commit 848a24bc92
  1. 6
      wpkg-xmind.spec

@ -35,14 +35,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
* Mon Jan 4 2016 Daniel Berteaud <daniel@firewall-services.com> - 3.6.1-1 * Mon Jan 4 2016 Daniel Berteaud <daniel@firewall-services.com> - 3.6.1-1
- Update top 3.6.1 (build 201512240104) - Update top 3.6.1 (build 201512240104)

Loading…
Cancel
Save