Skip to content

Commit

Permalink
spec: Drop forge tag lua tweak
Browse files Browse the repository at this point in the history
Appears to not be needed, simply setting tag to the version now works.
  • Loading branch information
bcl committed Jun 13, 2024
1 parent 306c75a commit a446655
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lorax.spec
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ Release: 1%{?dist}
Summary: Tool for creating the anaconda install images
License: GPL-2.0-or-later

# Get the release without the dist
%define nodist %{lua:r = string.gsub(rpm.expand("%{release}"), rpm.expand("%{?dist}"), ""); print(r)}
%global tag %{name}-%{version}-%{nodist}
%global tag %{version}
%forgemeta
Url: %{forgeurl}
Source0: %{forgesource}
Expand Down

0 comments on commit a446655

Please sign in to comment.