Danish Prakash 2024-11-28 10:59:09 +00:00 committed by Git OBS Bridge
parent 01d90297f8
commit 9020a29080
2 changed files with 8 additions and 3 deletions

View File

@ -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>

View File

@ -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