Define %clean before %files

master
Daniel Berteaud 9 years ago
parent e3a9be246d
commit c585182ec1
  1. 15
      wpkg-logs.spec

@ -1,6 +1,6 @@
%define package logs %define package logs
%define version 0.1.2 %define version 0.2.0
%define release 1 %define release 0.beta2
Name: wpkg-%{package} Name: wpkg-%{package}
Version: %{version} Version: %{version}
@ -30,17 +30,22 @@ unix2dos packages/*
%install %install
/bin/rm -rf %{buildroot} /bin/rm -rf %{buildroot}
mkdir -p %{buildroot}/home/e-smith/files/shares/wpkg/files/packages mkdir -p %{buildroot}/home/e-smith/files/shares/wpkg/files/packages
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 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 Nov 5 2015 Daniel Berteaud <daniel@firewall-services.com> 0.2.0-1
- Push logs through webdav
* Fri Sep 21 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1.2-1 * Fri Sep 21 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1.2-1
- Stop copying FusionInventory logs - Stop copying FusionInventory logs

Loading…
Cancel
Save