Define %clean before %files

master
Daniel Berteaud 9 years ago
parent 0d1a182368
commit 92ffefff06
  1. 6
      wpkg-settings.spec

@ -33,14 +33,14 @@ mkdir -p %{buildroot}/home/e-smith/files/shares/wpkg/files/packages
mkdir -p %{buildroot}/home/e-smith/files/shares/wpkg/files/softwares/ mkdir -p %{buildroot}/home/e-smith/files/shares/wpkg/files/softwares/
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 Mar 2 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.8-1 * Wed Mar 2 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.8-1
- Disable .js file execution - Disable .js file execution

Loading…
Cancel
Save