Define %clean before %files

tags/wpkg-winscp-5.11.2-0.beta1
Daniel Berteaud 9 years ago
parent 23f2e39d7f
commit 1c1cbed7ea
  1. 6
      wpkg-winscp.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
* Mon Mar 7 2016 Daniel Berteaud <daniel@firewall-services.com> 5.7.7-1 * Mon Mar 7 2016 Daniel Berteaud <daniel@firewall-services.com> 5.7.7-1
- Update to 5.7.7 - Update to 5.7.7

Loading…
Cancel
Save