diff --git a/SPECS/gitea.spec b/SPECS/gitea.spec index b49bb9c..dd3e72f 100644 --- a/SPECS/gitea.spec +++ b/SPECS/gitea.spec @@ -5,7 +5,7 @@ %define gitea_logdir /var/log/gitea/ Name : gitea -Version : 1.14.7 +Version : 1.15.3 Release : 1%{dist} License : MIT URL : http://gitea.io @@ -37,15 +37,6 @@ git checkout tags/v%{version} sed -i 's|^var Version = "1.[0-9].[0-9]-dev"$|var Version = "'%{version}'"|g' main.go GO111MODULE=on go build -v -ldflags "-extldflags -s -w -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n') -buildid "%{version}" -X 'main.Version="%{version}"' -X 'main.MakeVersion="%{release}"'" ### FRONTEND - nodejs -#npm install --no-save -#npx eslint web_src/js webpack.config.js -#npx webpack -#npx lessc web_src/less/index.less public/css/index.css -#npx lessc web_src/less/themes/theme-arc-green.less public/css/theme-arc-green.css -##npx postcss --use autoprefixer --use cssnano --no-map --replace public/css/* -#cp web_src/fomantic/theme.config.less node_modules/fomantic-ui/src/theme.config -#cp -r web_src/fomantic/_site/* node_modules/fomantic-ui/src/_site/ -#npx gulp -f node_modules/fomantic-ui/gulpfile.js build make frontend V=1 ### CONFIG sed -i 's|^STATIC_ROOT_PATH =$|STATIC_ROOT_PATH = /usr/share/gitea/templates/default/|g' custom/conf/app.example.ini