Skip to content

Commit

Permalink
build: resolve rpm packaging warning about epoch vs changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
natoscott committed Jul 9, 2024
1 parent 5024844 commit 813aae4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makepkgs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ then
exit 1
fi

# set SOURCE_DATE_EPOCH for tools like rpmbuild
export STRING_DATE_EPOCH=`date +%s`
export SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH:-$STRING_DATE_EPOCH}"

tmp=`mktemp -d /tmp/pcp.XXXXXXXXX` || exit 1
trap "rm -rf $tmp" 0 1 2 3 15
target=`uname -s | tr 'A-Z' 'a-z'`
Expand Down

0 comments on commit 813aae4

Please sign in to comment.