diff --git a/slirp4netns-6dc0186.tar.gz b/slirp4netns-6dc0186.tar.gz deleted file mode 100644 index a5710f9..0000000 Binary files a/slirp4netns-6dc0186.tar.gz and /dev/null differ diff --git a/slirp4netns.spec b/slirp4netns.spec index 52bcfed..b9d675b 100644 --- a/slirp4netns.spec +++ b/slirp4netns.spec @@ -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 - 1.2.0-1 +- upgrade to v1.2.0 + * Wed Jan 26 2022 duyiwei - 1.1.9-1 -- Package init \ No newline at end of file +- Package init diff --git a/v1.2.0.tar.gz b/v1.2.0.tar.gz new file mode 100644 index 0000000..8419a0b Binary files /dev/null and b/v1.2.0.tar.gz differ