helm-changelog/helm-changelog.spec

33 lines
605 B
RPMSpec
Raw Normal View History

2021-06-25 11:44:56 +03:00
%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}