Compare commits
No commits in common. "epel8" and "epel9" have entirely different histories.
10
nebula.spec
10
nebula.spec
@ -25,10 +25,8 @@ Source0: %{gosource}
|
|||||||
Source1: %{name}-vendor-%{version}.tar.gz
|
Source1: %{name}-vendor-%{version}.tar.gz
|
||||||
|
|
||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
|
|
||||||
%if 0%{?fedora}
|
|
||||||
BuildRequires: go-rpm-macros
|
BuildRequires: go-rpm-macros
|
||||||
%endif
|
BuildRequires: compiler(go-compiler)
|
||||||
|
|
||||||
# Let's be sure that people do not upgrade from the "old" nebula. We can sensibly drop it by F39
|
# Let's be sure that people do not upgrade from the "old" nebula. We can sensibly drop it by F39
|
||||||
Conflicts: nebula < 1.0
|
Conflicts: nebula < 1.0
|
||||||
@ -71,9 +69,7 @@ done
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if 0%{?fedora}
|
|
||||||
%gopkginstall
|
%gopkginstall
|
||||||
%endif
|
|
||||||
install -m 0755 -vd %{buildroot}%{_bindir}
|
install -m 0755 -vd %{buildroot}%{_bindir}
|
||||||
install -m 0755 -vp bin/* %{buildroot}%{_bindir}/
|
install -m 0755 -vp bin/* %{buildroot}%{_bindir}/
|
||||||
install -m 0755 -vd %{buildroot}%{_sysconfdir}/%{name}
|
install -m 0755 -vd %{buildroot}%{_sysconfdir}/%{name}
|
||||||
@ -82,10 +78,8 @@ install -m 0644 -vDp dist/fedora/nebula.service %{buildroot}%{_unitdir}/%{name}.
|
|||||||
|
|
||||||
%if %{with check}
|
%if %{with check}
|
||||||
%check
|
%check
|
||||||
%if 0%{?fedora}
|
|
||||||
%gocheck
|
%gocheck
|
||||||
%endif
|
%endif
|
||||||
%endif
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%systemd_post nebula.service
|
%systemd_post nebula.service
|
||||||
@ -104,9 +98,7 @@ install -m 0644 -vDp dist/fedora/nebula.service %{buildroot}%{_unitdir}/%{name}.
|
|||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_unitdir}/%{name}.service
|
%{_unitdir}/%{name}.service
|
||||||
|
|
||||||
%if 0%{?fedora}
|
|
||||||
%gopkgfiles
|
%gopkgfiles
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
%autochangelog
|
%autochangelog
|
||||||
|
Loading…
Reference in New Issue
Block a user