38 Commits

Author SHA256 Message Date
2bc08b3c03 Accepting request 1303159 from Cloud:Tools
OBS-URL: https://build.opensuse.org/request/show/1303159
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/minio-client?expand=0&rev=116
2025-09-09 18:29:14 +00:00
6ffa2a2b46 - Update to version 20250813T083541Z:
* feat: beautify output for the ping command (#5237)
  * Update links to new docs site (#5242)
  * Fix the abnormal exit of the ping command (#5233)
  * chore: clear error message with unauthorized credentials (#5236)

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/minio-client?expand=0&rev=238
2025-09-08 08:55:36 +00:00
b4ff921ed7 Accepting request 1295489 from Cloud:Tools
OBS-URL: https://build.opensuse.org/request/show/1295489
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/minio-client?expand=0&rev=115
2025-07-24 16:47:18 +00:00
5d1215bdae - Update to version 20250721T052808Z:
* update dependencies to fix dependent library CVEs: CVE-2025-22874, CVE-2025-4673 (#5235)
  * fix: mirror active-active and race condition (#5234)

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/minio-client?expand=0&rev=236
2025-07-24 09:31:55 +00:00
65d66b0965 Accepting request 1294516 from Cloud:Tools
OBS-URL: https://build.opensuse.org/request/show/1294516
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/minio-client?expand=0&rev=114
2025-07-20 13:29:07 +00:00
46972f8030 - Update to version 20250716T153503Z:
* fix: redact sse key in debug logs (#5231)
  * mv:support set tag and checksum (#5133)
  * ping: support ping a specified node and remove duplicate port printing (#5132)
  * feat: add `--storage-class` option to `mc put` subcommand (#5228)
  * mirror and cp support set the maximum number of threads (#5220)
  * Some paths like url2Stat will send resource with backslashes on windows (#5226)
  * Include ARN in "replicate list" output (#5215)
  * Update build version (#5218)
  * fix: add checks for nil HTTP in admin-trace matches func (#5216)
  * remove fips 'mc' container Dockerfile

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/minio-client?expand=0&rev=234
2025-07-19 11:08:19 +00:00
076096b1c5 Accepting request 1279894 from Cloud:Tools
OBS-URL: https://build.opensuse.org/request/show/1279894
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/minio-client?expand=0&rev=113
2025-05-26 16:36:48 +00:00
6d9eb10e2d update to 2025-05-21T01-59-54Z
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/minio-client?expand=0&rev=232
2025-05-25 07:56:38 +00:00
0ecd334693 Accepting request 1272305 from Cloud:Tools
OBS-URL: https://build.opensuse.org/request/show/1272305
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/minio-client?expand=0&rev=112
2025-04-24 15:25:58 +00:00
d22adff2cc - Update to version 20250416T181326Z:
* feat: add deletemarker info for batch status (#5191)
  * mirror: skip status message from excluded buckets (#5190)
  * typo: fix typo in tracing error for path (#5189)
  * fix: update better error handling (#5188)

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/minio-client?expand=0&rev=230
2025-04-24 06:33:19 +00:00
575bd63abc Accepting request 1267973 from Cloud:Tools
OBS-URL: https://build.opensuse.org/request/show/1267973
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/minio-client?expand=0&rev=111
2025-04-09 19:50:08 +00:00
cdb00913a7 update to 20250408T153949Z
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/minio-client?expand=0&rev=228
2025-04-08 19:00:43 +00:00
585737801a Accepting request 1267001 from Cloud:Tools
OBS-URL: https://build.opensuse.org/request/show/1267001
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/minio-client?expand=0&rev=110
2025-04-04 15:31:07 +00:00
cfb0ae9a58 - Update to version 20250403T170756Z:
- fix the terminal is damaged when parameters are missing (#5175)
  - fix: error out when the source and destination might be
    subdirectories of each other (#5173)
  - fix: replace tag and point to relevant release
  - Add `admin accesskey sts-revoke` and `idp ldap accesskey
    sts-revoke` (#5160)
  - fix return EOF failure on lines with trailing empty lines
    (#5176)
  - fix: no data transition will show error for when mc ilm info
    not found (#5177)
  - upgrade golang-lint to v2 (#5178)
  - pre-emptively disable sha256 payload if checksum is set (#5167)
  - build(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.1 to
    4.5.2 (#5169)
  - batch: use server's generate API when available (#5166)
  - Add ping sort to mc support top rpc (#5158)

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/minio-client?expand=0&rev=226
2025-04-04 05:11:52 +00:00
ca290a4ec4 Accepting request 1252622 from Cloud:Tools
OBS-URL: https://build.opensuse.org/request/show/1252622
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/minio-client?expand=0&rev=109
2025-03-13 14:07:08 +00:00
9b3aadfa51 - Update to version 20250312T172924Z:
* Update all deps (#5165)
  * Update madmin-go to latest version (#5161)
  * Update ssh and jws libs for fixed CVEs (#5164)
  * rename rcp -> rpc
  * Remove logs feature from 'mc support callhome' (#5157)
  * Reject add ILM rule with both day and date parameters (#5155)
  * Fix transition days calculation (#5154)

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/minio-client?expand=0&rev=224
2025-03-13 05:50:37 +00:00
8d864eef20 Accepting request 1249368 from Cloud:Tools
OBS-URL: https://build.opensuse.org/request/show/1249368
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/minio-client?expand=0&rev=108
2025-03-01 18:16:51 +00:00
12177bf9bc - Update to version 20250221T160046Z:
* Mirror should delete on delete marker creation +  ILM (#5148)
  * fix: use tags package instead of s3utils (#5146)
  * fix empty ilm tier list output (#5145)

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/minio-client?expand=0&rev=222
2025-03-01 08:55:31 +00:00
99ab218ec4 Accepting request 1246861 from Cloud:Tools
OBS-URL: https://build.opensuse.org/request/show/1246861
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/minio-client?expand=0&rev=107
2025-02-19 14:59:19 +00:00
80a3fe6fbf Accepting request 1246807 from home:darix:restic
- Update to version 20250215T103616Z:
  * update all dependencies (#5143)
  * More fixes to custom arch hotfix building (#5135)
  * test: add tags copy test for mirror (#5141)
  * Add CRC64NVME checksum type. (#5142)
  * Improve docs to hint to the user that MD5 is not stored (#5138)
  * feat: support --custom-header flags (#5127)
  * fix: explicit fd close fix (#5129)
  * feat: add tags copy for mirror (#5137)
  * Fix vet check (#5134)
  * make custom ARCH based hotfixes
  * remove fips build

OBS-URL: https://build.opensuse.org/request/show/1246807
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/minio-client?expand=0&rev=220
2025-02-19 06:04:32 +00:00
7dcfd612fc Accepting request 1244759 from Cloud:Tools
OBS-URL: https://build.opensuse.org/request/show/1244759
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/minio-client?expand=0&rev=106
2025-02-10 16:30:37 +00:00
c9392318ee - Update to version 20250208T191421Z:
* mirror: add the duration time and beautify the output (#5125)
  * fix: urls equals nil deref (#5126)
  * add support for pre-2023 minio deployments (#5122)
  * Change enable to "enable=" (#5104)
  * Giving mirror the option to exit early when --remove is not set (#5116)

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/minio-client?expand=0&rev=218
2025-02-10 13:34:17 +00:00
e1fa47c153 Accepting request 1243295 from Cloud:Tools
OBS-URL: https://build.opensuse.org/request/show/1243295
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/minio-client?expand=0&rev=105
2025-02-05 16:23:15 +00:00
c1bfa79275 - Update to version 20250204T045750Z:
* Add "mc support upload" encryption (#5113)
  * update go deps
  * Use latest madmin-go for policy content check (#5109)
  * Improve the error message when trying to add multiple expiry options (#5117)
  * mc find - allow absolute times (#5118)
  * fix: cp and mirror commands fail to be executed when the file length is 255 characters (#5114)

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/minio-client?expand=0&rev=216
2025-02-05 09:26:18 +00:00
2736297cda Accepting request 1238635 from Cloud:Tools
OBS-URL: https://build.opensuse.org/request/show/1238635
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/minio-client?expand=0&rev=104
2025-01-18 12:19:04 +00:00
b2512d34f1 update to 20250117T232550Z
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/minio-client?expand=0&rev=214
2025-01-18 07:57:42 +00:00
81ec8058ed Accepting request 1231210 from Cloud:Tools
OBS-URL: https://build.opensuse.org/request/show/1231210
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/minio-client?expand=0&rev=103
2024-12-16 18:11:26 +00:00
79e723ac40 Accepting request 1231209 from home:ojkastl_buildservice:Branch_Cloud_Tools
update to 20241121T172154Z

OBS-URL: https://build.opensuse.org/request/show/1231209
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/minio-client?expand=0&rev=212
2024-12-15 10:37:26 +00:00
7fe9f2109a Accepting request 1229387 from Cloud:Tools
OBS-URL: https://build.opensuse.org/request/show/1229387
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/minio-client?expand=0&rev=102
2024-12-09 20:11:10 +00:00
a8769a57b9 - Fix typo in README.SUSE s/binrary/binary/
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/minio-client?expand=0&rev=210
2024-12-09 12:45:09 +00:00
6216b6270f - Add README.SUSE to explain the behavior of config loading
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/minio-client?expand=0&rev=209
2024-12-08 09:13:47 +00:00
e9bd08c38b - drop kqueue tag - it is dropped upstream and bsd specific
- provides/obsolets darix' old package
- have a package that provides "mc" again to make it easier to type

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/minio-client?expand=0&rev=208
2024-12-08 07:45:08 +00:00
ae823f6403 Accepting request 1225015 from Cloud:Tools
OBS-URL: https://build.opensuse.org/request/show/1225015
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/minio-client?expand=0&rev=101
2024-11-19 21:20:15 +00:00
9a2dc027ef update to 20241117T193525Z
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/minio-client?expand=0&rev=206
2024-11-19 08:48:32 +00:00
5f649f268d Accepting request 1223586 from Cloud:Tools
OBS-URL: https://build.opensuse.org/request/show/1223586
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/minio-client?expand=0&rev=100
2024-11-12 18:23:20 +00:00
d4f0d17259 update to 20241105T112945Z
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/minio-client?expand=0&rev=204
2024-11-12 09:19:52 +00:00
9f2793b4cb Accepting request 1219827 from Cloud:Tools
OBS-URL: https://build.opensuse.org/request/show/1219827
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/minio-client?expand=0&rev=99
2024-10-31 15:10:14 +00:00
7093f93a1d update to 20241029T153459Z
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/minio-client?expand=0&rev=202
2024-10-31 10:59:45 +00:00
10 changed files with 280 additions and 23 deletions

24
README.SUSE Normal file
View File

@@ -0,0 +1,24 @@
Calling the client with different binary names
------------------------------------------------
The minio client searches for the config based
on the binary name. This also happens with a
symlinked binary name. With the default file name
in the package it will look for
```
${HOME}/.minio-client/config.json
```
If you use the minio-client-as-mc package, it
looks for:
```
${HOME}/.mc/config.json
```
A possible solution is creating a symlink:
```
ln -s ~/.minio-client/ ~/.mc
```

View File

@@ -5,7 +5,7 @@
<param name="exclude">.git</param>
<param name="changesgenerate">enable</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="revision">RELEASE.2024-10-08T09-37-26Z</param>
<param name="revision">RELEASE.2025-08-13T08-35-41Z</param>
<param name="match-tag">RELEASE.*</param>
<param name="versionrewrite-pattern">RELEASE\.(.*)-(.*)-(.*)-(.*)-(.*)</param>
<param name="versionrewrite-replacement">\1\2\3\4\5</param>
@@ -14,12 +14,13 @@
<service name="set_version" mode="manual">
</service>
<service name="go_modules" mode="manual">
<param name="compression">zst</param>
</service>
<!-- services below are running at buildtime -->
<service name="tar" mode="buildtime">
</service>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">gz</param>
<param name="compression">zst</param>
</service>
</services>

View File

@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/minio/mc</param>
<param name="changesrevision">cf128de2cf42e763e7bd30c6df8b749fa94e0c10</param></service></servicedata>
<param name="changesrevision">7394ce0dd2a80935aded936b09fa12cbb3cb8096</param></service></servicedata>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3de19d101dff164e82794ad1749dfde83f141e6be0a337bf4e055add367b5caa
size 2991628

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:189963bf88c0300758a528dda3708db02fcab19d91ee44e3165780c7dc95e6f4
size 3145740

View File

@@ -1,3 +1,211 @@
-------------------------------------------------------------------
Sun Sep 07 14:47:53 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- Update to version 20250813T083541Z:
* feat: beautify output for the ping command (#5237)
* Update links to new docs site (#5242)
* Fix the abnormal exit of the ping command (#5233)
* chore: clear error message with unauthorized credentials (#5236)
-------------------------------------------------------------------
Wed Jul 23 22:52:10 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- Update to version 20250721T052808Z:
* update dependencies to fix dependent library CVEs: CVE-2025-22874, CVE-2025-4673 (#5235)
* fix: mirror active-active and race condition (#5234)
-------------------------------------------------------------------
Fri Jul 18 23:58:42 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- Update to version 20250716T153503Z:
* fix: redact sse key in debug logs (#5231)
* mv:support set tag and checksum (#5133)
* ping: support ping a specified node and remove duplicate port printing (#5132)
* feat: add `--storage-class` option to `mc put` subcommand (#5228)
* mirror and cp support set the maximum number of threads (#5220)
* Some paths like url2Stat will send resource with backslashes on windows (#5226)
* Include ARN in "replicate list" output (#5215)
* Update build version (#5218)
* fix: add checks for nil HTTP in admin-trace matches func (#5216)
* remove fips 'mc' container Dockerfile
-------------------------------------------------------------------
Sun May 25 07:51:23 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- Update to version 20250521T015954Z:
* Fix deletion of previously sync'd buckets and objects during
mc-mirror (#5205)
* Add STATUS column to batch job list table output (#5202)
* fix: remove check if lock config exists before set (#5203)
* removing config cmd (#5201)
* fix: support chained mirror properly for delete propagation
#4558 (#5197)
* Change support profile defaults (#5198)
* Explicitly set file permissions for
admin-cluster-{bucket,iam}-export… (#5194)
* Add support for catalog batch job type (#5150)
* Add `idp openid accesskey` commands (#5182)
-------------------------------------------------------------------
Tue Apr 22 22:39:42 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- Update to version 20250416T181326Z:
* feat: add deletemarker info for batch status (#5191)
* mirror: skip status message from excluded buckets (#5190)
* typo: fix typo in tracing error for path (#5189)
* fix: update better error handling (#5188)
-------------------------------------------------------------------
Tue Apr 08 18:50:08 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- Update to version 20250408T153949Z:
* ConsoleMsg is not set by open source or AIStor, we should
remove this an… (#5186)
-------------------------------------------------------------------
Thu Apr 03 19:34:24 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- Update to version 20250403T170756Z:
- fix the terminal is damaged when parameters are missing (#5175)
- fix: error out when the source and destination might be
subdirectories of each other (#5173)
- fix: replace tag and point to relevant release
- Add `admin accesskey sts-revoke` and `idp ldap accesskey
sts-revoke` (#5160)
- fix return EOF failure on lines with trailing empty lines
(#5176)
- fix: no data transition will show error for when mc ilm info
not found (#5177)
- upgrade golang-lint to v2 (#5178)
- pre-emptively disable sha256 payload if checksum is set (#5167)
- build(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.1 to
4.5.2 (#5169)
- batch: use server's generate API when available (#5166)
- Add ping sort to mc support top rpc (#5158)
-------------------------------------------------------------------
Wed Mar 12 18:44:51 UTC 2025 - mrueckert@suse.de
- Update to version 20250312T172924Z:
* Update all deps (#5165)
* Update madmin-go to latest version (#5161)
* Update ssh and jws libs for fixed CVEs (#5164)
* rename rcp -> rpc
* Remove logs feature from 'mc support callhome' (#5157)
* Reject add ILM rule with both day and date parameters (#5155)
* Fix transition days calculation (#5154)
-------------------------------------------------------------------
Fri Feb 28 19:03:03 UTC 2025 - mrueckert@suse.de
- Update to version 20250221T160046Z:
* Mirror should delete on delete marker creation + ILM (#5148)
* fix: use tags package instead of s3utils (#5146)
* fix empty ilm tier list output (#5145)
-------------------------------------------------------------------
Tue Feb 18 22:39:21 UTC 2025 - mrueckert@suse.de
- Update to version 20250215T103616Z:
* update all dependencies (#5143)
* More fixes to custom arch hotfix building (#5135)
* test: add tags copy test for mirror (#5141)
* Add CRC64NVME checksum type. (#5142)
* Improve docs to hint to the user that MD5 is not stored (#5138)
* feat: support --custom-header flags (#5127)
* fix: explicit fd close fix (#5129)
* feat: add tags copy for mirror (#5137)
* Fix vet check (#5134)
* make custom ARCH based hotfixes
* remove fips build
-------------------------------------------------------------------
Sat Feb 08 22:52:48 UTC 2025 - mrueckert@suse.de
- Update to version 20250208T191421Z:
* mirror: add the duration time and beautify the output (#5125)
* fix: urls equals nil deref (#5126)
* add support for pre-2023 minio deployments (#5122)
* Change enable to "enable=" (#5104)
* Giving mirror the option to exit early when --remove is not set (#5116)
-------------------------------------------------------------------
Tue Feb 04 10:43:49 UTC 2025 - mrueckert@suse.de
- Update to version 20250204T045750Z:
* Add "mc support upload" encryption (#5113)
* update go deps
* Use latest madmin-go for policy content check (#5109)
* Improve the error message when trying to add multiple expiry options (#5117)
* mc find - allow absolute times (#5118)
* fix: cp and mirror commands fail to be executed when the file length is 255 characters (#5114)
-------------------------------------------------------------------
Sat Jan 18 07:44:18 UTC 2025 - opensuse_buildservice@ojkastl.de
- Update to version 20250117T232550Z:
* chore: update deps
* The version-id in the get command does not work (#5110)
* chore: update deps (#5102)
* Add go runtime profile type (#5098)
* fix ilm rule edit for --expire-all-object-versions (#5101)
* update all deps and update CREDITS (#5097)
* Add support top rpc ui nicities (#5087)
* Improve trace stats (#5095)
-------------------------------------------------------------------
Sun Dec 15 10:29:28 UTC 2024 - opensuse_buildservice@ojkastl.de
- Update to version 20241121T172154Z:
* heal: Do not print a cryptic msg when scanning a dangling
object (#5084)
* Return delete markers in mc find (#5083)
-------------------------------------------------------------------
Mon Dec 9 12:06:10 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
- Fix typo in README.SUSE s/binrary/binary/
-------------------------------------------------------------------
Sun Dec 8 09:10:09 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
- Add README.SUSE to explain the behavior of config loading
-------------------------------------------------------------------
Sat Dec 7 12:25:51 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
- drop kqueue tag - it is dropped upstream and bsd specific
- provides/obsolets darix' old package
- have a package that provides "mc" again to make it easier to type
-------------------------------------------------------------------
Tue Nov 19 08:32:11 UTC 2024 - opensuse_buildservice@ojkastl.de
- Update to version 20241117T193525Z:
* when --no-list is specified avoid every List() call (#5082)
* heal: Simplify bucket healing status (#5079)
* lint: Fix new detected lint complaints (#5080)
-------------------------------------------------------------------
Tue Nov 12 09:15:10 UTC 2024 - opensuse_buildservice@ojkastl.de
- Update to version 20241105T112945Z:
* Only warn if less than 28 days to cert expires (#5077)
* Bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 (#5074)
-------------------------------------------------------------------
Thu Oct 31 10:46:30 UTC 2024 - opensuse_buildservice@ojkastl.de
- Update to version 20241029T153459Z:
* Make the profiler easier to use (#5068)
* Mark batch job status properly (#5066)
* Add string/json output string mc pipe (#5065)
* Add support rpc JSON replay. (#5064)
* Report errors and better file names for mc support inspect
(#5062)
* Add basic RPC metrics via `mc support top rpc` (#5060)
* remove s390x support
-------------------------------------------------------------------
Wed Oct 16 15:36:06 UTC 2024 - opensuse_buildservice@ojkastl.de

View File

@@ -1,4 +1,4 @@
name: minio-client
version: 20241008T093726Z
mtime: 1728380246
commit: cf128de2cf42e763e7bd30c6df8b749fa94e0c10
version: 20250813T083541Z
mtime: 1755074141
commit: 7394ce0dd2a80935aded936b09fa12cbb3cb8096

View File

@@ -1,7 +1,7 @@
#
# spec file for package minio-client
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,17 +16,20 @@
#
%define __arch_install_post export NO_BRP_STRIP_DEBUG=true
Name: minio-client
Version: 20241008T093726Z
Version: 20250813T083541Z
Release: 0
Summary: Client for MinIO
License: AGPL-3.0-only
URL: https://github.com/minio/mc
Source: %{name}-%{version}.tar.gz
Source1: vendor.tar.gz
BuildRequires: go1.22
Source: %{name}-%{version}.tar.zst
Source1: vendor.tar.zst
Source2: README.SUSE
BuildRequires: go1.23
BuildRequires: zstd
# obsolete some other package we had in the past
Provides: minio-mc = %{version}-%{release}
Obsoletes: minio-mc < %{version}-%{release}
%description
MinIO Client is a replacement for ls, cp, mkdir, diff and rsync commands for
@@ -35,6 +38,18 @@ filesystems and object storage.
Please note: In contrast to upstream this package provides the executable as
`minio-client`.
%package as-mc
Summary: Actually have an %{_bindir}/mc binary for minio-client
Conflicts: mc
Requires: %{name} = %{version}
BuildArch: noarch
%description as-mc
MinIO Client is a replacement for ls, cp, mkdir, diff and rsync commands for
filesystems and object storage.
This package restores the %{_bindir}/mc again
%prep
%autosetup -p 1 -a 1
@@ -44,18 +59,27 @@ COMMIT_HASH="$(sed -n 's/commit: \(.*\)/\1/p' %_sourcedir/%{name}.obsinfo)"
go build \
-mod=vendor \
-buildmode=pie \
-trimpath -tags kqueue \
-ldflags="-X github.com/minio/mc/cmd.Version=%{version} \
-X github.com/minio/mc/cmd.ReleaseTag=${COMMIT_HASH}" \
-trimpath \
-ldflags=" \
-X github.com/minio/mc/cmd.Version=%{version} \
-X github.com/minio/mc/cmd.ReleaseTag=${COMMIT_HASH}" \
-o bin/%{name}
cp %{SOURCE2} README.SUSE
%install
# Install the binary.
install -D -m 0755 bin/%{name} %{buildroot}/%{_bindir}/%{name}
ln -s %{name} %{buildroot}/%{_bindir}/mc
%files
%doc README.md
%doc README.md README.SUSE
%license LICENSE
%{_bindir}/%{name}
%files as-mc
%doc README.md README.SUSE
%license LICENSE
%{_bindir}/mc
%changelog

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7ba85a12f14183c69bc693f75309746306903c1d855856e57f99af78891f2ea6
size 7355184

3
vendor.tar.zst Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:968c53d7797452a4ffad4cc6624d8d5ad64b2e3447ef1b2bb6f51a46e424b110
size 4869845