Blob Blame History Raw
# Generated by go2rpm
%bcond_without check

# https://github.com/spf13/afero
%global goipath         github.com/spf13/afero
Version:                1.5.1

%gometa

%global common_description %{expand:
Afero is an filesystem framework providing a simple, uniform and universal API
interacting with any filesystem, as an abstraction layer providing interfaces,
types and methods. Afero has an exceptionally clean interface and simple design
without needless constructors or initialization methods.

Afero is also a library providing a base set of interoperable backend
filesystems that make it easy to work with afero while retaining all the power
and benefit of the os and ioutil packages.

Afero provides significant improvements over using the os package alone, most
notably the ability to create mock and testing filesystems without relying on
the disk.

It is suitable for use in a any situation where you would consider using the OS
package as it provides an additional abstraction that makes it easy to use a
memory backed file system during testing. It also adds support for the http
filesystem for full interoperability.}

%global golicenses      LICENSE.txt
%global godocs          README.md

Name:           %{goname}
Release:        2%{?dist}
Summary:        FileSystem Abstraction System for Go
# Upstream license specification: Apache-2.0
License:        ASL 2.0
URL:            %{gourl}
Source0:        %{gosource}

BuildRequires:  golang(github.com/pkg/sftp)
BuildRequires:  golang(golang.org/x/text/transform)
BuildRequires:  golang(golang.org/x/text/unicode/norm)

%if %{with check}
# Tests
BuildRequires:  golang(golang.org/x/crypto/ssh)
%endif

%description
%{common_description}

%gopkg

%prep
%goprep

%install
%gopkginstall

%if %{with check}
%check
%gocheck
%endif

%gopkgfiles

%changelog
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

* Tue Jan  5 22:11:23 CET 2021 Robert-André Mauchin <zebob.m@gmail.com> - 1.5.1-1
- Update to 1.5.1
- Close: rhbz#1862837

* Sun Aug 02 21:20:44 CEST 2020 Robert-André Mauchin <zebob.m@gmail.com> - 1.3.3-1
- Update to 1.3.3

* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Fri Apr 26 14:08:05 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.2.2-2
- Update to new macros

* Tue Mar 26 21:59:45 CET 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.2.2-1
- Release 1.2.2
- Update to new Go packaging

* Tue Feb 19 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.2.1-1
- Update to latest version

* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

* Fri Jan 18 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.2.0-1
- Update to latest release

* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

* Mon Apr 09 2018 Athos Ribeiro <athoscr@fedoraproject.org> - 1.1.0-1
- Update to upstream version 1.1.0

* Mon Feb 19 2018 Athos Ribeiro <athoscr@fedoraproject.org> - 1.0.2-1
- Update to upstream version 1.0.2

* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

* Mon Nov 20 2017 Athos Ribeiro <athoscr@fedoraproject.org> - 1.0.0-1
- Update to upstream version 1.0.0
- Provides sftpfs
- Run mem tests

* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.5.git20500e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.4.git20500e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.3.git20500e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

* Mon Jan 23 2017 Jan Chaloupka <jchaloup@redhat.com> - 0-0.2.git20500e2
- Bump to upstream 20500e2abd0d1f4564a499e83d11d6c73cd58c27
  related: #1206886

* Thu Dec 10 2015 Fabio Alessandro Locati <fabio@locati.cc> - 0-0.1.git5d6908e
- First package for Fedora
  resolves: #1206886