https://bugzilla.redhat.com/show_bug.cgi?id=1522690
Robert-André Mauchin <zebob.m(a)gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |zebob.m(a)gmail.com
--- Comment #1 from Robert-André Mauchin <zebob.m(a)gmail.com> ---
Using:
Spec URL:
https://copr-be.cloud.fedoraproject.org/results/yaacov/mohawk/fedora-27-x...
SRPM URL:
https://copr-be.cloud.fedoraproject.org/results/yaacov/mohawk/fedora-27-x...
- 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(a)gmail.com> - 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.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component