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 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/
%clean
/bin/rm -rf %{buildroot}
%changelog
* Tue Mar 24 2015 Daniel Berteaud <daniel@firewall-services.com> - 6.0.2-2
- Fix removal command

Loading…
Cancel
Save