From b8dc7f559f3fa22b7f4e538cd8b1e7553d865722 Mon Sep 17 00:00:00 2001 From: Sergey Zhemoitel Date: Fri, 25 Jun 2021 11:44:56 +0300 Subject: [PATCH] Imported from SRPM --- .abf.yml | 2 ++ helm-changelog.spec | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 .abf.yml create mode 100644 helm-changelog.spec diff --git a/.abf.yml b/.abf.yml new file mode 100644 index 0000000..ca54a13 --- /dev/null +++ b/.abf.yml @@ -0,0 +1,2 @@ +sources: + helm-changelog-0.0.1.tar.gz: 6080e23c7a3568a94e945fa8b522d01a6e7b77a6 diff --git a/helm-changelog.spec b/helm-changelog.spec new file mode 100644 index 0000000..cc6ac9b --- /dev/null +++ b/helm-changelog.spec @@ -0,0 +1,32 @@ +%define debug %nil +%define debug_package %nil + +Name: helm-changelog +Version: 0.0.1 +Release: 1 +Summary: Create changelogs for Helm Charts +URL: https://github.com/mogensen/helm-changelog +Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz +License: ASL 2.0 +Group: Development/Other +BuildRequires: go >= 1.11 +BuildRequires: upx +BuildRequires: git-core + +%description +Create changelogs for Helm Charts, based on git history + +%prep +%setup -q + +%build +make build +upx bin/%{name} + +%install +install -Dm0755 bin/%{name} %{buildroot}%{_bindir}/%{name} + +%files +%doc README.md LICENSE +%{_bindir}/%{name} +