wok diff python-ethtool/receipt @ rev 25691

Up lynis (3.1.1), ncurses-examples (20211021)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 16 10:43:04 2024 +0000 (6 weeks ago)
parents d56de587d8e8
children
line diff
     1.1 --- a/python-ethtool/receipt	Fri Jul 01 17:05:43 2022 +0100
     1.2 +++ b/python-ethtool/receipt	Tue Apr 16 10:43:04 2024 +0000
     1.3 @@ -16,10 +16,11 @@
     1.4  DEPENDS="libnl python"
     1.5  BUILD_DEPENDS="libnl-dev pkg-config python python-dev python-setuptools"
     1.6  
     1.7 +# What is the latest version available today?
     1.8  current_version()
     1.9  {
    1.10 -	wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    1.11 -	sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
    1.12 +	wget -O - https://github.com/fedora-python/python-ethtool/releases 2>/dev/null | \
    1.13 +	sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
    1.14  }
    1.15  
    1.16  # Rules to configure and make the package.