Define %clean before %files

master
Daniel Berteaud 9 years ago
parent 0455af43ce
commit 117f19ece0
  1. 6
      wpkg-sambawin7.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 Jun 7 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1.0 * Thu Jun 7 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1.0
- change version scheme - change version scheme

Loading…
Cancel
Save