## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by go2rpm 1.16.0 %bcond check 1 %bcond bootstrap 0 %global debug_package %{nil} %if %{with bootstrap} %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$ %endif # The '-z now' flag, which is the opposite of '-z lazy', isn't supported: # https://github.com/NVIDIA/go-nvml/issues/18 %global _hardening_ldflags %(echo %_hardening_ldflags | sed 's/-Wl,-z,now//g') # https://github.com/NVIDIA/go-nvlib %global goipath github.com/NVIDIA/go-nvlib Version: 0.7.1 %gometa -L -f %global common_description %{expand: A collection of useful Go libraries for use with NVIDIA GPU management tools.} %global golicenses LICENSE NOTICE %global godocs CONTRIBUTING.md README.md %global gosupfiles pkg/pciids/default_pci.ids Name: %{goname} Release: %autorelease Summary: A collection of useful Go libraries for use with NVIDIA GPU management tools License: Apache-2.0 AND (BSD-3-Clause OR GPL-2.0-or-later) URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep -A %autopatch -p1 %if %{without bootstrap} %generate_buildrequires %go_generate_buildrequires %endif %install %gopkginstall %if %{without bootstrap} %if %{with check} %check %gocheck %endif %endif %gopkgfiles %changelog ## START: Generated by rpmautospec * Thu Jul 24 2025 Fedora Release Engineering - 0.7.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Tue Apr 22 2025 Debarshi Ray - 0.7.1-1 - Update to 0.7.1 * Thu Jan 23 2025 Debarshi Ray - 0.7.0-2 - Unbreak the pkg/nvlib/device and pkg/nvlib/info tests * Mon Jan 20 2025 Debarshi Ray - 0.7.0-1 - Update to 0.7.0 * Fri Jan 17 2025 Fedora Release Engineering - 0.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Mon Sep 23 2024 Debarshi Ray - 0.6.1-1 - Initial build ## END: Generated by rpmautospec