|
|
22f8d4 |
#
|
|
|
22f8d4 |
# spec file for package nova
|
|
|
22f8d4 |
#
|
|
|
5f6bb8 |
# Copyright (c) 2023 SUSE LLC
|
|
|
22f8d4 |
#
|
|
|
22f8d4 |
# All modifications and additions to the file contributed by third parties
|
|
|
22f8d4 |
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
22f8d4 |
# upon. The license for this file, and modifications and additions to the
|
|
|
22f8d4 |
# file, is the same license as for the pristine package itself (unless the
|
|
|
22f8d4 |
# license for the pristine package is not an Open Source License, in which
|
|
|
22f8d4 |
# case the license is the MIT License). An "Open Source License" is a
|
|
|
22f8d4 |
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
22f8d4 |
# published by the Open Source Initiative.
|
|
|
22f8d4 |
|
|
|
22f8d4 |
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
22f8d4 |
#
|
|
|
22f8d4 |
|
|
|
22f8d4 |
|
|
|
22f8d4 |
%define __arch_install_post export NO_BRP_STRIP_DEBUG=true
|
|
|
22f8d4 |
|
|
|
22f8d4 |
Name: nova
|
|
Bernhard M. Wiedemann |
399b1f |
Version: 3.6.2
|
|
|
22f8d4 |
Release: 0
|
|
|
22f8d4 |
Summary: Find outdated or deprecated Helm charts running in your cluster
|
|
|
22f8d4 |
License: Apache-2.0
|
|
|
22f8d4 |
URL: https://github.com/FairwindsOps/nova
|
|
|
22f8d4 |
Source: nova-%{version}.tar.gz
|
|
|
22f8d4 |
Source1: vendor.tar.gz
|
|
Bernhard M. Wiedemann |
1df605 |
BuildRequires: go >= 1.17
|
|
|
22f8d4 |
|
|
|
e7286a |
# found conflict of nova-3.4.0-1.1.x86_64 with python3-novaclient-17.6.0-1.2.noarch
|
|
|
22f8d4 |
# /usr/bin/nova
|
|
|
22f8d4 |
Conflicts: python3-novaclient
|
|
|
22f8d4 |
|
|
|
22f8d4 |
%description
|
|
|
22f8d4 |
Nova scans your cluster for installed Helm charts, then cross-checks them against all known Helm repositories. If it finds an updated version of the chart you're using, or notices your current version is deprecated, it will let you know.
|
|
|
22f8d4 |
|
|
|
22f8d4 |
%prep
|
|
|
22f8d4 |
%setup -q
|
|
|
22f8d4 |
%setup -q -T -D -a 1
|
|
|
22f8d4 |
|
|
|
22f8d4 |
%build
|
|
|
22f8d4 |
go build \
|
|
|
22f8d4 |
-mod=vendor \
|
|
|
22f8d4 |
-ldflags="-X main.Version=%{version}"
|
|
|
22f8d4 |
|
|
|
22f8d4 |
%install
|
|
|
22f8d4 |
# Install the binary.
|
|
|
22f8d4 |
install -D -m 0755 %{name} "%{buildroot}/%{_bindir}/%{name}"
|
|
|
22f8d4 |
|
|
|
22f8d4 |
%files
|
|
|
22f8d4 |
%doc README.md
|
|
|
22f8d4 |
%license LICENSE
|
|
|
22f8d4 |
%{_bindir}/%{name}
|
|
|
22f8d4 |
|
|
|
22f8d4 |
%changelog
|