|
|
|
@ -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 |
|
|
|
|