golang-deb

Created a month ago
Maintained by ngompa
Go compiler based on Fedora packaging with added Debian/Ubuntu support
Members 1
Neal Gompa committed a month ago

Go compiler based on Fedora packaging with added Debian/Ubuntu support

This repository contains the packaging for the Go compiler derived from Fedora's golang package with added support for being built for Debian/Ubuntu using debbuild.

How to build the package (rpm)

On a RPM system,

  1. Install the rpm-build package
  2. Create the folder tree: mkdir -p ~/rpmbuild/{SPECS,SOURCES,BUILD,BUILDROOT,RPMS,SRPMS}
  3. Copy all the source files into ~/rpmbuild/SOURCES
  4. Download the Go compiler source tarball referenced in the spec and put it in ~/rpmbuild/SOURCES
  5. Copy the spec to ~/rpmbuild/SPECS
  6. Run rpmbuild: rpmbuild -ba ~/rpmbuild/SPECS/golang.spec

How to build the package (deb)

On a Debian/Ubuntu system,

  1. Install debbuild using the deb from the project releases page.
  2. Create the folder tree: mkdir -p ~/debbuild/{SPECS,SOURCES,BUILD,BUILDROOT,DEBS,SDEBS}
  3. Copy all the source files into ~/debbuild/SOURCES
  4. Download the Go compiler source tarball referenced in the spec and put it in ~/debbuild/SOURCES
  5. Copy the spec to ~/debbuild/SPECS
  6. Run debbuild: debbuild -ba ~/debbuild/SPECS/golang.spec