Define %clean before %files

master
Daniel Berteaud 9 years ago
parent bfe2040695
commit 102734896a
  1. 6
      wpkg-userprofile.spec

@ -38,15 +38,15 @@ mkdir -p %{buildroot}/home/e-smith/files/shares/wpkg/files/softwares/userprofile
#cp -r softwares/* %{buildroot}/home/e-smith/files/shares/wpkg/files/softwares/firefox/ #cp -r softwares/* %{buildroot}/home/e-smith/files/shares/wpkg/files/softwares/firefox/
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
* Tue Feb 19 2013 Daniel Berteaud <daniel@firewall-services.com> 0.1-1 * Tue Feb 19 2013 Daniel Berteaud <daniel@firewall-services.com> 0.1-1
- Initial release - Initial release

Loading…
Cancel
Save