From dde82a1d89b7224d62444510c8fe1b13891de013 Mon Sep 17 00:00:00 2001 From: Sergey Zhemoitel Date: Mon, 20 Dec 2021 01:31:59 +0300 Subject: [PATCH] Imported from SRPM --- .abf.yml | 2 ++ helm-mirror.rpmlintrc | 2 ++ helm-mirror.spec | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 37 insertions(+) create mode 100644 .abf.yml create mode 100644 helm-mirror.rpmlintrc create mode 100644 helm-mirror.spec diff --git a/.abf.yml b/.abf.yml new file mode 100644 index 0000000..8577230 --- /dev/null +++ b/.abf.yml @@ -0,0 +1,2 @@ +sources: + helm-mirror-0.3.1.tar.gz: bf4db2cdc8f8eec091fe890ab289db5d5f876990 diff --git a/helm-mirror.rpmlintrc b/helm-mirror.rpmlintrc new file mode 100644 index 0000000..00b1e15 --- /dev/null +++ b/helm-mirror.rpmlintrc @@ -0,0 +1,2 @@ +addFilter("E: shared-lib-without-dependency-information") + diff --git a/helm-mirror.spec b/helm-mirror.spec new file mode 100644 index 0000000..0c26bfb --- /dev/null +++ b/helm-mirror.spec @@ -0,0 +1,33 @@ +%define debug %nil +%define debug_package %nil + +Name: helm-mirror +Version: 0.3.1 +Release: 1 +Summary: Helm plugin used to mirror repositories +URL: https://github.com/openSUSE/helm-mirror +Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz +Source1000: %{name}.rpmlintrc +License: ASL 2.0 +Group: Development/Other +BuildRequires: go +BuildRequires: git-core +BuildRequires: upx + +%description +Helm plugin used to mirror Chart repositories + +%prep +%setup -q + +%build +%make +upx bin/%{name} + +%install +install -Dm0755 bin/%{name} %{buildroot}%{_bindir}/%{name} + +%files +%doc README.md LICENSE +%{_bindir}/%{name} +