Update gitea
This commit is contained in:
parent
7bfa7c6570
commit
68b706a565
2 changed files with 5 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
%global forgeurl https://github.com/go-gitea/gitea
|
||||
Version: 1.13.2
|
||||
Version: 1.13.6
|
||||
|
||||
%forgemeta
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue