Define %clean before %files

tags/0.17.1_el5
Daniel Berteaud 9 years ago
parent 04ef4ef6ef
commit c99447d417
  1. 6
      wpkg-filelink-dl.spec

@ -38,15 +38,15 @@ mkdir -p %{buildroot}/home/e-smith/files/shares/wpkg/files/softwares/thunderbird
cp -r softwares/* %{buildroot}/home/e-smith/files/shares/wpkg/files/softwares/thunderbird_addons/ cp -r softwares/* %{buildroot}/home/e-smith/files/shares/wpkg/files/softwares/thunderbird_addons/
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/
/usr /usr
%clean
/bin/rm -rf %{buildroot}
%changelog %changelog
* Thu Sep 17 2015 Daniel Berteaud <<daniel@firewall-services.com> 0.17-1 * Thu Sep 17 2015 Daniel Berteaud <<daniel@firewall-services.com> 0.17-1
- Update to 0.17 - Update to 0.17

Loading…
Cancel
Save