Skip to content

Commit

Permalink
rpm: update livecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
samford committed May 27, 2023
1 parent b13dc9d commit a090990
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Formula/rpm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ class Rpm < Formula
end
end

# Upstream uses a 90+ patch to indicate prerelease versions (e.g., the
# tarball for "RPM 4.19 ALPHA" is `rpm-4.18.90.tar.bz2`).
livecheck do
url "https://rpm.org/download.html"
regex(/href=.*?rpm[._-]v?(\d+(?:\.\d+)+)\.t/i)
regex(/href=.*?rpm[._-]v?(\d+\.\d+(?:\.(?:\d|[1-8]\d+)(?:\.\d+)*))\.t/i)
end

bottle do
Expand Down

0 comments on commit a090990

Please sign in to comment.