From 7e5cdbef9ef20f5b7c979b07f4d0d0ea12d5cf44 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Oct 04 2017 15:59:40 +0000 Subject: Fix install the templates via the RPM Signed-off-by: Pierre-Yves Chibon --- diff --git a/pagure-dist-git.spec b/pagure-dist-git.spec index bf352d6..f1146af 100644 --- a/pagure-dist-git.spec +++ b/pagure-dist-git.spec @@ -23,7 +23,7 @@ BuildRequires: python2-devel Name: pagure-dist-git Version: 0.8 -Release: 1%{?dist} +Release: 2%{?dist} Summary: %{sum} License: GPLv2+ @@ -95,8 +95,7 @@ dist-git which has a different access model than regular projects on pagure # Install the custom template/theme mkdir -p $RPM_BUILD_ROOT/%{_datadir}/pagure_dist_git/template/ -install -p -m 644 template/repo_info.html $RPM_BUILD_ROOT/%{_datadir}/pagure_dist_git/template/ -install -p -m 644 template/index.html $RPM_BUILD_ROOT/%{_datadir}/pagure_dist_git/template/ +install -p -m 644 template/*.html $RPM_BUILD_ROOT/%{_datadir}/pagure_dist_git/template/ # Install the customized static files or our own mkdir -p $RPM_BUILD_ROOT/%{_datadir}/pagure_dist_git/static/ @@ -134,6 +133,9 @@ install -p -m 644 pagure_poc.py $RPM_BUILD_ROOT/%{_libexecdir}/pagure-dist-git/ %changelog +* Wed Oct 04 2017 Pierre-Yves Chibon - 0.8-2 +- Fix installing the different templates in the templates folder + * Wed Oct 04 2017 Pierre-Yves Chibon - 0.8-1 - Update to 0.8 - Bring Atomic CI results into the pagure experience