From b60cd688bfa46c12a971cec6d151032bb10624b10d10c0d8c2a0024fc6990a2c Mon Sep 17 00:00:00 2001 From: Richard Brown Date: Fri, 28 May 2021 12:33:03 +0000 Subject: [PATCH] Accepting request 895583 from home:ojkastl_buildservice:Branch_devel_kubic new package pluto: A cli tool to help discover deprecated apiVersions in Kubernetes OBS-URL: https://build.opensuse.org/request/show/895583 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/pluto?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++++++++ .gitignore | 1 + _service | 21 +++++++++++++++++++ _servicedata | 4 ++++ pluto-4.1.2.tar.gz | 3 +++ pluto.changes | 4 ++++ pluto.spec | 52 ++++++++++++++++++++++++++++++++++++++++++++++ vendor.tar.gz | 3 +++ 8 files changed, 111 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 _servicedata create mode 100644 pluto-4.1.2.tar.gz create mode 100644 pluto.changes create mode 100644 pluto.spec create mode 100644 vendor.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..7d8db40 --- /dev/null +++ b/_service @@ -0,0 +1,21 @@ + + + https://github.com/FairwindsOps/pluto + git + .git + v4.1.2 + @PARENT_TAG@ + enable + v(.*) + + + pluto + + + *.tar + gz + + + pluto-4.1.2.tar.gz + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..43f9f64 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/FairwindsOps/pluto + 80fc8ccac6158c48e774bf69a759f1fc3b194cdd \ No newline at end of file diff --git a/pluto-4.1.2.tar.gz b/pluto-4.1.2.tar.gz new file mode 100644 index 0000000..f6d906b --- /dev/null +++ b/pluto-4.1.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3ed5517865423255673a7624405b3c5dff87c37514a784f76e22b594a54edb38 +size 233011 diff --git a/pluto.changes b/pluto.changes new file mode 100644 index 0000000..3cf5c11 --- /dev/null +++ b/pluto.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Wed May 26 17:31:51 UTC 2021 - Johannes Kastl + +- initial version of package pluto diff --git a/pluto.spec b/pluto.spec new file mode 100644 index 0000000..89d6c29 --- /dev/null +++ b/pluto.spec @@ -0,0 +1,52 @@ +# +# spec file for package pluto +# +# Copyright (c) 2021 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/ +# + + +%define __arch_install_post export NO_BRP_STRIP_DEBUG=true + +Name: pluto +Version: 4.1.2 +Release: 0 +Summary: A cli tool to help discover deprecated apiVersions in Kubernetes +License: Apache-2.0 +URL: https://github.com/FairwindsOps/pluto +Source: pluto-%{version}.tar.gz +Source1: vendor.tar.gz +BuildRequires: go >= 1.13 + +%description +Pluto is a utility to help users find deprecated Kubernetes apiVersions in their code repositories and their helm releases. + +%prep +%setup -q +%setup -q -T -D -a 1 + +%build +go build \ + -mod=vendor \ + -ldflags="-X main.Version=%{version}" + +%install +# Install the binary. +install -D -m 0755 %{name} "%{buildroot}/%{_bindir}/%{name}" + +%files +%doc README.md +%license LICENSE +%{_bindir}/%{name} + +%changelog diff --git a/vendor.tar.gz b/vendor.tar.gz new file mode 100644 index 0000000..174bf87 --- /dev/null +++ b/vendor.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8288bef8cbd2d2bf1e126be38fe9af43ff75551d9060696782d22ffc0fac36f5 +size 4826322