Commit Graph

52 Commits

Author SHA256 Message Date
Flavio Castelli
2df9b3e74a - Fix building of all the Go packages under devel:languages:go. The
%goprep macro contained some unescaped lines, causing go install to
  attempt the installation of the build artifacts outside of the
  buildroot.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=213
2015-04-08 09:01:18 +00:00
Marguerite Su
6381ba7c33 Accepting request 293719 from home:MargueriteSu:branches:devel:languages:go
OBS-URL: https://build.opensuse.org/request/show/293719
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=212
2015-03-30 15:23:46 +00:00
Marguerite Su
1b64742140 Accepting request 292039 from home:MargueriteSu:branches:devel:languages:go
OBS-URL: https://build.opensuse.org/request/show/292039
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=210
2015-03-20 13:27:49 +00:00
cc397ff7d3 Accepting request 252501 from home:cbosdonnat:branches:devel:languages:go
- Revert the /usr/share/go/contrib symlink as it caused problems
  during update. Moved all go sources to /usr/share/go/contrib/src
  instead of /usr/share/go/contrib/src/pkg and created pkg and src
  symlinks in contrib to add it to GOPATH

OBS-URL: https://build.opensuse.org/request/show/252501
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=197
2014-09-26 14:25:10 +00:00
62e4e5beca Accepting request 252295 from home:cbosdonnat:branches:devel:languages:go
- Fixed %go_contribsrcdir value
- Copy temporary macros.go as go.macros to avoid it to be built

OBS-URL: https://build.opensuse.org/request/show/252295
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=196
2014-09-25 14:44:02 +00:00
Marguerite Su
dce2cfd4e4 Accepting request 250058 from home:cbosdonnat:branches:devel:languages:go
- Removed extra src folder in /usr/share/go/contrib: the goal is to
  transform this folder into a proper entry for GOPATH. This folder
  is now linked to %{_libdir}/go/contrib
- go requires gcc to build sources using cgo
- tools-packaging.patch: Allow building cover and vet tools in
  $GOROOT_TARGET/pkg/tool instead of $GOROOT/pkg/tool. This will
  allow building go tools as a separate package

OBS-URL: https://build.opensuse.org/request/show/250058
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=194
2014-09-18 09:18:45 +00:00
Marguerite Su
6753fc0786 Accepting request 249323 from home:MargueriteSu:branches:devel:languages:go
no %{nil}

OBS-URL: https://build.opensuse.org/request/show/249323
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=192
2014-09-15 14:40:42 +00:00
Marguerite Su
6115cfe924 Accepting request 249318 from home:MargueriteSu:branches:devel:languages:go
OBS-URL: https://build.opensuse.org/request/show/249318
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=191
2014-09-15 14:28:16 +00:00
Sascha Peilicke
8f10e27090 - Add %go_tooldir macro and create the tools directory in %goprep
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=181
2013-10-30 16:00:01 +00:00
Sascha Peilicke
93436b84ae - Add %go_tooldir macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=179
2013-10-18 14:20:11 +00:00
Sascha Peilicke
7c1e911637 - Update to version 1.2rc2:
+ New packages: encoding, image/color/palette
  + Performance improvements
  + Three-index slices
  + godoc and vet commands moved to go-go.tools package
    * Removed godoc-path-locations.patch and godoc.service
  + Check golang.org/doc/go1.2 for a full list of changes
- Fix go_ver macro to provide the version number again

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=178
2013-10-18 13:05:09 +00:00
Sascha Peilicke
1ce0e5e7c6 - Rework %go_prep again, use "shopt -s dotglob" to catch hidden files
- Change %go_requires to "Require: go >= %go_ver" instead of
  "Require: go-devel = %go_ver". Go follows a stable release policy which
  means patch-level updates are (supposed to be) compatible.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=175
2013-08-13 14:10:17 +00:00
Sascha Peilicke
e914829c9b Accepting request 186956 from home:saschpe:go
- Update to version 1.1.2:
  + includes fixes to the gc compiler and cgo, and the bufio, runtime, syscall,
    and time packages. See the change history for details. If you use package
    syscall's Getrlimit and Setrlimit functions under Linux on the ARM or 386
    architectures, please note change 55ac276af5a7 that fixes issue 5949. 
- Fix %go_prep again: Also move hidden files (.$BLA)

OBS-URL: https://build.opensuse.org/request/show/186956
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=173
2013-08-13 13:02:19 +00:00
Sascha Peilicke
32b9e4db10 fixup
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=172
2013-08-13 11:17:59 +00:00
Sascha Peilicke
41674b3ec0 - Also set ExclusiveArch in %go_requires macro. Allows to drop
%go_exclusivearch again 
- Fix %go_prep macro: Find directories in %_builddir based on Go
  package name prefix (not exact match).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=171
2013-08-13 10:03:17 +00:00
Sascha Peilicke
837a4e214e - Fix URL
- Add %go_exclusivearch macro. It's better to only specify ExclusiveArch
  in the "go" package instead of all Go packages. Avoids errors once
  Go becomes available on more architectures

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=170
2013-08-13 07:25:05 +00:00
Graham Anderson
42c61f2795 Update to Go 1.1.1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=166
2013-06-13 08:58:59 +00:00
Graham Anderson
40fccbe35b Accepting request 175683 from devel:languages:go:unstable
OBS-URL: https://build.opensuse.org/request/show/175683
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=165
2013-05-15 03:38:25 +00:00
Graham Anderson
a1bc232568 add Go wiki gadget xml
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=150
2012-08-20 08:14:10 +00:00
Graham Anderson
99f760b727 OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=149 2012-08-18 06:08:24 +00:00
Graham Anderson
14afee91d2 OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=148 2012-08-16 17:23:45 +00:00
Graham Anderson
cc00205605 Accepting request 131022 from home:andtecheu
BNC#776058

OBS-URL: https://build.opensuse.org/request/show/131022
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=147
2012-08-16 11:34:24 +00:00
Graham Anderson
64d0f491cc remove -x from go fix macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=145
2012-07-17 00:07:47 +00:00
Sascha Peilicke
24e7e3944d Accepting request 127640 from openSUSE:Factory:ARM
- fix some qemu-arm compilation errors by passing -x to go always

- enable verbose build (fixes compilation for ARM? O_o)

- fix build for ARM

OBS-URL: https://build.opensuse.org/request/show/127640
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=143
2012-07-11 12:36:49 +00:00
Graham Anderson
88a1921e79 replace correct goarch statement
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=135
2012-05-10 04:13:33 +00:00
Graham Anderson
9187e05af9 fix GOPATH in build macros
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=134
2012-05-10 03:45:06 +00:00
Graham Anderson
5331186feb update to 1.0.1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=133
2012-05-09 15:04:39 +00:00
Graham Anderson
3a25ef43f3 add godoc macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=132
2012-04-02 18:30:40 +00:00
Sascha Peilicke
8c697d6fd4 - Fixed some typos
- Removed checks for outdated SUSE versions

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=130
2012-04-02 09:37:35 +00:00
Graham Anderson
f4aae51333 update %gobuild macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=125
2012-03-30 15:22:52 +00:00
Graham Anderson
109807654e Accepting request 108745 from home:andtecheu:go
OBS-URL: https://build.opensuse.org/request/show/108745
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=118
2012-03-10 18:49:47 +00:00
Graham Anderson
44fd090477 Accepting request 108350 from home:andtecheu:go:weekly
OBS-URL: https://build.opensuse.org/request/show/108350
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=116
2012-03-07 12:05:43 +00:00
Graham Anderson
af9180be82 patch updates, godoc systemd service
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=115
2012-03-06 04:25:38 +00:00
Graham Anderson
27b05366f4 update to weekly.2012-03-04
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=114
2012-03-05 17:07:14 +00:00
Graham Anderson
fe40b5ed34 Accepting request 102665 from home:andtecheu:go
OBS-URL: https://build.opensuse.org/request/show/102665
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=109
2012-02-04 10:55:47 +00:00
Graham Anderson
ecbc0cde2d Accepting request 101907 from home:andtecheu:go
OBS-URL: https://build.opensuse.org/request/show/101907
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=108
2012-01-28 16:28:41 +00:00
Graham Anderson
01bb07e769 Accepting request 101431 from home:andtecheu:go
update to weekly.2012-01-15

OBS-URL: https://build.opensuse.org/request/show/101431
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=106
2012-01-25 03:57:43 +00:00
Sascha Peilicke
cdcc1ad412 - Improve macros %go_make, %go_make_test and %go_make_install:
* Set TARGDIR and GOBIN all macros (bnc#735320)
  * Make sure %{buildroot}%{_bindir} exists in any case
- The above should simplify spec files for Go packages that use, .e.g.,
  'make tools' to install additional stuff (like binaries)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=101
2011-12-13 14:23:16 +00:00
Sascha Peilicke
ca0c8580cd OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=78 2011-06-30 09:18:52 +00:00
Sascha Peilicke
e87a20cca6 OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=77 2011-06-30 09:17:40 +00:00
Sascha Peilicke
a16b03c247 - %go_requires can't depend on %requires_ge, it isn't available on
Fedora and RHEL.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=72
2011-06-16 06:46:51 +00:00
Sascha Peilicke
c9b5681d21 - Really set CFLAGS through HOST_EXTRA_CFLAGS environment variable
for building Go itself and for Go macros (used by Go packages)
- Added go-fix-werrors.patch to fix fatal compiler warnings, not
  used yet as -Wno-error is passed currently
- Adhere to SUSE patch comment conventions
- Changed %go_requires macro from '%requires_eq go' to 
  '%requires_ge go'

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=71
2011-06-15 20:25:33 +00:00
Sascha Peilicke
55f3b2acf4 - Added macro %go_disable_brp_strip_static_archive to disable the
strip check, it breaks on Fedora-based distros and generates
  a warning for SUSE-based ones. It can be removed if go binaries
  become really stripable

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=68
2011-06-08 15:13:05 +00:00
Sascha Peilicke
1c3186a515 - Generate %go_ver macro from Go package version
- Use %requires_eq for %go_requires

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=65
2011-05-23 10:33:44 +00:00
Sascha Peilicke
2b5bcf4049 - Switch %go_make* macros from make to gomake
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=64
2011-05-21 14:04:57 +00:00
Sascha Peilicke
78bf6fe05e OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=62 2011-05-21 12:19:45 +00:00
Sascha Peilicke
f14ee89b50 OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=53 2011-05-20 10:39:32 +00:00
Sascha Peilicke
b338f4ae7b - Fix %go_make_install macro, wrong TARGDIR
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=51
2011-05-20 09:33:34 +00:00
Sascha Peilicke
fcd1b21569 - Update to 20/05/2011 mercurial version
- Macro %go_arch in macros.go now properly set to correct value

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=50
2011-05-20 09:29:51 +00:00
Sascha Peilicke
134ccf58ba OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/go?expand=0&rev=48 2011-05-19 20:36:34 +00:00