Define %clean before %files

tags/wpkg-zabbix_agent-3.4.3-0.beta1
Daniel Berteaud 9 years ago
parent 69d0390e49
commit 784e3873b5
  1. 6
      wpkg-zabbix_agent.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
* Fri Mar 25 2016 Daniel Berteaud <daniel@firewall-services.com> - 3.0.1-3 * Fri Mar 25 2016 Daniel Berteaud <daniel@firewall-services.com> - 3.0.1-3
- Stop the service before upgrades/downgrades/removals - Stop the service before upgrades/downgrades/removals

Loading…
Cancel
Save