modify nspr.spec to allow any nspr.changes format 02/64802/2 accepted/tizen/base/20160408.190354 submit/tizen_base/20160405.114751 submit/tizen_base/20160412.110919
authorsangsu <sangsu.choi@samsung.com>
Tue, 5 Apr 2016 11:44:03 +0000 (20:44 +0900)
committerDong Sun Lee <ds73.lee@samsung.com>
Tue, 5 Apr 2016 11:46:47 +0000 (04:46 -0700)
Change-Id: I537da0135a417f6e0bb0c6f9914b712f8b12eeb9
Signed-off-by: sangsu <sangsu.choi@samsung.com>
packaging/nspr.spec

index 942f611..a693ee4 100644 (file)
@@ -36,7 +36,7 @@ cp %{SOURCE1001} .
 
 %build
 # set buildtime to "last-modification-time"
-modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"
+#modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"
 BUILD_STRING="$(date -u -d "${modified}" "+%%F %%T")"
 BUILD_TIME="$(date -u -d "${modified}" "+%%s000000")"
 #cd nspr