1
0

- Rework _service and spec file to make future version updates easier

OBS-URL: https://build.opensuse.org/package/show/filesystems:ceph/csi-external-resizer?expand=0&rev=3
This commit is contained in:
Tim Serong 2020-11-18 05:18:09 +00:00 committed by Git OBS Bridge
parent ebe1bd1d9f
commit 5ecfafafac
6 changed files with 22 additions and 14 deletions

View File

@ -2,14 +2,17 @@
<service name="tar_scm" mode="disabled"> <service name="tar_scm" mode="disabled">
<param name="url">https://github.com/kubernetes-csi/external-resizer</param> <param name="url">https://github.com/kubernetes-csi/external-resizer</param>
<param name="scm">git</param> <param name="scm">git</param>
<param name="filename">csi-external-resizer</param>
<param name="exclude">.git</param> <param name="exclude">.git</param>
<param name="versionformat">0.4.0</param> <param name="versionformat">0.4.0</param>
<param name="revision">b4482a2</param> <param name="revision">v0.4.0</param>
</service> </service>
<service name="recompress" mode="disabled"> <service name="recompress" mode="disabled">
<param name="file">*.tar</param> <param name="file">*.tar</param>
<param name="compression">gz</param> <param name="compression">gz</param>
</service> </service>
<service name="set_version" mode="disabled">
</service>
<service name="go_modules" mode="disabled"> <service name="go_modules" mode="disabled">
</service> </service>
</services> </services>

View File

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

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Nov 18 05:09:20 UTC 2020 - Tim Serong <tserong@suse.com>
- Rework _service and spec file to make future version updates easier
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Aug 5 04:40:46 UTC 2020 - Chin-Ya Huang <chin-ya.huang@suse.com> Wed Aug 5 04:40:46 UTC 2020 - Chin-Ya Huang <chin-ya.huang@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package csi-resizer # spec file for package csi-external-resizer
# #
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -12,9 +12,10 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
%{go_nostrip} %{go_nostrip}
%define project github.com/kubernetes-csi/external-resizer %define project github.com/kubernetes-csi/external-resizer
@ -27,8 +28,8 @@ Release: 0
Summary: Allows volume expansion after creation Summary: Allows volume expansion after creation
License: Apache-2.0 License: Apache-2.0
Group: System/Management Group: System/Management
Url: https://%{project} URL: https://%{project}
Source: %{source}-%{version}.tar.gz Source: %{name}-%{version}.tar.gz
Source1: vendor.tar.gz Source1: vendor.tar.gz
BuildRequires: golang-packaging BuildRequires: golang-packaging
BuildRequires: golang(API) >= 1.13 BuildRequires: golang(API) >= 1.13
@ -37,8 +38,8 @@ BuildRequires: golang(API) >= 1.13
The CSI external-resizer is a sidecar container that watches the Kubernetes API server for PersistentVolumeClaim updates and triggers ControllerExpandVolume operations against a CSI endpoint if user requested more storage on PersistentVolumeClaim object. The CSI external-resizer is a sidecar container that watches the Kubernetes API server for PersistentVolumeClaim updates and triggers ControllerExpandVolume operations against a CSI endpoint if user requested more storage on PersistentVolumeClaim object.
%prep %prep
%setup -q -n %{source}-%{version} %setup -q
%setup -q -T -D -a 1 -n %{source}-%{version} %setup -q -T -D -a 1
%build %build
%goprep %{project} %goprep %{project}
@ -56,4 +57,3 @@ export CGO_ENABLED=0
%{_bindir}/%{package} %{_bindir}/%{package}
%changelog %changelog

View File

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

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:6b2523b8b3cc8974ee2b2900cfeaba9585dd7aec477904a1960c49dd663d72bb oid sha256:228cb713ffb665e4e87411528a40bee54db8cfd9495fc1769a048814fae61248
size 4665396 size 4767379