%{?python_enable_dependency_generator} # https://github.com/cheggaaa/pb %global goipath github.com/cheggaaa/pb %global commit 9a180eb4617eb2112e01ca3fa25c61a6303afcaf %global gopkg_goipath gopkg.in/cheggaaa/pb.v1 %gometa -i %global gopkg_name %gorpmname %{gopkg_goipath} Name: %{goname} Version: 1.0.12 Release: 0.6.git%{?dist} Summary: Console progress bar for Golang # Detected licences # - BSD (3 clause) at 'LICENSE' License: BSD URL: %{gourl} Source0: %{gosource} Source1: glide.lock Source2: glide.yaml %description %{summary} %package devel Summary: %{summary} BuildArch: noarch BuildRequires: golang(github.com/mattn/go-runewidth) #BuildRequires: golang(github.com/fatih/color) %description devel %{summary} This package contains library source intended for building other packages which use import path with %{goipath} prefix. %package -n %{gopkg_name}-devel Summary: %{summary} BuildArch: noarch BuildRequires: golang(github.com/mattn/go-runewidth) #BuildRequires: golang(github.com/fatih/color) %description -n %{gopkg_name}-devel %{summary} This package contains library source intended for building other packages which use import path with %{gopkg_goipath} prefix. %prep %gosetup cp %{SOURCE1} %{SOURCE2} . %install %goinstall glide.lock glide.yaml %goinstall -i %{gopkg_goipath} -o gopkg-devel.file-list glide.lock glide.yaml %check # Missing dep #%%gochecks %files devel -f devel.file-list %license LICENSE %doc README.md %files -n %{gopkg_name}-devel -f gopkg-devel.file-list %license LICENSE %doc README.md %changelog * Fri Jul 13 2018 Fedora Release Engineering - Forge-specific packaging variables - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sat Jun 09 2018 Jan Chaloupka - 1.0.12-0.5.git.git9a180eb - Upload glide.lock and glide.yaml * Wed Feb 28 2018 Jan Chaloupka - 1.0.12-0.4.20170408git9a180eb - Autogenerate some parts using the new macros * Wed Feb 07 2018 Fedora Release Engineering - 1.0.12-0.3.git9a180eb - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Sep 11 2017 Jan Chaloupka - 1.0.12-0.2.git9a180eb - Extend the import path prefixes with gopkg.in/cheggaaa/pb.v1 resolves: #1488747 * Fri Aug 25 2017 Jan Chaloupka - 1.0.12-0.1.git9a180eb - Bump to upstream 9a180eb4617eb2112e01ca3fa25c61a6303afcaf resolves: #1440773 * Wed Aug 02 2017 Fedora Release Engineering - 0-0.6.gitda1f27a - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0-0.5.gitda1f27a - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0-0.4.gitda1f27a - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Dec 16 2016 Jan Chaloupka - 0-0.3.gitda1f27a - Polish the spec file resolves: #1405557 * Thu Jul 21 2016 Fedora Release Engineering - 0-0.2.gitda1f27a - https://fedoraproject.org/wiki/Changes/golang1.7 * Mon Mar 21 2016 jchaloup - 0-0.1.gitda1f27a - First package for Fedora resolves: #1319714