## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; 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.9.0 # https://github.com/google/nftables/issues/210 %ifarch s390x %bcond_with check %else %bcond_without check %endif %global debug_package %{nil} # https://github.com/google/nftables %global goipath github.com/google/nftables Version: 0.1.0 %gometa -f %global common_description %{expand: This repository contains a Go module to interact with Linux nftables (the iptables successor).} %global golicenses LICENSE %global godocs CONTRIBUTING.md README.md Name: %{goname} Release: %autorelease Summary: Go module to interact with nftables (the iptables successor) License: Apache-2.0 URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog ## START: Generated by rpmautospec * Wed Jan 24 2024 Fedora Release Engineering - 0.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 20 2024 Fedora Release Engineering - 0.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 0.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sun Jul 09 2023 Davide Cavalca - 0.1.0-1 - Initial import; Fixes: RHBZ#2208087 ## END: Generated by rpmautospec