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

Commit 2824b35

Browse files
committed
rpm: fixed RPMEPOCH support
1 parent 0e19d56 commit 2824b35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pm/rpm/pack

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ cat > abspec << _ab_rpm_endspec
6868
Name: $PKGNAME
6969
Version: ${PKGVER//-/_}
7070
Release: $PKGREL
71-
$(rpmopttag Epoch $PKGEPOCH)
71+
$(rpmopttag Epoch $([ "$RPMEPOCH" ] && echo $RPMEPOCH || echo $PKGEPOCH) )
7272
Summary: $PKGDES
7373
7474
Group: $(sed -f "$AB/pm/rpm/rpm-sec" <<< "$PKGSEC")

0 commit comments

Comments
 (0)