Files
golang-github-opencontainer…/golang-github-opencontainers-selinux.spec
2025-01-13 13:45:37 +01:00

59 lines
1.1 KiB
RPMSpec

# Generated by go2rpm 1.15.0
%bcond check 0
%bcond bootstrap 0
%global debug_package %{nil}
%if %{with bootstrap}
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$
%endif
# https://github.com/opencontainers/selinux
%global goipath github.com/opencontainers/selinux
Version: 1.11.0
%global tag v1.11.0
%gometa -L -f
%global common_description %{expand:
Common selinux implementation.}
%global golicenses LICENSE
%global godocs CONTRIBUTING.md README.md pkg/pwalk/README.md\\\
pkg/pwalkdir/README.md
Name: golang-github-opencontainers-selinux
Release: %autorelease
Summary: Common selinux implementation
License: Apache-2.0
URL: %{gourl}
Source: %{gosource}
%description %{common_description}
%gopkg
%prep
%goprep -A
%autopatch -p1 -q
%if %{without bootstrap}
%generate_buildrequires
%go_generate_buildrequires
%endif
%install
%gopkginstall
%if %{without bootstrap}
%if %{with check}
%check
%gocheck
%endif
%endif
%gopkgfiles
%changelog
%autochangelog