14 Apr
2015
14 Apr
'15
16:50
On Tuesday 14 April 2015, Dimstar / Dominique Leuenberger wrote:
On Tue, 2015-04-14 at 18:16 +0200, Ruediger Meier wrote:
%build # export deterministic BUILD_DATE, format like "__DATE__ __TIME__" CL_DATE="$(awk -F " - " 'NR==2{print $1;}' %{_sourcedir}/%{name}.changes)" test -n "$CL_DATE" export BUILD_DATE="$(LANG=C date --utc -d "${CL_DATE}" +"%b %e %Y %T")"
Make sure to add the .changes file to the Source: list when you access it during build (and reference it by %{sourceN}
Otherwise the resulting .src.rpm is useless.
I see, thanks! cu, Rudi -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org