Define %clean before %files

tags/wpkg-ghostscript-9.22-1
Daniel Berteaud 9 years ago
parent dcc3fcd3f8
commit 07ec3e1f64
  1. 6
      wpkg-ghostscript.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
* Thu Mar 24 2016 Daniel Berteaud <daniel@firewall-services.com> 9.19-1 * Thu Mar 24 2016 Daniel Berteaud <daniel@firewall-services.com> 9.19-1
- Update to 9.19 - Update to 9.19

Loading…
Cancel
Save