diff --git a/golang-github-robertkrimen-otto.spec b/golang-github-robertkrimen-otto.spec index a2f5763..8196bb9 100644 --- a/golang-github-robertkrimen-otto.spec +++ b/golang-github-robertkrimen-otto.spec @@ -1,61 +1,52 @@ -# Run tests in check section -# Tests fail -%bcond_with check +# Generated by go2rpm +%bcond_without check +# https://github.com/robertkrimen/otto %global goipath github.com/robertkrimen/otto %global commit 15f95af6e78dcd2030d8195a138bd88d4f403546 -%global common_description %{expand: -A JavaScript interpreter in Golang.} - %gometa -Name: %{goname} -Version: 0 -Release: 0.7%{?dist} -Summary: A JavaScript interpreter in Golang -License: MIT -URL: %{gourl} -Source: %{gosource} +%global common_description %{expand: +Package Otto is a JavaScript parser and interpreter written natively in Go.} -BuildRequires: golang(gopkg.in/readline.v1) -BuildRequires: golang(gopkg.in/sourcemap.v1) +%global golicenses LICENSE +%global godocs DESIGN.markdown README.markdown -%description -%{common_description} +Name: %{goname} +Version: 0 +Release: 0.8%{?dist} +Summary: JavaScript interpreter in Go + +License: MIT +URL: %{gourl} +Source0: %{gosource} +BuildRequires: golang(gopkg.in/readline.v1) +BuildRequires: golang(gopkg.in/sourcemap.v1) -%package devel -Summary: %{summary} -BuildArch: noarch - -%description devel +%description %{common_description} - -This package contains the source code needed for building packages that import -the %{goipath} Go namespace. +%gopkg %prep -%forgeautosetup - +%goprep %install -%goinstall - +%gopkginstall %if %{with check} %check -%gochecks +%gocheck %endif - -%files devel -f devel.file-list -%license LICENSE -%doc README.markdown - +%gopkgfiles %changelog +* Sat Jun 01 22:48:38 CEST 2019 Robert-André Mauchin - 0-0.8.20180628git15f95af +- Update to new macros + * Fri Feb 01 2019 Fedora Release Engineering - 0-0.7.git15f95af - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild @@ -66,7 +57,7 @@ the %{goipath} Go namespace. - Bump to commit 15f95af6e78dcd2030d8195a138bd88d4f403546 * Wed Mar 14 2018 Robert-André Mauchin - 0-0.4.20180314git6c383dd -- Fix BuildRequires +- Fix BuildRequires * Fri Mar 09 2018 Robert-André Mauchin - 0-0.3.20180314git6c383dd - Update with the new Go packaging @@ -80,4 +71,3 @@ the %{goipath} Go namespace. * Fri Sep 29 2017 Robert-André Mauchin - 0-0.1.20170818gita813c59 - First package for Fedora -