diff --git a/golang-packaging-2.tar.gz b/golang-packaging-2.tar.gz deleted file mode 100644 index afbf984..0000000 --- a/golang-packaging-2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1b37de3970d7153fefe21dd0f79db55cbd4f8279e811b505ee4be6a36b160e38 -size 14086 diff --git a/golang-packaging-4.tar.gz b/golang-packaging-4.tar.gz new file mode 100644 index 0000000..499442e --- /dev/null +++ b/golang-packaging-4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:255d7a6088ec3459cd26930abbe1aae228470c8b40f6d3979ce02f3acbbc1896 +size 14958 diff --git a/golang-packaging.changes b/golang-packaging.changes index ec628e2..0ac848a 100644 --- a/golang-packaging.changes +++ b/golang-packaging.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Sun Jul 12 10:32:17 UTC 2015 - i@marguerite.su + +- update version 4 + * fix encoding error in golang-strip-builddep + * add macros.go-extra, extra golang macros for packaging + +------------------------------------------------------------------- +Sat Jul 11 08:48:50 UTC 2015 - i@marguerite.su + +- update version 3 + * skip *example*.go/*test*.go for Requires finding + * support alias format (import xx "xxx") for importpath + * add golang-strip-builddep, a tool to strip unneeded importpath + from source codes + ------------------------------------------------------------------- Fri Jul 10 16:43:10 UTC 2015 - i@marguerite.su diff --git a/golang-packaging.spec b/golang-packaging.spec index cdcc8ae..1133e74 100644 --- a/golang-packaging.spec +++ b/golang-packaging.spec @@ -17,7 +17,7 @@ Name: golang-packaging -Version: 2 +Version: 4 Release: 0 Summary: A toolchain to help packaging golang License: GPL-3.0 @@ -38,16 +38,21 @@ A toolchain to help packaging golang, written in ruby. %build %install +mkdir -p %{buildroot}%{_sysconfdir}/rpm/ mkdir -p %{buildroot}%{_rpmconfigdir}/fileattrs install -m0644 golang.attr %{buildroot}%{_rpmconfigdir}/fileattrs/ install -m0755 golang.prov %{buildroot}%{_rpmconfigdir}/ install -m0755 golang.req %{buildroot}%{_rpmconfigdir}/ +install -m0755 golang-strip-builddep %{buildroot}%{_rpmconfigdir}/ +install -m0644 macros.go-extra %{buildroot}%{_sysconfdir}/rpm/ %files %defattr(-,root,root) -%doc COPYING README.md TODO +%doc COPYING README.md TODO ChangeLog +%config %{_sysconfdir}/rpm/macros.go-extra %{_rpmconfigdir}/fileattrs/golang.attr %{_rpmconfigdir}/golang.prov %{_rpmconfigdir}/golang.req +%{_rpmconfigdir}/golang-strip-builddep %changelog