## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 %bcond_without check %global debug_package %{nil} # https://git.kernel.org/pub/scm/libs/libcap/libcap.git %global goipath kernel.org/pub/linux/libs/security/libcap/psx %global forgeurl https://git.kernel.org/pub/scm/libs/libcap/libcap.git Version: 1.2.69 %global repo libcap %global archivename %{repo}-%{version} %global archiveext tar.gz %global archiveurl %{forgeurl}/snapshot/%{archivename}.%{archiveext} %global topdir %{archivename} %global extractdir %{archivename} %global scm git %gometa -f %global common_description %{expand: Package cap is the libcap API for Linux Capabilities written in Go.} %global golicenses License %global godocs README Name: %{goname} Release: %autorelease Summary: Libcap API for Linux Capabilities written in Go License: BSD-3-Clause OR GPL-2.0-only URL: %{gourl} Source: %{gosource} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 find . ! \( -name psx -o -name _build \) -maxdepth 1 -exec rm -rvf {} \; mv psx/* . %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Wed Oct 04 2023 Robert-André Mauchin - 1.2.69-1 - Uncommitted changes