Define %clean before %files

tags/2.8.5_el5
Daniel Berteaud 9 years ago
parent a737c228ce
commit 154e765ae7
  1. 6
      wpkg-tightvnc.spec

@ -38,15 +38,15 @@ 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/
/etc/ /etc/
%clean
/bin/rm -rf %{buildroot}
%changelog %changelog
* Mon Jul 29 2013 Daniel Berteaud <daniel@firewall-services.com> - 2.7.10-1 * Mon Jul 29 2013 Daniel Berteaud <daniel@firewall-services.com> - 2.7.10-1
- update to 2.7.10 - update to 2.7.10

Loading…
Cancel
Save