Update gitea

This commit is contained in:
Alex Manning 2021-04-01 13:37:45 +01:00
parent 7bfa7c6570
commit 68b706a565
2 changed files with 5 additions and 5 deletions

View file

@ -1,5 +1,5 @@
%global forgeurl https://github.com/go-gitea/gitea
Version: 1.13.2
Version: 1.13.6
%forgemeta

View file

@ -44,13 +44,13 @@ fi
%forgesetup
%build
npm install
npm install --no-audit --no-fund --omit=dev --ignore-scripts
#webpack --mode production --config webpack/webpack.config.js
%install
mkdir -p %{buildroot}%{nodejs_sitelib}/%{name}
cp -pr * %{buildroot}%{nodejs_sitelib}/%{name}
rm -rf %{buildroot}%{nodejs_sitelib}/%{name}/tmp/randomString
cp -r --no-preserve=mode,ownership * %{buildroot}%{nodejs_sitelib}/%{name}
chmod -R -x %{buildroot}%{nodejs_sitelib}/%{name}
install -D docs/example-template.env %{buildroot}%{_sysconfdir}/nightscout/nightscout-environ