wok diff apache-mod-wsgi/receipt @ rev 25597

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 11:24:03 2023 +0000 (10 months ago)
parents 079c61a21362
children 096ad9edc98b
line diff
     1.1 --- a/apache-mod-wsgi/receipt	Tue Jun 28 16:29:10 2022 +0100
     1.2 +++ b/apache-mod-wsgi/receipt	Sun Jul 16 11:24:03 2023 +0000
     1.3 @@ -15,10 +15,11 @@
     1.4  DEPENDS="apache python"
     1.5  BUILD_DEPENDS="acl acl-dev apache apache-dev apr-dev apr-util-dev python-dev sed"
     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|.*/\(.*\).tar.*|\1|;q'
    1.12 +	sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
    1.13  }
    1.14  
    1.15  # Rules to configure and make the package.