Define %clean before %files

tags/wpkg-7zip-18.01-0.beta1
Daniel Berteaud 9 years ago
parent 6fdd102bd1
commit 2d1e080301
  1. 6
      wpkg-7zip.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 Jan 13 2016 Daniel Berteaud <daniel@firewall-services.com> - 15.14-1 * Wed Jan 13 2016 Daniel Berteaud <daniel@firewall-services.com> - 15.14-1
- Update to 15.14 - Update to 15.14

Loading…
Cancel
Save