diff --git a/golang-github-smartystreets-assertions.spec b/golang-github-smartystreets-assertions.spec index b58c565..1146dfe 100644 --- a/golang-github-smartystreets-assertions.spec +++ b/golang-github-smartystreets-assertions.spec @@ -39,7 +39,7 @@ Name: golang-%{provider}-%{project}-%{repo} Version: 0 -Release: 0.3.git%{shortcommit}%{?dist} +Release: 0.4.git%{shortcommit}%{?dist} Summary: Fluent assertion-style functions License: MIT URL: https://%{provider_prefix} @@ -128,7 +128,7 @@ providing packages with %{import_path} prefix. %if 0%{?with_devel} install -d -p %{buildroot}/%{gopath}/src/%{import_path}/ # find all *.go but no *_test.go files and generate devel.file-list -for file in $(find . -not -path "./internal/*" -iname "*.go" \! -iname "*_test.go") ; do +for file in $(find . -iname "*.go" \! -iname "*_test.go") ; do install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file) cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file echo "%%{gopath}/src/%%{import_path}/$file" >> devel.file-list @@ -140,7 +140,7 @@ rm -rf internal/*/.gitignore %if 0%{?with_unit_test} install -d -p %{buildroot}/%{gopath}/src/%{import_path}/ # find all *_test.go files and generate unit-test.file-list -for file in $(find . -not -path "./internal/*" -iname "*_test.go"); do +for file in $(find . -iname "*_test.go"); do install -d -p %{buildroot}/%{gopath}/src/%{import_path}/$(dirname $file) cp -pav $file %{buildroot}/%{gopath}/src/%{import_path}/$file echo "%%{gopath}/src/%%{import_path}/$file" >> unit-test.file-list @@ -179,6 +179,11 @@ gotest %{import_path}/internal/oglematchers %endif %changelog +* Thu Aug 20 2015 jchaloup - 0-0.4.git4727d76 +- internal packages are not provided but are needed for building + related: #1250509 + resolves: #1255155 + * Mon Aug 17 2015 jchaloup - 0-0.3.git4727d76 - internal packages can not be provided since go-1.5 related: #1250509