Define %clean before %files

master
Daniel Berteaud 9 years ago
parent 261f2631e6
commit a728b71f13
  1. 6
      wpkg-ultradefrag.spec

@ -34,14 +34,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
* Tue Mar 24 2015 Daniel Berteaud <daniel@firewall-services.com> - 6.0.2-2 * Tue Mar 24 2015 Daniel Berteaud <daniel@firewall-services.com> - 6.0.2-2
- Fix removal command - Fix removal command

Loading…
Cancel
Save