[9887] | 1 | # Define arches for PA and SA |
---|
| 2 | %global golang_arches %{ix86} x86_64 |
---|
| 3 | %global go_arches %{golang_arches} |
---|
| 4 | |
---|
| 5 | # Where to set GOPATH for builds |
---|
| 6 | %global gopath %{_datadir}/gocode |
---|
| 7 | |
---|
[8227] | 8 | # build ids are not currently generated: |
---|
| 9 | # https://code.google.com/p/go/issues/detail?id=5238 |
---|
| 10 | # |
---|
| 11 | # also, debuginfo extraction currently fails with |
---|
| 12 | # "Failed to write file: invalid section alignment" |
---|
| 13 | %global debug_package %{nil} |
---|
| 14 | |
---|
| 15 | # we are shipping the full contents of src in the data subpackage, which |
---|
| 16 | # contains binary-like things (ELF data for tests, etc) |
---|
| 17 | %global _binaries_in_noarch_packages_terminate_build 0 |
---|
| 18 | |
---|
| 19 | # Do not check any files in doc or src for requires |
---|
[9887] | 20 | #global __requires_exclude_from ^(%{_datadir}|/usr/lib)/%{name}/(doc|src)/.*$ |
---|
[8227] | 21 | |
---|
| 22 | # Don't alter timestamps of especially the .a files (or else go will rebuild later) |
---|
| 23 | # Actually, don't strip at all since we are not even building debug packages and this corrupts the dwarf testdata |
---|
| 24 | %global __strip /bin/true |
---|
| 25 | |
---|
| 26 | # rpmbuild magic to keep from having meta dependency on libc.so.6 |
---|
[9887] | 27 | %global __requires_exclude_from ^.*$ |
---|
| 28 | %global __spec_install_post /usr/lib/rpm/check-rpaths \ |
---|
| 29 | /usr/lib/rpm/check-buildroot \ |
---|
[8227] | 30 | /usr/lib/rpm/brp-compress |
---|
| 31 | |
---|
[9887] | 32 | # Golang build options. |
---|
| 33 | |
---|
| 34 | # Buid golang using external/internal(close to cgo disabled) linking. |
---|
| 35 | %global external_linker 1 |
---|
| 36 | |
---|
| 37 | # Build golang with cgo enabled/disabled(later equals more or less to internal linking). |
---|
| 38 | %global cgo_enabled 1 |
---|
| 39 | |
---|
| 40 | # Use golang/gcc-go as bootstrap compiler |
---|
| 41 | %global golang_bootstrap 1 |
---|
| 42 | |
---|
| 43 | # boostrap(with internal linking) using gcc-go fails due to bug in tests(https://github.com/golang/go/issues/12629) |
---|
| 44 | # make check not to fail due to it |
---|
| 45 | |
---|
| 46 | # Controls what ever we fails on failed tests |
---|
| 47 | %global fail_on_tests 1 |
---|
| 48 | |
---|
| 49 | # TODO get more support for shared objects |
---|
| 50 | # Build golang shared objects for stdlib |
---|
| 51 | %ifarch x86_64 |
---|
| 52 | %global shared 1 |
---|
| 53 | %else |
---|
| 54 | %global shared 0 |
---|
| 55 | %endif |
---|
| 56 | |
---|
| 57 | # Fedora GOROOT |
---|
| 58 | %global goroot /usr/lib/%{name} |
---|
| 59 | |
---|
| 60 | %ifarch x86_64 |
---|
| 61 | %global gohostarch amd64 |
---|
| 62 | %endif |
---|
| 63 | %ifarch %{ix86} |
---|
| 64 | %global gohostarch 386 |
---|
| 65 | %endif |
---|
| 66 | |
---|
| 67 | %global go_api 1.5 |
---|
| 68 | %global go_version 1.5.2 |
---|
| 69 | |
---|
[8227] | 70 | Name: golang |
---|
[9887] | 71 | Version: %{go_version} |
---|
| 72 | Release: 1%{?_dist_release} |
---|
[8227] | 73 | Summary: The Go Programming Language |
---|
[9157] | 74 | Summary(ja): プログラミング言語 Go |
---|
[9887] | 75 | # source tree includes several copies of Mark.Twain-Tom.Sawyer.txt under Public Domain |
---|
| 76 | License: BSD and Public Domain |
---|
[9157] | 77 | Group: Development/Languages |
---|
[8227] | 78 | URL: http://golang.org/ |
---|
[9157] | 79 | |
---|
[9887] | 80 | # pre-processed by source.sh to make Mark.Twain-Tom.Sawyer.txt free again |
---|
| 81 | Source0: https://storage.googleapis.com/golang/go%{go_version}.src.tar.gz |
---|
[8227] | 82 | |
---|
[9887] | 83 | # original removed by source.sh, replace by version from golang master branch with license scrubbed |
---|
| 84 | Source1: Mark.Twain-Tom.Sawyer.txt.bz2 |
---|
| 85 | |
---|
| 86 | # The compiler is written in Go. Needs go(1.4+) compiler for build. |
---|
| 87 | BuildRequires: golang > 1.4 |
---|
| 88 | BuildRequires: net-tools |
---|
| 89 | |
---|
| 90 | # for tests |
---|
| 91 | BuildRequires: pcre-devel, glibc-static |
---|
| 92 | |
---|
| 93 | Provides: go = %{version}-%{release} |
---|
| 94 | Requires: %{name}-bin |
---|
| 95 | Requires: %{name}-src = %{version}-%{release} |
---|
| 96 | |
---|
[9157] | 97 | Patch0: golang-1.2-verbose-build.patch |
---|
[9887] | 98 | |
---|
[9157] | 99 | # https://bugzilla.redhat.com/show_bug.cgi?id=1038683 |
---|
[9887] | 100 | Patch1: golang-1.2-remove-ECC-p224.patch |
---|
| 101 | # Accept x509 certs with negative serial |
---|
| 102 | # https://bugzilla.redhat.com/show_bug.cgi?id=1290543 |
---|
| 103 | # https://github.com/golang/go/issues/8265 |
---|
| 104 | Patch2: bz1290543.patch |
---|
[9157] | 105 | |
---|
[9887] | 106 | # use the arch dependent path in the bootstrap |
---|
| 107 | Patch212: golang-1.5-bootstrap-binary-path.patch |
---|
[8227] | 108 | |
---|
[9887] | 109 | # disable TestGdbPython |
---|
| 110 | # https://github.com/golang/go/issues/11214 |
---|
| 111 | Patch213: go1.5beta1-disable-TestGdbPython.patch |
---|
[8227] | 112 | |
---|
[9887] | 113 | # disable TestCloneNEWUSERAndRemapNoRootDisableSetgroups |
---|
| 114 | # this is not possible in the limitied build chroot |
---|
| 115 | Patch214: go1.5beta2-disable-TestCloneNEWUSERAndRemapNoRootDisableSetgroups.patch |
---|
[8227] | 116 | |
---|
[9887] | 117 | # we had been just removing the zoneinfo.zip, but that caused tests to fail for users that |
---|
| 118 | # later run `go test -a std`. This makes it only use the zoneinfo.zip where needed in tests. |
---|
| 119 | Patch215: ./go1.5-zoneinfo_testing_only.patch |
---|
| 120 | |
---|
| 121 | # https://bugzilla.redhat.com/show_bug.cgi?id=1271709 |
---|
| 122 | Patch216: ./golang-1.5.1-a3156aaa12.patch |
---|
| 123 | |
---|
| 124 | # These are the only RHEL/Fedora architectures that we compile this package for |
---|
| 125 | ExclusiveArch: %{golang_arches} |
---|
| 126 | |
---|
| 127 | Source100: golang-gdbinit |
---|
| 128 | Source101: golang-prelink.conf |
---|
| 129 | Source102: macros.golang |
---|
| 130 | |
---|
[8227] | 131 | %description |
---|
| 132 | %{summary}. |
---|
| 133 | |
---|
[9887] | 134 | %package docs |
---|
| 135 | Summary: Golang compiler docs |
---|
| 136 | Requires: %{name} = %{version}-%{release} |
---|
| 137 | BuildArch: noarch |
---|
| 138 | Obsoletes: %{name}-docs < 1.1-4 |
---|
[8227] | 139 | |
---|
[9887] | 140 | %description docs |
---|
| 141 | %{summary}. |
---|
| 142 | |
---|
| 143 | %package misc |
---|
| 144 | Summary: Golang compiler miscellaneous sources |
---|
| 145 | Requires: %{name} = %{version}-%{release} |
---|
| 146 | BuildArch: noarch |
---|
| 147 | |
---|
| 148 | %description misc |
---|
| 149 | %{summary}. |
---|
| 150 | |
---|
| 151 | %package tests |
---|
| 152 | Summary: Golang compiler tests for stdlib |
---|
| 153 | Requires: %{name} = %{version}-%{release} |
---|
| 154 | BuildArch: noarch |
---|
| 155 | |
---|
| 156 | %description tests |
---|
| 157 | %{summary}. |
---|
| 158 | |
---|
| 159 | %package src |
---|
| 160 | Summary: Golang compiler source tree |
---|
| 161 | BuildArch: noarch |
---|
| 162 | %description src |
---|
| 163 | %{summary} |
---|
| 164 | |
---|
| 165 | %package bin |
---|
| 166 | Summary: Golang core compiler tools |
---|
| 167 | Requires: go = %{version}-%{release} |
---|
| 168 | Requires(post): %{_sbindir}/update-alternatives |
---|
| 169 | Requires(postun): %{_sbindir}/update-alternatives |
---|
| 170 | |
---|
| 171 | # We strip the meta dependency, but go does require glibc. |
---|
| 172 | # This is an odd issue, still looking for a better fix. |
---|
| 173 | Requires: glibc |
---|
| 174 | Requires: gcc |
---|
| 175 | %description bin |
---|
| 176 | %{summary} |
---|
| 177 | |
---|
[8227] | 178 | # Workaround old RPM bug of symlink-replaced-with-dir failure |
---|
| 179 | %pretrans -p <lua> |
---|
| 180 | for _,d in pairs({"api", "doc", "include", "lib", "src"}) do |
---|
[9887] | 181 | path = "%{goroot}/" .. d |
---|
[8227] | 182 | if posix.stat(path, "type") == "link" then |
---|
| 183 | os.remove(path) |
---|
| 184 | posix.mkdir(path) |
---|
| 185 | end |
---|
| 186 | end |
---|
| 187 | |
---|
[9887] | 188 | %if %{shared} |
---|
| 189 | %package shared |
---|
| 190 | Summary: Golang shared object libraries |
---|
[8227] | 191 | |
---|
[9887] | 192 | %description shared |
---|
| 193 | %{summary}. |
---|
| 194 | %endif |
---|
| 195 | |
---|
[8227] | 196 | %prep |
---|
| 197 | %setup -q -n go |
---|
| 198 | |
---|
| 199 | # increase verbosity of build |
---|
| 200 | %patch0 -p1 |
---|
| 201 | |
---|
| 202 | # remove the P224 curve |
---|
[9887] | 203 | %patch1 -p1 |
---|
| 204 | |
---|
[8227] | 205 | %patch2 -p1 |
---|
| 206 | |
---|
[9887] | 207 | # use the arch dependent path in the bootstrap |
---|
| 208 | %patch212 -p1 |
---|
[8227] | 209 | |
---|
[9887] | 210 | # disable TestGdbPython |
---|
| 211 | %patch213 -p1 |
---|
[8227] | 212 | |
---|
[9887] | 213 | # disable TestCloneNEWUSERAndRemapNoRootDisableSetgroups |
---|
| 214 | %patch214 -p1 |
---|
| 215 | |
---|
| 216 | %patch216 -p1 |
---|
| 217 | |
---|
| 218 | cp %{SOURCE1} "$(pwd)/src/compress/bzip2/testdata/Mark.Twain-Tom.Sawyer.txt.bz2" |
---|
| 219 | |
---|
[8227] | 220 | %build |
---|
[9887] | 221 | # bootstrap compiler GOROOT |
---|
| 222 | %if !%{golang_bootstrap} |
---|
| 223 | export GOROOT_BOOTSTRAP=/ |
---|
| 224 | %else |
---|
| 225 | export GOROOT_BOOTSTRAP=%{goroot} |
---|
| 226 | %endif |
---|
| 227 | |
---|
[8227] | 228 | # set up final install location |
---|
[9887] | 229 | export GOROOT_FINAL=%{goroot} |
---|
[8227] | 230 | |
---|
[9887] | 231 | export GOHOSTOS=linux |
---|
| 232 | export GOHOSTARCH=%{gohostarch} |
---|
[8227] | 233 | |
---|
[9887] | 234 | pushd src |
---|
| 235 | # use our gcc options for this build, but store gcc as default for compiler |
---|
| 236 | export CFLAGS="$RPM_OPT_FLAGS" |
---|
| 237 | export LDFLAGS="$RPM_LD_FLAGS" |
---|
| 238 | export CC="gcc" |
---|
| 239 | export CC_FOR_TARGET="gcc" |
---|
| 240 | export GOOS=linux |
---|
| 241 | export GOARCH=%{gohostarch} |
---|
| 242 | %if !%{external_linker} |
---|
| 243 | export GO_LDFLAGS="-linkmode internal" |
---|
| 244 | %endif |
---|
| 245 | %if !%{cgo_enabled} |
---|
| 246 | export CGO_ENABLED=0 |
---|
| 247 | %endif |
---|
| 248 | ./make.bash --no-clean |
---|
| 249 | popd |
---|
[8227] | 250 | |
---|
[9887] | 251 | # build shared std lib |
---|
| 252 | %if %{shared} |
---|
| 253 | GOROOT=$(pwd) PATH=$(pwd)/bin:$PATH go install -buildmode=shared std |
---|
| 254 | %endif |
---|
[8227] | 255 | |
---|
| 256 | %install |
---|
| 257 | rm -rf $RPM_BUILD_ROOT |
---|
| 258 | |
---|
| 259 | # create the top level directories |
---|
| 260 | mkdir -p $RPM_BUILD_ROOT%{_bindir} |
---|
[9887] | 261 | mkdir -p $RPM_BUILD_ROOT%{goroot} |
---|
[8227] | 262 | |
---|
| 263 | # install everything into libdir (until symlink problems are fixed) |
---|
| 264 | # https://code.google.com/p/go/issues/detail?id=5830 |
---|
[9887] | 265 | cp -apv api bin doc favicon.ico lib pkg robots.txt src misc test VERSION \ |
---|
| 266 | $RPM_BUILD_ROOT%{goroot} |
---|
[8227] | 267 | |
---|
[9887] | 268 | # bz1099206 |
---|
| 269 | find $RPM_BUILD_ROOT%{goroot}/src -exec touch -r $RPM_BUILD_ROOT%{goroot}/VERSION "{}" \; |
---|
| 270 | # and level out all the built archives |
---|
| 271 | touch $RPM_BUILD_ROOT%{goroot}/pkg |
---|
| 272 | find $RPM_BUILD_ROOT%{goroot}/pkg -exec touch -r $RPM_BUILD_ROOT%{goroot}/pkg "{}" \; |
---|
| 273 | # generate the spec file ownership of this source tree and packages |
---|
| 274 | cwd=$(pwd) |
---|
| 275 | src_list=$cwd/go-src.list |
---|
| 276 | pkg_list=$cwd/go-pkg.list |
---|
| 277 | shared_list=$cwd/go-shared.list |
---|
| 278 | misc_list=$cwd/go-misc.list |
---|
| 279 | docs_list=$cwd/go-docs.list |
---|
| 280 | tests_list=$cwd/go-tests.list |
---|
| 281 | rm -f $src_list $pkg_list $docs_list $misc_list $tests_list $shared_list |
---|
| 282 | touch $src_list $pkg_list $docs_list $misc_list $tests_list $shared_list |
---|
| 283 | pushd $RPM_BUILD_ROOT%{goroot} |
---|
| 284 | find src/ -type d -a \( ! -name testdata -a ! -ipath '*/testdata/*' \) -printf '%%%dir %{goroot}/%p\n' >> $src_list |
---|
| 285 | find src/ ! -type d -a \( ! -ipath '*/testdata/*' -a ! -name '*_test*.go' \) -printf '%{goroot}/%p\n' >> $src_list |
---|
[8227] | 286 | |
---|
[9887] | 287 | find bin/ pkg/ -type d -a ! -path '*_dynlink/*' -printf '%%%dir %{goroot}/%p\n' >> $pkg_list |
---|
| 288 | find bin/ pkg/ ! -type d -a ! -path '*_dynlink/*' -printf '%{goroot}/%p\n' >> $pkg_list |
---|
[8227] | 289 | |
---|
[9887] | 290 | find doc/ -type d -printf '%%%dir %{goroot}/%p\n' >> $docs_list |
---|
| 291 | find doc/ ! -type d -printf '%{goroot}/%p\n' >> $docs_list |
---|
| 292 | |
---|
| 293 | find misc/ -type d -printf '%%%dir %{goroot}/%p\n' >> $misc_list |
---|
| 294 | find misc/ ! -type d -printf '%{goroot}/%p\n' >> $misc_list |
---|
| 295 | |
---|
| 296 | %if %{shared} |
---|
| 297 | find pkg/*_dynlink/ -type d -printf '%%%dir %{goroot}/%p\n' >> $shared_list |
---|
| 298 | find pkg/*_dynlink/ ! -type d -printf '%{goroot}/%p\n' >> $shared_list |
---|
| 299 | %endif |
---|
| 300 | |
---|
| 301 | find test/ -type d -printf '%%%dir %{goroot}/%p\n' >> $tests_list |
---|
| 302 | find test/ ! -type d -printf '%{goroot}/%p\n' >> $tests_list |
---|
| 303 | find src/ -type d -a \( -name testdata -o -ipath '*/testdata/*' \) -printf '%%%dir %{goroot}/%p\n' >> $tests_list |
---|
| 304 | find src/ ! -type d -a \( -ipath '*/testdata/*' -o -name '*_test*.go' \) -printf '%{goroot}/%p\n' >> $tests_list |
---|
| 305 | # this is only the zoneinfo.zip |
---|
| 306 | find lib/ -type d -printf '%%%dir %{goroot}/%p\n' >> $tests_list |
---|
| 307 | find lib/ ! -type d -printf '%{goroot}/%p\n' >> $tests_list |
---|
[8227] | 308 | popd |
---|
| 309 | |
---|
[9887] | 310 | # remove the doc Makefile |
---|
| 311 | rm -rfv $RPM_BUILD_ROOT%{goroot}/doc/Makefile |
---|
[8227] | 312 | |
---|
[9887] | 313 | # put binaries to bindir, linked to the arch we're building, |
---|
| 314 | # leave the arch independent pieces in %{goroot} |
---|
| 315 | mkdir -p $RPM_BUILD_ROOT%{goroot}/bin/linux_%{gohostarch} |
---|
| 316 | ln -sf %{goroot}/bin/go $RPM_BUILD_ROOT%{goroot}/bin/linux_%{gohostarch}/go |
---|
| 317 | ln -sf %{goroot}/bin/gofmt $RPM_BUILD_ROOT%{goroot}/bin/linux_%{gohostarch}/gofmt |
---|
[8227] | 318 | |
---|
[9887] | 319 | # ensure these exist and are owned |
---|
| 320 | mkdir -p $RPM_BUILD_ROOT%{gopath}/src/github.com |
---|
| 321 | mkdir -p $RPM_BUILD_ROOT%{gopath}/src/bitbucket.org |
---|
| 322 | mkdir -p $RPM_BUILD_ROOT%{gopath}/src/code.google.com/p |
---|
| 323 | mkdir -p $RPM_BUILD_ROOT%{gopath}/src/golang.org/x |
---|
| 324 | |
---|
| 325 | # make sure these files exist and point to alternatives |
---|
| 326 | rm -f $RPM_BUILD_ROOT%{_bindir}/go |
---|
| 327 | ln -sf /etc/alternatives/go $RPM_BUILD_ROOT%{_bindir}/go |
---|
| 328 | rm -f $RPM_BUILD_ROOT%{_bindir}/gofmt |
---|
| 329 | ln -sf /etc/alternatives/gofmt $RPM_BUILD_ROOT%{_bindir}/gofmt |
---|
| 330 | |
---|
[8227] | 331 | # gdbinit |
---|
| 332 | mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/gdbinit.d |
---|
[9887] | 333 | cp -av %{SOURCE100} $RPM_BUILD_ROOT%{_sysconfdir}/gdbinit.d/golang.gdb |
---|
[8227] | 334 | |
---|
| 335 | # prelink blacklist |
---|
| 336 | mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/prelink.conf.d |
---|
| 337 | cp -av %{SOURCE101} $RPM_BUILD_ROOT%{_sysconfdir}/prelink.conf.d/golang.conf |
---|
| 338 | |
---|
[9887] | 339 | # rpm macros |
---|
| 340 | mkdir -p %{buildroot} |
---|
| 341 | mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm |
---|
| 342 | cp -av %{SOURCE102} $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.golang |
---|
[8227] | 343 | |
---|
[9887] | 344 | |
---|
| 345 | %check |
---|
| 346 | export GOROOT=$(pwd -P) |
---|
| 347 | export PATH="$GOROOT"/bin:"$PATH" |
---|
| 348 | cd src |
---|
| 349 | |
---|
| 350 | export CC="gcc" |
---|
| 351 | export CFLAGS="$RPM_OPT_FLAGS" |
---|
| 352 | export LDFLAGS="$RPM_LD_FLAGS" |
---|
| 353 | %if !%{external_linker} |
---|
| 354 | export GO_LDFLAGS="-linkmode internal" |
---|
| 355 | %endif |
---|
| 356 | %if !%{cgo_enabled} || !%{external_linker} |
---|
| 357 | export CGO_ENABLED=0 |
---|
| 358 | %endif |
---|
| 359 | %if %{fail_on_tests} |
---|
| 360 | ./run.bash --no-rebuild -v -v -v -k |
---|
| 361 | %else |
---|
| 362 | ./run.bash --no-rebuild -v -v -v -k || : |
---|
| 363 | %endif |
---|
| 364 | cd .. |
---|
| 365 | |
---|
| 366 | |
---|
| 367 | %post bin |
---|
| 368 | %{_sbindir}/update-alternatives --install %{_bindir}/go \ |
---|
| 369 | go %{goroot}/bin/go 90 \ |
---|
| 370 | --slave %{_bindir}/gofmt gofmt %{goroot}/bin/gofmt |
---|
| 371 | |
---|
| 372 | %preun bin |
---|
| 373 | if [ $1 = 0 ]; then |
---|
| 374 | %{_sbindir}/update-alternatives --remove go %{goroot}/bin/go |
---|
| 375 | fi |
---|
| 376 | |
---|
| 377 | |
---|
[8227] | 378 | %files |
---|
[9887] | 379 | %doc AUTHORS CONTRIBUTORS LICENSE PATENTS |
---|
| 380 | # VERSION has to be present in the GOROOT, for `go install std` to work |
---|
| 381 | %doc %{goroot}/VERSION |
---|
| 382 | %dir %{goroot}/doc |
---|
| 383 | %doc %{goroot}/doc/* |
---|
[8227] | 384 | |
---|
| 385 | # go files |
---|
[9887] | 386 | %dir %{goroot} |
---|
| 387 | %exclude %{goroot}/bin/ |
---|
| 388 | %exclude %{goroot}/pkg/ |
---|
| 389 | %exclude %{goroot}/src/ |
---|
| 390 | %exclude %{goroot}/doc/ |
---|
| 391 | %exclude %{goroot}/misc/ |
---|
| 392 | %{goroot}/* |
---|
[8227] | 393 | |
---|
[9887] | 394 | # ensure directory ownership, so they are cleaned up if empty |
---|
| 395 | %dir %{gopath} |
---|
| 396 | %dir %{gopath}/src |
---|
| 397 | %dir %{gopath}/src/github.com/ |
---|
| 398 | %dir %{gopath}/src/bitbucket.org/ |
---|
| 399 | %dir %{gopath}/src/code.google.com/ |
---|
| 400 | %dir %{gopath}/src/code.google.com/p/ |
---|
| 401 | %dir %{gopath}/src/golang.org |
---|
| 402 | %dir %{gopath}/src/golang.org/x |
---|
[8227] | 403 | |
---|
| 404 | |
---|
| 405 | # gdbinit (for gdb debugging) |
---|
| 406 | %{_sysconfdir}/gdbinit.d |
---|
| 407 | |
---|
| 408 | # prelink blacklist |
---|
| 409 | %{_sysconfdir}/prelink.conf.d |
---|
| 410 | |
---|
[9887] | 411 | %{_sysconfdir}/rpm/macros.golang |
---|
| 412 | |
---|
| 413 | %files -f go-src.list src |
---|
| 414 | |
---|
| 415 | %files -f go-docs.list docs |
---|
| 416 | |
---|
| 417 | %files -f go-misc.list misc |
---|
| 418 | |
---|
| 419 | %files -f go-tests.list tests |
---|
| 420 | |
---|
| 421 | %files -f go-pkg.list bin |
---|
| 422 | %{_bindir}/go |
---|
| 423 | %{_bindir}/gofmt |
---|
| 424 | |
---|
| 425 | %if %{shared} |
---|
| 426 | %files -f go-shared.list shared |
---|
| 427 | %endif |
---|
| 428 | |
---|
[8227] | 429 | %changelog |
---|
[9887] | 430 | * Mon Dec 21 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.2-1 |
---|
| 431 | - new upstream release. |
---|
| 432 | |
---|
| 433 | * Sun Mar 8 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.2-1 |
---|
| 434 | - new upstream release. |
---|
| 435 | |
---|
[9157] | 436 | * Mon Dec 15 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.2-2 |
---|
| 437 | - added Group tag |
---|
| 438 | |
---|
[8228] | 439 | * Sat Feb 1 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 1.2 |
---|
| 440 | - initial build for Vine Linux |
---|
| 441 | - drop emacs and vim package |
---|
| 442 | |
---|
[9887] | 443 | * Fri Jan 24 2014 Vincent Batts <vbatts@redhat.com> 1.2-4 |
---|
[8227] | 444 | - skip a flaky test that is sporadically failing on the build server |
---|
| 445 | |
---|
| 446 | * Thu Jan 16 2014 Vincent Batts <vbatts@redhat.com> 1.2-3 |
---|
| 447 | - remove golang-godoc dependency. cyclic dependency on compiling godoc |
---|
| 448 | |
---|
| 449 | * Wed Dec 18 2013 Vincent Batts <vbatts@redhat.com> - 1.2-2 |
---|
| 450 | - removing P224 ECC curve |
---|
| 451 | |
---|
| 452 | * Mon Dec 2 2013 Vincent Batts <vbatts@fedoraproject.org> - 1.2-1 |
---|
| 453 | - Update to upstream 1.2 release |
---|
| 454 | - remove the pax tar patches |
---|
| 455 | |
---|
| 456 | * Tue Nov 26 2013 Vincent Batts <vbatts@redhat.com> - 1.1.2-8 |
---|
| 457 | - fix the rpmspec conditional for rhel and fedora |
---|
| 458 | |
---|
| 459 | * Thu Nov 21 2013 Vincent Batts <vbatts@redhat.com> - 1.1.2-7 |
---|
| 460 | - patch tests for testing on rawhide |
---|
| 461 | - let the same spec work for rhel and fedora |
---|
| 462 | |
---|
| 463 | * Wed Nov 20 2013 Vincent Batts <vbatts@redhat.com> - 1.1.2-6 |
---|
| 464 | - don't symlink /usr/bin out to ../lib..., move the file |
---|
| 465 | - seperate out godoc, to accomodate the go.tools godoc |
---|
| 466 | |
---|
| 467 | * Fri Sep 20 2013 Adam Miller <maxamillion@fedoraproject.org> - 1.1.2-5 |
---|
| 468 | - Pull upstream patches for BZ#1010271 |
---|
| 469 | - Add glibc requirement that got dropped because of meta dep fix |
---|
| 470 | |
---|
| 471 | * Fri Aug 30 2013 Adam Miller <maxamillion@fedoraproject.org> - 1.1.2-4 |
---|
| 472 | - fix the libc meta dependency (thanks to vbatts [at] redhat.com for the fix) |
---|
| 473 | |
---|
| 474 | * Tue Aug 27 2013 Adam Miller <maxamillion@fedoraproject.org> - 1.1.2-3 |
---|
| 475 | - Revert incorrect merged changelog |
---|
| 476 | |
---|
| 477 | * Tue Aug 27 2013 Adam Miller <maxamillion@fedoraproject.org> - 1.1.2-2 |
---|
| 478 | - This was reverted, just a placeholder changelog entry for bad merge |
---|
| 479 | |
---|
| 480 | * Tue Aug 20 2013 Adam Miller <maxamillion@fedoraproject.org> - 1.1.2-1 |
---|
| 481 | - Update to latest upstream |
---|
| 482 | |
---|
| 483 | * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-7 |
---|
| 484 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
---|
| 485 | |
---|
| 486 | * Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.1.1-6 |
---|
| 487 | - Perl 5.18 rebuild |
---|
| 488 | |
---|
| 489 | * Wed Jul 10 2013 Adam Goode <adam@spicenitz.org> - 1.1.1-5 |
---|
| 490 | - Blacklist testdata files from prelink |
---|
| 491 | - Again try to fix #973842 |
---|
| 492 | |
---|
| 493 | * Fri Jul 5 2013 Adam Goode <adam@spicenitz.org> - 1.1.1-4 |
---|
| 494 | - Move src to libdir for now (#973842) (upstream issue https://code.google.com/p/go/issues/detail?id=5830) |
---|
| 495 | - Eliminate noarch data package to work around RPM bug (#975909) |
---|
| 496 | - Try to add runtime-gdb.py to the gdb safe-path (#981356) |
---|
| 497 | |
---|
| 498 | * Wed Jun 19 2013 Adam Goode <adam@spicenitz.org> - 1.1.1-3 |
---|
| 499 | - Use lua for pretrans (http://fedoraproject.org/wiki/Packaging:Guidelines#The_.25pretrans_scriptlet) |
---|
| 500 | |
---|
| 501 | * Mon Jun 17 2013 Adam Goode <adam@spicenitz.org> - 1.1.1-2 |
---|
| 502 | - Hopefully really fix #973842 |
---|
| 503 | - Fix update from pre-1.1.1 (#974840) |
---|
| 504 | |
---|
| 505 | * Thu Jun 13 2013 Adam Goode <adam@spicenitz.org> - 1.1.1-1 |
---|
| 506 | - Update to 1.1.1 |
---|
| 507 | - Fix basically useless package (#973842) |
---|
| 508 | |
---|
| 509 | * Sat May 25 2013 Dan Horák <dan[at]danny.cz> - 1.1-3 |
---|
| 510 | - set ExclusiveArch |
---|
| 511 | |
---|
| 512 | * Fri May 24 2013 Adam Goode <adam@spicenitz.org> - 1.1-2 |
---|
| 513 | - Fix noarch package discrepancies |
---|
| 514 | |
---|
| 515 | * Fri May 24 2013 Adam Goode <adam@spicenitz.org> - 1.1-1 |
---|
| 516 | - Initial Fedora release. |
---|
| 517 | - Update to 1.1 |
---|
| 518 | |
---|
| 519 | * Thu May 9 2013 Adam Goode <adam@spicenitz.org> - 1.1-0.3.rc3 |
---|
| 520 | - Update to rc3 |
---|
| 521 | |
---|
| 522 | * Thu Apr 11 2013 Adam Goode <adam@spicenitz.org> - 1.1-0.2.beta2 |
---|
| 523 | - Update to beta2 |
---|
| 524 | |
---|
| 525 | * Tue Apr 9 2013 Adam Goode <adam@spicenitz.org> - 1.1-0.1.beta1 |
---|
| 526 | - Initial packaging. |
---|