Fix sources
OBS-URL: https://build.opensuse.org/package/show/devel:microos/netavark?expand=0&rev=31
This commit is contained in:
parent
01d90297f8
commit
9020a29080
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 27 19:17:10 UTC 2024 - Alexandre Vicenzi <alexandre.vicenzi@suse.com>
|
||||
|
||||
- Fix source definition for netavark-iptables.conf and netavark-nftables.conf
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 1 09:58:34 UTC 2024 - Alexandre Vicenzi <alexandre.vicenzi@suse.com>
|
||||
|
||||
|
@ -26,7 +26,8 @@ License: Apache-2.0
|
||||
URL: https://github.com/containers/%{name}
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Source1: vendor.tar.gz
|
||||
Source2: netavark-%{?default_firewall_backend}.conf
|
||||
Source2: netavark-iptables.conf
|
||||
Source3: netavark-nftables.conf
|
||||
BuildRequires: cargo-packaging
|
||||
BuildRequires: go-md2man
|
||||
BuildRequires: protobuf-devel
|
||||
@ -68,8 +69,7 @@ go-md2man -in %{name}.1.md -out %{name}.1
|
||||
%install
|
||||
%make_install DESTDIR=%{buildroot} PREFIX=%{_prefix} LIBEXECDIR=%{_libexecdir}
|
||||
|
||||
mkdir -p %{buildroot}%{_prefix}/lib/modules-load.d
|
||||
install -m 0644 -t %{buildroot}%{_prefix}/lib/modules-load.d/ %{SOURCE2}
|
||||
install -D -m 0644 ${RPM_SOURCE_DIR}/netavark-%{default_firewall_backend}.conf %{buildroot}%{_prefix}/lib/modules-load.d/netavark-%{default_firewall_backend}.conf
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
|
Loading…
x
Reference in New Issue
Block a user