import UBI netavark-1.7.0-1.module+el8.9.0+20326+387084d0

This commit is contained in:
eabdullin 2023-11-15 22:09:14 +00:00
parent 9477a70b93
commit 3f45030d7f
3 changed files with 16 additions and 23 deletions

4
.gitignore vendored
View File

@ -1,2 +1,2 @@
SOURCES/netavark-1.5.1-8a6d81c.tar.gz
SOURCES/netavark-v1.5.1-vendor.tar.gz
SOURCES/1.7.0.tar.gz
SOURCES/netavark-v1.7.0-vendor.tar.gz

View File

@ -1,2 +1,2 @@
1801a1263234f932aec8ccd7e1aac72ca233d7c5 SOURCES/netavark-1.5.1-8a6d81c.tar.gz
23424f386f3968ddf6e3f29ae65320f71b7bf45a SOURCES/netavark-v1.5.1-vendor.tar.gz
1f94c6642ee9c6d033a50d56f960a28cede6f3ed SOURCES/1.7.0.tar.gz
48f77690b2123394dd2c2ff95231b7a4733b27ab SOURCES/netavark-v1.7.0-vendor.tar.gz

View File

@ -1,23 +1,15 @@
# debuginfo doesn't work yet
%global debug_package %{nil}
#%%global branch v1.5.0-rhel
%global commit0 8a6d81c51b2a130a3c93d94587df81053e208e05
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
Epoch: 2
Name: netavark
Version: 1.5.1
Release: 2%{?dist}
Version: 1.7.0
Release: 1%{?dist}
License: ASL 2.0 and BSD and MIT
ExclusiveArch: %{rust_arches}
Summary: OCI network stack
URL: https://github.com/containers/%{name}
%if 0%{?branch:1}
Source0: https://github.com/containers/%{name}/tarball/%{commit0}/%{branch}-%{shortcommit0}.tar.gz
%else
Source0: https://github.com/containers/%{name}/archive/%{commit0}/%{name}-%{version}-%{shortcommit0}.tar.gz
%endif
Source0: %{url}/archive/v%{version}/%{version}.tar.gz
Source1: %{url}/releases/download/v%{version}/%{name}-v%{version}-vendor.tar.gz
Source2: netavark.1
BuildRequires: cargo
@ -53,11 +45,7 @@ Its features include:
* Support for container DNS resolution via aardvark-dns.
%prep
%if 0%{?branch:1}
%autosetup -Sgit -n containers-%{name}-%{shortcommit0}
%else
%autosetup -Sgit -n %{name}-%{commit0}
%endif
%autosetup -Sgit
tar fx %{SOURCE1}
mkdir -p .cargo
@ -89,12 +77,17 @@ cp %{SOURCE2} .
%license LICENSE
%dir %{_libexecdir}/podman
%{_libexecdir}/podman/%{name}
/usr/lib/systemd/system/*
%{_mandir}/man1/%{name}.1*
%changelog
* Wed Jun 07 2023 Jindrich Novy <jnovy@redhat.com> - 2:1.5.1-2
- update to 1.5.1 bugfix release
- Resolves: #2211989
* Mon Jul 03 2023 Jindrich Novy <jnovy@redhat.com> - 2:1.7.0-1
- update to https://github.com/containers/netavark/releases/tag/v1.7.0
- Related: #2176055
* Mon May 22 2023 Jindrich Novy <jnovy@redhat.com> - 2:1.6.0-1
- update to https://github.com/containers/netavark/releases/tag/v1.6.0
- Related: #2176055
* Thu Apr 20 2023 Jindrich Novy <jnovy@redhat.com> - 2:1.5.0-5
- fix --dns-add command is not functioning