From f24c2854ec020145519f8ea776c51120d62595fa Mon Sep 17 00:00:00 2001 From: Jan Chaloupka Date: Aug 26 2016 12:01:12 +0000 Subject: Include missing templates and static directories - resolves: #1370456 --- diff --git a/golang-googlecode-tools.spec b/golang-googlecode-tools.spec index 11f4d30..3a58a62 100644 --- a/golang-googlecode-tools.spec +++ b/golang-googlecode-tools.spec @@ -11,11 +11,11 @@ %global with_unit_test 0 %endif %else -%global with_devel 0 +%global with_devel 1 %global with_bundled 0 %global with_debug 0 %global with_check 0 -%global with_unit_test 0 +%global with_unit_test 1 %endif %global debug_package %{nil} @@ -37,7 +37,7 @@ Name: golang-googlecode-tools Version: 0 -Release: 12.1.git%{shortcommit}%{?dist} +Release: 13.1.git%{shortcommit}%{?dist} Summary: Supplementary tools and packages for Go License: BSD URL: https://%{provider_prefix} @@ -395,6 +395,16 @@ for ext in go s; do done done +cp -r cmd/present/static %{buildroot}/%{gopath}/src/%{import_path}/cmd/present/. +echo "%%{gopath}/src/%%{import_path}/cmd/present/static" >> x_devel.file-list +cp -r cmd/present/templates %{buildroot}/%{gopath}/src/%{import_path}/cmd/present/. +echo "%%{gopath}/src/%%{import_path}/cmd/present/templates" >> x_devel.file-list + +cp -r cmd/present/static %{buildroot}/%{gopath}/src/%{gc_import_path}/cmd/present/. +echo "%%{gopath}/src/%%{gc_import_path}/cmd/present/static" >> gc_devel.file-list +cp -r cmd/present/templates %{buildroot}/%{gopath}/src/%{gc_import_path}/cmd/present/. +echo "%%{gopath}/src/%%{gc_import_path}/cmd/present/templates" >> gc_devel.file-list + pushd %{buildroot}/%{gopath}/src/%{gc_import_path}/ sed -i 's/"golang\.org\/x\//"code\.google\.com\/p\/go\./g' \ $(find . -name '*.go') @@ -555,6 +565,10 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}:/usr/inc %endif %changelog +* Fri Aug 26 2016 jchaloup - 0-13.1.git1cdaff4 +- Include missing templates and static directories + resolves: #1370456 + * Fri Aug 05 2016 jchaloup - 0-12.1.git1cdaff4 - Do not ship vet and cover binaries anymore, they are shipped via golang-bin resolves: #1268206