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 packages/* %{buildroot}/home/e-smith/files/shares/wpkg/files/packages/
%clean
/bin/rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc CHANGELOG.git
/home/e-smith/files/shares/wpkg/files/
%clean
/bin/rm -rf %{buildroot}
%changelog
* Mon Mar 7 2016 Daniel Berteaud <daniel@firewall-services.com> 5.7.7-1
- Update to 5.7.7

Loading…
Cancel
Save