Blame golang-github-coreos-systemd.spec

3fbbad2
# Generated by go2rpm 1.9.0
d1129aa
%bcond_without check
2839c63
%global debug_package %{nil}
d1129aa
d1129aa
# https://github.com/coreos/go-systemd
d1129aa
%global goipath         github.com/coreos/go-systemd
3fbbad2
Version:                22.5.0
d1129aa
d1129aa
%gometa
d1129aa
0ba4c38
%global goaltipaths     github.com/coreos/go-systemd/v22
e29b554
d1129aa
%global common_description %{expand:
d1129aa
Go bindings to systemd. The project has several packages:
d1129aa
d1129aa
 - activation - for writing and using socket activation from Go
d1129aa
 - daemon - for notifying systemd of service status changes
d1129aa
 - dbus - for starting/stopping/inspecting running services and units
d1129aa
 - journal - for writing to systemd's logging service, journald
d1129aa
 - sdjournal - for reading from journald by wrapping its C API
d1129aa
 - login1 - for integration with the systemd logind API
d1129aa
 - machine1 - for registering machines/containers with systemd
d1129aa
 - unit - for (de)serialization and comparison of unit files
d1129aa
}
d1129aa
d1129aa
%global golicenses      LICENSE NOTICE
d1129aa
%global godocs          examples CONTRIBUTING.md README.md code-of-conduct.md
d1129aa
d1129aa
Name:           %{goname}
f029041
Release:        %autorelease
d1129aa
Summary:        Go bindings to systemd socket activation, journal, D-Bus, and unit files
d1129aa
2839c63
License:        Apache-2.0
d1129aa
URL:            %{gourl}
2839c63
Source:         %{gosource}
d1129aa
2839c63
%description %{common_description}
d1129aa
d1129aa
%gopkg
d1129aa
d1129aa
%prep
d1129aa
%goprep
3fbbad2
%autopatch -p1
2839c63
2839c63
%generate_buildrequires
2839c63
%go_generate_buildrequires
d1129aa
d1129aa
%install
d1129aa
%gopkginstall
d1129aa
d1129aa
%if %{with check}
d1129aa
%check
2839c63
%gocheck -d dbus \
2839c63
         -d import1 \
2839c63
         -d internal/dlopen \
2839c63
         -d journal \
2839c63
         -d login1 \
2839c63
         -d machine1 \
2839c63
         -d sdjournal \
2839c63
         -d util
d1129aa
%endif
d1129aa
d1129aa
%gopkgfiles
d1129aa
d1129aa
%changelog
f029041
%autochangelog