Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Commit

Permalink
rpm: fixed RPMEPOCH support
Browse files Browse the repository at this point in the history
  • Loading branch information
Icenowy committed Dec 18, 2015
1 parent 0e19d56 commit 2824b35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pm/rpm/pack
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ cat > abspec << _ab_rpm_endspec
Name: $PKGNAME
Version: ${PKGVER//-/_}
Release: $PKGREL
$(rpmopttag Epoch $PKGEPOCH)
$(rpmopttag Epoch $([ "$RPMEPOCH" ] && echo $RPMEPOCH || echo $PKGEPOCH) )
Summary: $PKGDES
Group: $(sed -f "$AB/pm/rpm/rpm-sec" <<< "$PKGSEC")
Expand Down

1 comment on commit 2824b35

@Artoria2e5
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is shit. I will write some rationale.

Please sign in to comment.