From 8144208c9b930a266d89fa16d78b7735590a77ad Mon Sep 17 00:00:00 2001 From: webbuilder_pel7ppc64lebuilder0 Date: Fri, 3 Dec 2021 11:53:27 +0100 Subject: [PATCH] staletea package update in add missing files Signed-off-by: webbuilder_pel7ppc64lebuilder0 --- SOURCES/staletea.service | 2 +- SPECS/staletea.spec | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/SOURCES/staletea.service b/SOURCES/staletea.service index f7a5d13..1d3ec4f 100644 --- a/SOURCES/staletea.service +++ b/SOURCES/staletea.service @@ -1,5 +1,5 @@ [Unit] -Description=LGTM +Description=StaleTea After=syslog.target After=network.target After=gitea.service diff --git a/SPECS/staletea.spec b/SPECS/staletea.spec index 032709a..6835b78 100644 --- a/SPECS/staletea.spec +++ b/SPECS/staletea.spec @@ -40,6 +40,7 @@ go build -v -ldflags "-extldflags -s -w -B 0x$(head -c20 /dev/urandom|od -An -tx install -p -D -m 0644 %{SOURCE0} %{buildroot}%{_unitdir}/%{name}.service install -p -D -m 0644 %{SOURCE1} %{buildroot}/%{_home}/env install -p -D -m 0555 go/src/gitea.com/jonasfranz/staletea/staletea %{buildroot}%{_home}/%{name} +install -p -D -m 0644 go/src/gitea.com/jonasfranz/staletea/templates/dashboard.tmpl %{buildroot}%{_home}/templates/dashboard.tmpl %pre @@ -65,7 +66,9 @@ exit 0 %files %config(noreplace) %{_home}/env %{_home}/%{name} +%{_home}/templates/dashboard.tmpl %{_unitdir}/%{name}.service +%attr(700,%{_user},%{_group}) %dir %{_home} %changelog