# Generated by go2rpm %bcond_without check # https://github.com/src-d/go-billy %global goipath gopkg.in/src-d/go-billy.v4 %global forgeurl https://github.com/src-d/go-billy Version: 4.3.2 %gometa %global common_description %{expand: The missing interface filesystem abstraction for Go. Billy implements an interface based on the os standard library, allowing to develop applications without dependency on the underlying storage. Makes it virtually free to implement mocks and testing over filesystem operations.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: %autorelease Summary: Interface filesystem abstraction for Go # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} # Remove in F43 Provides: golang-gopkg-src-d-billy-4 = %{version}-%{release} Obsoletes: golang-gopkg-src-d-billy-4 < 4.3.2-9 %global godevelheader %{expand: Provides: golang-gopkg-src-d-billy-4-devel = %{version}-%{release} Obsoletes: golang-gopkg-src-d-billy-4-devel < 4.3.2-9} BuildRequires: golang(golang.org/x/sys/unix) BuildRequires: golang(gopkg.in/check.v1) %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog