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
|
%global forgeurl https://github.com/go-gitea/gitea
|
||||||
Version: 1.13.2
|
Version: 1.13.6
|
||||||
|
|
||||||
%forgemeta
|
%forgemeta
|
||||||
|
|
||||||
|
|
|
@ -44,13 +44,13 @@ fi
|
||||||
%forgesetup
|
%forgesetup
|
||||||
|
|
||||||
%build
|
%build
|
||||||
npm install
|
npm install --no-audit --no-fund --omit=dev --ignore-scripts
|
||||||
|
#webpack --mode production --config webpack/webpack.config.js
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{nodejs_sitelib}/%{name}
|
mkdir -p %{buildroot}%{nodejs_sitelib}/%{name}
|
||||||
cp -pr * %{buildroot}%{nodejs_sitelib}/%{name}
|
cp -r --no-preserve=mode,ownership * %{buildroot}%{nodejs_sitelib}/%{name}
|
||||||
|
chmod -R -x %{buildroot}%{nodejs_sitelib}/%{name}
|
||||||
rm -rf %{buildroot}%{nodejs_sitelib}/%{name}/tmp/randomString
|
|
||||||
|
|
||||||
install -D docs/example-template.env %{buildroot}%{_sysconfdir}/nightscout/nightscout-environ
|
install -D docs/example-template.env %{buildroot}%{_sysconfdir}/nightscout/nightscout-environ
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue