# Generated by go2rpm %bcond_without check # Exclude dummy package from Requires %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(a\\)$ # https://github.com/golang/mock %global goipath github.com/golang/mock Version: 1.2.0 %gometa %global common_description %{expand: GoMock is a mocking framework for the Go programming language. It integrates well with Go's built-in testing package, but can be used in other contexts too.} %global golicenses LICENSE %global godocs AUTHORS CONTRIBUTORS README.md Name: %{goname} Release: 1%{?dist} Summary: Gomock is a mocking framework for the go programming language # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} %description %{common_description} %gopkg %prep %goprep %build for cmd in mockgen; 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}/ %if %{with check} %check %gocheck %endif %files %license %{golicenses} %doc %{godocs} %{_bindir}/* %gopkgfiles %changelog * Thu Apr 18 21:43:08 CEST 2019 Robert-André Mauchin - 1.2.0-1 - Release 1.2.0 * Fri Feb 01 2019 Fedora Release Engineering - 0-0.17.git58cd061 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Oct 23 2018 Nicolas Mailhot - 0-0.16.git58cd061 - redhat-rpm-config-123 triggers bugs in gosetup, remove it from Go spec files as it’s just an alias - https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/RWD5YATAYAFWKIDZBB7EB6N5DAO4ZKFM/ * Tue Jul 31 2018 Florian Weimer - 0-0.15.git58cd061 - Rebuild with fixed binutils * Fri Jul 13 2018 Fedora Release Engineering - 0-0.14.git58cd061 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed May 09 2018 Jan Chaloupka - 0-0.13.git58cd061 - Rename the package back to golang-github-golang-mock-devel * Mon Mar 26 2018 Jan Chaloupka - 0-0.12.git58cd061 - Bump to 58cd061d09382b6011f84c1291ebe50ef2e25bab Update to new Go guidelines * Wed Feb 07 2018 Fedora Release Engineering - 0-0.11.gitd581abf - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 0-0.10.gitd581abf - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0-0.9.gitd581abf - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0-0.8.gitd581abf - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Jul 21 2016 Fedora Release Engineering - 0-0.7.gitd581abf - https://fedoraproject.org/wiki/Changes/golang1.7 * Mon Feb 22 2016 Fedora Release Engineering - 0-0.6.gitd581abf - https://fedoraproject.org/wiki/Changes/golang1.6 * Wed Feb 03 2016 Fedora Release Engineering - 0-0.5.gitd581abf - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Aug 20 2015 jchaloup - 0-0.4.gitd581abf - Choose the correct devel subpackage related: #1250520 * Wed Aug 19 2015 jchaloup - 0-0.3.gitd581abf - Update spec file to spec-2.0 resolves: #1250520 * Wed Jun 17 2015 Fedora Release Engineering - 0-0.2.hge033c7513ca3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu Sep 25 2014 Jan Chaloupka - 0-0.1.hge033c7513ca3 - First package for Fedora