Blame golang-github-robertkrimen-otto.spec

295fc78
# Run tests in check section
ccad375
# Tests fail
295fc78
%bcond_with check
5f30f4e
295fc78
%global goipath         github.com/robertkrimen/otto
88c469d
%global commit          15f95af6e78dcd2030d8195a138bd88d4f403546
5f30f4e
295fc78
%global common_description %{expand:
295fc78
A JavaScript interpreter in Golang.}
5f30f4e
295fc78
%gometa
5f30f4e
295fc78
Name:    %{goname}
295fc78
Version: 0
5f3b09a
Release: 0.6%{?dist}
295fc78
Summary: A JavaScript interpreter in Golang
295fc78
License: MIT
295fc78
URL:     %{gourl}
295fc78
Source:  %{gosource}
5f30f4e
5f30f4e
BuildRequires: golang(gopkg.in/readline.v1)
5f30f4e
BuildRequires: golang(gopkg.in/sourcemap.v1)
5f30f4e
295fc78
%description
295fc78
%{common_description}
5f30f4e
5f30f4e
295fc78
%package    devel
295fc78
Summary:    %{summary}
295fc78
BuildArch:  noarch
295fc78
 
5f30f4e
%description devel
295fc78
%{common_description}
295fc78
 
295fc78
This package contains the source code needed for building packages that import
295fc78
the %{goipath} Go namespace.
5f30f4e
5f30f4e
5f30f4e
%prep
ccad375
%forgeautosetup
5f30f4e
5f30f4e
295fc78
%install
295fc78
%goinstall
5f30f4e
5f30f4e
295fc78
%if %{with check}
5f30f4e
%check
295fc78
%gochecks
5f30f4e
%endif
5f30f4e
5f30f4e
5f30f4e
%files devel -f devel.file-list
5f30f4e
%license LICENSE
295fc78
%doc README.markdown
5f30f4e
5f30f4e
5f30f4e
%changelog
5f3b09a
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.6.git15f95af
5f3b09a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
5f3b09a
88c469d
* Thu Jun 28 2018 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.5.20180628git15f95af
88c469d
- Bump to commit 15f95af6e78dcd2030d8195a138bd88d4f403546
88c469d
e7bbdc2
* Wed Mar 14 2018 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.4.20180314git6c383dd
e7bbdc2
- Fix BuildRequires 
e7bbdc2
f11446d
* Fri Mar 09 2018 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.3.20180314git6c383dd
295fc78
- Update with the new Go packaging
295fc78
- Upstream GIT revision 6c383dd
295fc78
1ecbfbc
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.2.20171130git3b44b4d
1ecbfbc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
1ecbfbc
5f30f4e
* Thu Dec 07 2017 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.1.20171130git3b44b4d
5f30f4e
- Upstream GIT revision 3b44b4d
5f30f4e
5f30f4e
* Fri Sep 29 2017 Robert-André Mauchin <zebob.m@gmail.com> - 0-0.1.20170818gita813c59
5f30f4e
- First package for Fedora
5f30f4e