Define %clean before %files

tags/wpkg-packages-0.0.25-1 0.0.23_el5
Daniel Berteaud 9 years ago
parent 0c07e0daa6
commit 96608bba43
  1. 6
      wpkg-packages.spec

@ -88,15 +88,15 @@ mkdir -p %{buildroot}/home/e-smith/files/shares/wpkg/files/settings/wpkg
cp -r softwares/* %{buildroot}/home/e-smith/files/shares/wpkg/files/softwares/wpkg/ cp -r softwares/* %{buildroot}/home/e-smith/files/shares/wpkg/files/softwares/wpkg/
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 Mar 24 2015 Daniel Berteaud <daniel@firewall-services.com> 0.0.22-1 * Tue Mar 24 2015 Daniel Berteaud <daniel@firewall-services.com> 0.0.22-1
- Requires wpkg-xmind - Requires wpkg-xmind

Loading…
Cancel
Save