Browse Source

staletea package update in add missing files

Signed-off-by: webbuilder_pel7ppc64lebuilder0 <webbuilder@powerel.org>
master
webbuilder_pel7ppc64lebuilder0 3 years ago
parent
commit
8144208c9b
  1. 2
      SOURCES/staletea.service
  2. 3
      SPECS/staletea.spec

2
SOURCES/staletea.service

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
[Unit]
Description=LGTM
Description=StaleTea
After=syslog.target
After=network.target
After=gitea.service

3
SPECS/staletea.spec

@ -40,6 +40,7 @@ go build -v -ldflags "-extldflags -s -w -B 0x$(head -c20 /dev/urandom|od -An -tx @@ -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 @@ -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

Loading…
Cancel
Save