Spec URL: https://copr-be.cloud.fedoraproject.org/results/yaacov/mohawk/fedora-27-x86_64/00684948-mohawk/mohawk.spec SRPM URL: https://copr-be.cloud.fedoraproject.org/results/yaacov/mohawk/fedora-27-x86_64/00684948-mohawk/mohawk-0.26.2-6.fc27.src.rpm Description: Mohawk is a metric data storage engine that uses a plugin architecture for data storage and a simple REST API as the primary interface. Fedora Account System Username: yaacov
Using: Spec URL: https://copr-be.cloud.fedoraproject.org/results/yaacov/mohawk/fedora-27-x86_64/00771263-mohawk/mohawk.spec SRPM URL: https://copr-be.cloud.fedoraproject.org/results/yaacov/mohawk/fedora-27-x86_64/00771263-mohawk/mohawk-0.33.3-1.fc27.src.rpm - The valid shorthand for Apache license is "ASL 2.0" License: ASL 2.0 - We now use a new Go packaging method, see: https://fedoraproject.org/wiki/More_Go_packaging Here what it should look like # https://github.com/MohawkTSDB/mohawk %global goipath github.com/MohawkTSDB/mohawk Version: 0.33.3 %gometa Name: mohawk Release: 1%{?dist} Summary: Time series metric data storage License: ASL 2.0 URL: %{gourl} Source0: %{gourl}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: golang(github.com/mattn/go-sqlite3) BuildRequires: golang(github.com/spf13/cobra) BuildRequires: golang(github.com/spf13/viper) BuildRequires: golang(gopkg.in/mgo.v2) BuildRequires: golang(gopkg.in/mgo.v2/bson) %description Mohawk is a metric data storage engine that uses a plugin architecture for data storage and a simple REST API as the primary interface. %prep %forgeautosetup %build %gobuildroot %gobuild -o _bin/mohawk %{goipath}/src %install install -Dpm 0755 _bin/mohawk %{buildroot}%{_bindir}/mohawk %files %license LICENSE %doc README.md %{_bindir}/mohawk %changelog * Thu Oct 04 2018 Yaacov Zamir <kobi.zamir> - 0.33.3-1 - First package for Fedora There's a bug with golang(github.com/mattn/go-sqlite3) I'll see if I can ask the maitainer to fix it.