Define %clean before %files

master
Daniel Berteaud 8 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 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/
/etc/
%clean
/bin/rm -rf %{buildroot}
%changelog
* Tue Feb 19 2013 Daniel Berteaud <daniel@firewall-services.com> 0.1-1
- Initial release

Loading…
Cancel
Save