From b0211dff49049b672319ec10fb795d41b66331e2 Mon Sep 17 00:00:00 2001 From: Luc de Louw Date: Sun, 12 Aug 2018 18:38:26 +0200 Subject: [PATCH] Small change for RHEL6 which does not know about the %license macro --- contrib/restic.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/contrib/restic.spec b/contrib/restic.spec index 539713b6b..ce809f194 100644 --- a/contrib/restic.spec +++ b/contrib/restic.spec @@ -1,6 +1,6 @@ Name: restic Version: 0.9.2git.20180812 -Release: 3%{?dist} +Release: 4%{?dist} Summary: restic is a backup program that is fast, efficient and secure. %global debug_package %{nil} @@ -49,7 +49,7 @@ install -p -m 644 doc/bash-completion.sh %{buildroot}%{_datarootdir}/bash-comple install -p -m 755 %{name} %{buildroot}%{_bindir} %files -%license LICENSE +%doc LICENSE %doc README.rst %{_bindir}/%{name} %dir %{_datadir}/zsh/site-functions @@ -61,6 +61,8 @@ install -p -m 755 %{name} %{buildroot}%{_bindir} %changelog +* Sun Aug 12 2018 Luc De Louw - 0.9.2git.20180812-4 +- %license does not work with RHEL6, using %doc instead * Sun Aug 12 2018 Luc De Louw - 0.9.2git.20180812-3 - Better description * Sun Aug 12 2018 Luc De Louw - 0.9.2git.20180812-2