|
|
32cef0c |
# Generated by go2rpm
|
|
|
20b55f6 |
%bcond_without check
|
|
|
c7fccda |
|
|
|
c7fccda |
# https://github.com/spf13/afero
|
|
|
20b55f6 |
%global goipath github.com/spf13/afero
|
|
|
cbc77f2 |
Version: 1.5.1
|
|
|
c7fccda |
|
|
|
32cef0c |
%gometa
|
|
|
32cef0c |
|
|
|
20b55f6 |
%global common_description %{expand:
|
|
|
32cef0c |
Afero is an filesystem framework providing a simple, uniform and universal API
|
|
|
32cef0c |
interacting with any filesystem, as an abstraction layer providing interfaces,
|
|
|
32cef0c |
types and methods. Afero has an exceptionally clean interface and simple design
|
|
|
32cef0c |
without needless constructors or initialization methods.
|
|
|
c7fccda |
|
|
|
32cef0c |
Afero is also a library providing a base set of interoperable backend
|
|
|
32cef0c |
filesystems that make it easy to work with afero while retaining all the power
|
|
|
32cef0c |
and benefit of the os and ioutil packages.
|
|
|
c7fccda |
|
|
|
32cef0c |
Afero provides significant improvements over using the os package alone, most
|
|
|
32cef0c |
notably the ability to create mock and testing filesystems without relying on
|
|
|
32cef0c |
the disk.
|
|
|
20b55f6 |
|
|
|
32cef0c |
It is suitable for use in a any situation where you would consider using the OS
|
|
|
32cef0c |
package as it provides an additional abstraction that makes it easy to use a
|
|
|
32cef0c |
memory backed file system during testing. It also adds support for the http
|
|
|
32cef0c |
filesystem for full interoperability.}
|
|
|
20b55f6 |
|
|
|
32cef0c |
%global golicenses LICENSE.txt
|
|
|
32cef0c |
%global godocs README.md
|
|
|
20b55f6 |
|
|
|
20b55f6 |
Name: %{goname}
|
|
|
8f14f19 |
Release: 2%{?dist}
|
|
|
20b55f6 |
Summary: FileSystem Abstraction System for Go
|
|
|
32cef0c |
# Upstream license specification: Apache-2.0
|
|
|
20b55f6 |
License: ASL 2.0
|
|
|
20b55f6 |
URL: %{gourl}
|
|
|
20b55f6 |
Source0: %{gosource}
|
|
|
c7fccda |
|
|
|
32cef0c |
BuildRequires: golang(github.com/pkg/sftp)
|
|
|
32cef0c |
BuildRequires: golang(golang.org/x/text/transform)
|
|
|
32cef0c |
BuildRequires: golang(golang.org/x/text/unicode/norm)
|
|
|
c7fccda |
|
|
|
cbc77f2 |
%if %{with check}
|
|
|
cbc77f2 |
# Tests
|
|
|
cbc77f2 |
BuildRequires: golang(golang.org/x/crypto/ssh)
|
|
|
cbc77f2 |
%endif
|
|
|
cbc77f2 |
|
|
|
20b55f6 |
%description
|
|
|
20b55f6 |
%{common_description}
|
|
|
20b55f6 |
|
|
|
32cef0c |
%gopkg
|
|
|
c7fccda |
|
|
|
c7fccda |
%prep
|
|
|
32cef0c |
%goprep
|
|
|
c7fccda |
|
|
|
c7fccda |
%install
|
|
|
32cef0c |
%gopkginstall
|
|
|
c7fccda |
|
|
|
20b55f6 |
%if %{with check}
|
|
|
c7fccda |
%check
|
|
|
32cef0c |
%gocheck
|
|
|
c7fccda |
%endif
|
|
|
c7fccda |
|
|
|
32cef0c |
%gopkgfiles
|
|
|
c7fccda |
|
|
|
c7fccda |
%changelog
|
|
|
8f14f19 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-2
|
|
|
8f14f19 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
8f14f19 |
|
|
|
cbc77f2 |
* Tue Jan 5 22:11:23 CET 2021 Robert-André Mauchin <zebob.m@gmail.com> - 1.5.1-1
|
|
|
cbc77f2 |
- Update to 1.5.1
|
|
|
cbc77f2 |
- Close: rhbz#1862837
|
|
|
cbc77f2 |
|
|
|
f440769 |
* Sun Aug 02 21:20:44 CEST 2020 Robert-André Mauchin <zebob.m@gmail.com> - 1.3.3-1
|
|
|
f440769 |
- Update to 1.3.3
|
|
|
f440769 |
|
|
|
ad81a1d |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-5
|
|
|
ad81a1d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
ad81a1d |
|
|
|
a8a73ac |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-4
|
|
|
a8a73ac |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
a8a73ac |
|
|
|
5c2b0e5 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-3
|
|
|
5c2b0e5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
5c2b0e5 |
|
|
|
32cef0c |
* Fri Apr 26 14:08:05 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.2.2-2
|
|
|
32cef0c |
- Update to new macros
|
|
|
32cef0c |
|
|
|
20b55f6 |
* Tue Mar 26 21:59:45 CET 2019 Robert-André Mauchin <zebob.m@gmail.com> - 1.2.2-1
|
|
|
20b55f6 |
- Release 1.2.2
|
|
|
20b55f6 |
- Update to new Go packaging
|
|
|
20b55f6 |
|
|
|
e0c937d |
* Tue Feb 19 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.2.1-1
|
|
|
e0c937d |
- Update to latest version
|
|
|
e0c937d |
|
|
|
bc264fb |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
|
|
|
bc264fb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
bc264fb |
|
|
|
634e17e |
* Fri Jan 18 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.2.0-1
|
|
|
634e17e |
- Update to latest release
|
|
|
634e17e |
|
|
|
172aad6 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
|
|
|
172aad6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
172aad6 |
|
|
|
419d098 |
* Mon Apr 09 2018 Athos Ribeiro <athoscr@fedoraproject.org> - 1.1.0-1
|
|
|
419d098 |
- Update to upstream version 1.1.0
|
|
|
419d098 |
|
|
|
1ed00c3 |
* Mon Feb 19 2018 Athos Ribeiro <athoscr@fedoraproject.org> - 1.0.2-1
|
|
|
1ed00c3 |
- Update to upstream version 1.0.2
|
|
|
1ed00c3 |
|
|
|
a9e7f68 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
|
|
|
a9e7f68 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
a9e7f68 |
|
|
|
8027108 |
* Mon Nov 20 2017 Athos Ribeiro <athoscr@fedoraproject.org> - 1.0.0-1
|
|
|
8027108 |
- Update to upstream version 1.0.0
|
|
|
8027108 |
- Provides sftpfs
|
|
|
8027108 |
- Run mem tests
|
|
|
8027108 |
|
|
|
9774f68 |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.5.git20500e2
|
|
|
9774f68 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
9774f68 |
|
|
|
4c72dfa |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.4.git20500e2
|
|
|
4c72dfa |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
4c72dfa |
|
|
|
775e15d |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.3.git20500e2
|
|
|
775e15d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
775e15d |
|
|
|
9515245 |
* Mon Jan 23 2017 Jan Chaloupka <jchaloup@redhat.com> - 0-0.2.git20500e2
|
|
|
9515245 |
- Bump to upstream 20500e2abd0d1f4564a499e83d11d6c73cd58c27
|
|
|
9515245 |
related: #1206886
|
|
|
9515245 |
|
|
|
c7fccda |
* Thu Dec 10 2015 Fabio Alessandro Locati <fabio@locati.cc> - 0-0.1.git5d6908e
|
|
|
c7fccda |
- First package for Fedora
|
|
|
c7fccda |
resolves: #1206886
|