diff --git a/limnoria.spec b/limnoria.spec index b0eb8c9..66cc9fe 100644 --- a/limnoria.spec +++ b/limnoria.spec @@ -99,7 +99,8 @@ sed -i 1"s|#!/usr/bin/python||" plugins/Debug/plugin.py # This should be set to the day of the release. # It's gets added as 'version' and is based on build time, not release time. -export SOURCE_DATE_EPOCH=1573327269 +SOURCE_DATE_EPOCH=`date --date=%{version} +\%s` +export SOURCE_DATE_EPOCH %if %{python3} %{__python3} setup.py build @@ -142,6 +143,9 @@ export SOURCE_DATE_EPOCH=1573327269 %endif %changelog +* Fri May 28 2021 Simo Sorce - 20210411-2 +- Fix version string forever by calculating it + * Sat Apr 24 2021 Kevin Fenzi - 20210411-1 - Upgrade to 20210411.