diff --git a/.gitignore b/.gitignore index 7bd0511..493f0f2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /recap-1.0.0.tar.gz /recap-1.1.0.tar.gz /recap-1.2.0.tar.gz +/recap-1.3.0.tar.gz diff --git a/recap.spec b/recap.spec index 92505a2..7520dd0 100644 --- a/recap.spec +++ b/recap.spec @@ -1,6 +1,6 @@ Name: recap -Version: 1.2.0 -Release: 2%{?dist} +Version: 1.3.0 +Release: 1%{?dist} Summary: Generates reports of various system information License: GPLv2 URL: https://github.com/rackerlabs/recap @@ -35,6 +35,15 @@ export PREFIX=%{_prefix} export DESTDIR=%{buildroot} make install-base make install-man +make install-cron + + +%posttrans +# https://github.com/rackerlabs/recap/pull/137 +if [ -f /etc/recap.rpmsave ]; then + mv -vf /etc/recap.conf /etc/recap.conf.rpmnew + mv -vf /etc/recap.rpmsave /etc/recap.conf +fi %files @@ -47,7 +56,7 @@ make install-man %{_sbindir}/recaplog %{_sbindir}/recaptool %config(noreplace) %{_sysconfdir}/cron.d/recap -%config(noreplace) %{_sysconfdir}/recap +%config(noreplace) %{_sysconfdir}/recap.conf %{_mandir}/man5/recap.5.gz %{_mandir}/man8/recap.8.gz %{_mandir}/man8/recaplog.8.gz @@ -55,6 +64,10 @@ make install-man %changelog +* Wed Jan 10 2018 Carl George - 1.3.0-1 +- Latest upstream +- Move config file from /etc/recap to /etc/recap.conf + * Wed Nov 08 2017 Carl George - 1.2.0-2 - Drop requirement on bc - Add requirement on links diff --git a/sources b/sources index 9ccb9c2..ded7a19 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (recap-1.2.0.tar.gz) = 418ca44a719960d6f021983ea4cf394a24803dbf694ba86a3894a27593234223e28997f332df30c8ab97edcaa5ada4e10d0b1671719b29436e7d0be0b6bc8efc +SHA512 (recap-1.3.0.tar.gz) = 28d14a25d10180e2d1ef6274446991fcce8deab98b73cabb9c69d03f610791b66347c27747da86c49a0443f8badfd75a1290e47d7c9d51a916523309b67bef21