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-snapshotter?expand=0&rev=3
This commit is contained in:
Tim Serong 2020-11-18 05:19:56 +00:00 committed by Git OBS Bridge
parent 788ca4051e
commit 6747ef8ede
6 changed files with 22 additions and 14 deletions

View File

@ -3,13 +3,16 @@
<param name="url">https://github.com/kubernetes-csi/external-snapshotter</param> <param name="url">https://github.com/kubernetes-csi/external-snapshotter</param>
<param name="scm">git</param> <param name="scm">git</param>
<param name="exclude">.git</param> <param name="exclude">.git</param>
<param name="filename">csi-external-snapshotter</param>
<param name="versionformat">2.1.1</param> <param name="versionformat">2.1.1</param>
<param name="revision">034c5458</param> <param name="revision">v2.1.1</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:788e9431e56d92a057288b07747ab506da28e2c490859fe19cf462c494881ca7
size 5894098

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Nov 18 05:09:25 UTC 2020 - Tim Serong <tserong@suse.com>
- Rework _service and spec file to make future version updates easier
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Aug 25 06:21:43 UTC 2020 - Tim Serong <tserong@suse.com> Tue Aug 25 06:21:43 UTC 2020 - Tim Serong <tserong@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package csi-snapshotter # spec file for package csi-external-snapshotter
# #
# 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-snapshotter/v2 %define project github.com/kubernetes-csi/external-snapshotter/v2
@ -27,8 +28,8 @@ Release: 0
Summary: Triggers CreateSnapshot/DeleteSnapshot against a CSI endpoint Summary: Triggers CreateSnapshot/DeleteSnapshot against a CSI endpoint
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.12 BuildRequires: golang(API) >= 1.12
@ -37,8 +38,8 @@ BuildRequires: golang(API) >= 1.12
Kubernetes CSI external-snapshotter sidecar watches Kubernetes VolumeSnapshotContent CRD objects and triggers CreateSnapshot/DeleteSnapshot against a CSI endpoint. Kubernetes CSI external-snapshotter sidecar watches Kubernetes VolumeSnapshotContent CRD objects and triggers CreateSnapshot/DeleteSnapshot against a CSI endpoint.
%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:cd650d0186aa9007ade1ecfb0c3d7de9c6ec4643cea0cab16d672fb45067968d
size 5884571

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:ae1756deb308422ec5fad761116ab93265988a244848bb4469d0f02e8b63db3c oid sha256:747cbb1b3deecc2003c71fae1a5b6e06122c429c56abce4b74e37d46423736aa
size 5525448 size 5651004