upgrade to v1.2.0
(cherry picked from commit a54286329eaa88e5336cf9eb6c68ddd98e060f2c)
This commit is contained in:
parent
3cfd99c4f6
commit
c0beb55c7a
Binary file not shown.
@ -1,18 +1,13 @@
|
||||
%global git0 https://github.com/rootless-containers/%{name}
|
||||
%global commit0 6dc0186e020232ae1a6fcc1f7afbc3ea02fd3876
|
||||
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
|
||||
|
||||
# Used for comparing with latest upstream tag
|
||||
# to decide whether to autobuild (non-rawhide only)
|
||||
%define built_tag v1.1.9
|
||||
%global built_tag v1.2.0
|
||||
%global built_tag_strip %(b=%{built_tag}; echo ${b:1})
|
||||
|
||||
Name: slirp4netns
|
||||
Version: 1.1.9
|
||||
Version: 1.2.0
|
||||
Release: 1
|
||||
Summary: slirp for network namespaces
|
||||
License: GPLv2
|
||||
URL: https://github.com/rootless-containers/slirp4netns
|
||||
Source0: %{git0}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz
|
||||
Source0: %{url}/archive/%{built_tag}.tar.gz
|
||||
Source1: https://github.com/cpuguy83/go-md2man/archive/v1.0.10.tar.gz
|
||||
BuildRequires: autoconf automake gcc glib2-devel
|
||||
BuildRequires: git libcap-devel golang
|
||||
@ -33,7 +28,7 @@ building other packages which use import path with
|
||||
%{import_path} prefix.
|
||||
|
||||
%prep
|
||||
%autosetup -Sgit -n %{name}-%{commit0}
|
||||
%autosetup -Sgit -n %{name}-%{built_tag_strip}
|
||||
tar -xf %SOURCE1
|
||||
|
||||
%build
|
||||
@ -64,5 +59,8 @@ make DESTDIR=%{buildroot} install install-man
|
||||
%{_mandir}/man1/%{name}.1.gz
|
||||
|
||||
%changelog
|
||||
* Tue Jun 07 2022 duyiwei <duyiwei@kylinos.cn> - 1.2.0-1
|
||||
- upgrade to v1.2.0
|
||||
|
||||
* Wed Jan 26 2022 duyiwei <duyiwei@kylinos.cn> - 1.1.9-1
|
||||
- Package init
|
||||
- Package init
|
||||
|
||||
BIN
v1.2.0.tar.gz
Normal file
BIN
v1.2.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user