Make use of UTC dates for RPM timestamp

So they can be shared/compared by people in different timezones
This commit is contained in:
Dag Wieers 2012-10-02 14:29:57 +02:00
parent f897f19fc5
commit 765061d445

View file

@ -40,7 +40,7 @@ else
ifeq ($(OS), Darwin)
DATE := $(shell date -j -f "%Y-%m-%d %H:%M:%S" "$(GIT_DATE)" +%Y%m%d%H%M)
else
DATE := $(shell date --date="$(GIT_DATE)" +%Y%m%d%H%M)
DATE := $(shell date --utc --date="$(GIT_DATE)" +%Y%m%d%H%M)
endif
endif