Sync from SUSE:SLFO:Main fake-gcs-server revision 98c9156692c8230fb2f42a0c8f66da94

This commit is contained in:
Adrian Schröter 2024-05-03 12:24:21 +02:00
commit 1ec04ad779
7 changed files with 127 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

4
_scmsync.obsinfo Normal file
View File

@ -0,0 +1,4 @@
mtime: 1689603042
commit: c4ea9c3ca155cb33e950531c9e067c115099b6de
url: https://src.opensuse.org/mcepl/fake-gcs-server.git
revision: c4ea9c3ca155cb33e950531c9e067c115099b6de

5
_service Normal file
View File

@ -0,0 +1,5 @@
<services>
<service name="go_modules" mode="disabled">
<param name="compression">xz</param>
</service>
</services>

BIN
fake-gcs-server-1.45.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

25
fake-gcs-server.changes Normal file
View File

@ -0,0 +1,25 @@
-------------------------------------------------------------------
Mon Jul 17 14:06:02 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Use %autosetup.
- Put packaging files under the control of git.
-------------------------------------------------------------------
Wed Jul 12 08:36:30 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Update to 1.45.2:
(just the changelog for the last release, there are many
releases between 1.45.2 and 1.32.2, which cannot be recorded
here).
- github/workflows: try remote docker cache by @fsouza in #1161
- multipart uploads: Hack to support gsutil cp by @ekimekim in #1182
- Add bucket filter for notification events by @mccalltd in #1167
- examples: add example with gsutil by @fsouza in #1183
- internal/config: always have an externalURL by @fsouza in #1184
- Add _service file with proper generation of vendor.tar.xz file.
- clean up SPEC file.
-------------------------------------------------------------------
Fri Dec 31 21:08:08 UTC 2021 - Matej Cepl <mcepl@suse.com>
- Initial packaging of fake-gcs-server 1.32.2

64
fake-gcs-server.spec Normal file
View File

@ -0,0 +1,64 @@
#
# spec file for package fake-gcs-server
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%global provider_prefix github.com/fsouza/fake-gcs-server/fakestorage
%global import_path %{provider_prefix}
Name: fake-gcs-server
Version: 1.45.2
Release: 0
Summary: Google Cloud Storage emulator & testing library
License: BSD-2-Clause
URL: https://github.com/fsouza/fake-gcs-server
Source0: https://github.com/fsouza/%{name}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: vendor.tar.xz
BuildRequires: fdupes
BuildRequires: golang-packaging
BuildRequires: xz
%{go_nostrip}
%{go_provides}
%description
fake-gcs-server provides an emulator for Google Cloud Storage API. It can be used as a library in Go projects and/or as a standalone binary/Docker image.
%prep
%autosetup -p1 -a1
%build
%goprep %{import_path}
go build
%install
%goinstall
install -Dm755 fake-gcs-server %{buildroot}%{_bindir}/fake-gcs-server
%gosrc
%fdupes %{buildroot}%{_datadir}/go
%{gofilelist}
%check
%gotest %{import_path}
%files -f file.lst
%license LICENSE
%doc README.md
%{_bindir}/fake-gcs-server
%changelog

BIN
vendor.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.