Accepting request 316081 from home:MargueriteSu:branches:devel:languages:go

OBS-URL: https://build.opensuse.org/request/show/316081
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/golang-packaging?expand=0&rev=3
This commit is contained in:
Marguerite Su 2015-07-12 10:38:31 +00:00 committed by Git OBS Bridge
parent 52f7718e9e
commit 16aa2137a9
4 changed files with 26 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1b37de3970d7153fefe21dd0f79db55cbd4f8279e811b505ee4be6a36b160e38
size 14086

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:255d7a6088ec3459cd26930abbe1aae228470c8b40f6d3979ce02f3acbbc1896
size 14958

View File

@ -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

View File

@ -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