From Fedora Project Wiki

We want to package Hugo in Fedora. This page is a list with all the efforts needed to achieve that.

To package Hugo, we first need to package all the dependencies listed in this page. For that, we have been using the gofed package. If you are using the gofed package, remember to add your username to the gofed group.

Refer to PackagingDrafts/Go for guidelines on how to prepare golang packages.

hugo Review request

Until hugo reaches the official repositories, we will maintain a COPR here

TODO

  • Review packages

Packages needing to be updated

  • jww (Check COPR version)

Dependencies

As we package dependencies, more dependencies may appear. Add them here and add whatever package deppends on them.

Package name Status WhatRequires
golang-github-fortytw2-leaktest Review request hugo
golang-github-PuerkitoBio-purell Review request hugo
golang-github-PuerkitoBio-urlesc PACKAGED golang-github-PuerkitoBio-purell
golang-github-bep-gitmap PACKAGED hugo
golang-github-bep-inflect PACKAGED hugo
golang-github-chaseadamsio-goorgeous PACKAGED hugo
golang-github-dchest-cssmin PACKAGED hugo
golang-github-eknkc-amber Review request hugo
golang-github-fsnotify-fsnotify PACKAGED hugo
golang-github-kardianos-osext PACKAGED as golang-bitbucket-kardianos-osext-devel hugo
golang-github-kyokomi-emoji PACKAGED hugo
golang-github-miekg-mmark PACKAGED hugo
golang-github-nicksnyder-go-i18n Review request hugo
golang-github-spf13-fsync PACKAGED hugo
golang-github-spf13-jwalterweatherman PACKAGED hugo
golang-github-spf13-nitro Review request hugo
golang-github-yosssi-ace Review request hugo
golang-github-yosssi-gohtml Review request golang-github-yosssi-ace
golang-github-mitchellh-mapstructure PACKAGED hugo
golang-github-pelletier-go-toml PACKAGED hugo
golang-github-russross-blackfriday PACKAGED hugo
golang-github-spf13-afero PACKAGED hugo
golang-github-spf13-cast PACKAGED hugo
golang-github-spf13-cobra PACKAGED hugo
golang-googlecode-text PACKAGED hugo
golang-gopkg-yaml PACKAGED hugo
golang-github-gorilla-websocket PACKAGED hugo
golang-github-spf13-pflag PACKAGED hugo
golang-github-spf13-viper PACKAGED hugo

Fedora Golang

While packaging hugo, we found a few problems in some packages not related to hugo. Here is a list with things we want to help fixing or need to report:

  • gofed generates changelog missing a \n
  • Add . in the end of the 1st gofed description
  • fedora-review says that the following directories have no owners, but they are owned by golang
    • /usr/share/gocode/src
    • /usr/share/gocode
    • /usr/sharegocode/src/github.com
  • gofed uses %define instead of %global for gobuild