Define %clean before %files

tags/wpkg-freemind-1.0.1-2
Daniel Berteaud 9 years ago
parent eff6d238fa
commit 90cf227a6a
  1. 6
      wpkg-freemind.spec

@ -35,14 +35,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 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/
%clean
/bin/rm -rf %{buildroot}
%changelog %changelog
* Wed Sep 3 2014 Daniel Berteaud <daniel@firewall-services.com> - 1.0.1-1 * Wed Sep 3 2014 Daniel Berteaud <daniel@firewall-services.com> - 1.0.1-1
- Update to 1.0.1 - Update to 1.0.1

Loading…
Cancel
Save