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 version 0.1.2
%define release 1
%define version 0.2.0
%define release 0.beta2
Name: wpkg-%{package}
Version: %{version}
@ -30,17 +30,22 @@ unix2dos packages/*
%install
/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/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/
%clean
/bin/rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc CHANGELOG.git
/home/e-smith/files/shares/wpkg/files/
%clean
/bin/rm -rf %{buildroot}
%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
- Stop copying FusionInventory logs

Loading…
Cancel
Save