# Generated by go2rpm %bcond_without check # https://github.com/gucumber/gucumber %global goipath github.com/gucumber/gucumber %global commit 7d5c79e832a25825dbed83e78f8484d4ffe8ec16 %gometa %global goaltipaths github.com/lsegal/gucumber %global common_description %{expand: An implementation of Cucumber BDD-style testing for Go.} %global golicenses LICENSE.txt %global godocs README.md %global gosupfiles glide.lock glide.yaml Name: %{goname} Version: 0 Release: 0.14%{?dist} Summary: Cucumber BDD-style testing for Go License: MIT URL: %{gourl} Source0: %{gosource} Source1: glide.yaml Source2: glide.lock BuildRequires: golang(github.com/shiena/ansicolor) BuildRequires: golang(github.com/stretchr/testify/assert) %description %{common_description} %gopkg %prep %goprep cp %{S:1} %{S:2} . %build for cmd in cmd/* ; do %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd done %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ # Remove in F33 # Remove erroneous glide.lock folder %pretrans devel -p path = "%{gopath}/src/%{goipath}/glide.lock" st = posix.stat(path) if st and st.type == "directory" then os.remove(path) end %if %{with check} %check %gocheck %endif %files %license LICENSE.txt %doc README.md %{_bindir}/* %gopkgfiles %changelog * Sun Jun 02 14:44:57 CEST 2019 Robert-André Mauchin - 0-0.14.20190602git7d5c79e - Bump to commit 7d5c79e832a25825dbed83e78f8484d4ffe8ec16 * Fri Feb 01 2019 Fedora Release Engineering - 0-0.13.git71608e2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0-0.12.git71608e2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sun Jun 17 2018 Jan Chaloupka - 0-0.11.git71608e2 - Upload glide files * Thu Mar 01 2018 Jan Chaloupka - 0-0.10.20160715git71608e2 - Autogenerate some parts using the new macros * Wed Feb 07 2018 Fedora Release Engineering - 0-0.9.git71608e2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 0-0.8.git71608e2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0-0.7.git71608e2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0-0.6.git71608e2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sat Jan 21 2017 Jan Chaloupka - 0-0.5.git71608e2 - Bump to upstream 71608e2f6e76fd4da5b09a376aeec7a5c0b5edbc resolves: #1415383 * Thu Jul 21 2016 Fedora Release Engineering - 0-0.4.gite8116c9 - https://fedoraproject.org/wiki/Changes/golang1.7 * Mon Feb 22 2016 Fedora Release Engineering - 0-0.3.gite8116c9 - https://fedoraproject.org/wiki/Changes/golang1.6 * Wed Feb 03 2016 Fedora Release Engineering - 0-0.2.gite8116c9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Oct 08 2015 jchaloup - 0-0.1.gite8116c9 - First package for Fedora resolves: #1269799