File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -263,8 +263,12 @@ recipe_create_changelog() {
263263 */*[1-9]*) CFFORMAT="$CFFORMAT --emailonly" ;;
264264 esac
265265 fi
266- echo "running changelog2spec --target $CFFORMAT --file $1"
267- if ! $BUILD_DIR/changelog2spec --target $CFFORMAT --timestampfile "$BUILD_ROOT/.build-changelog-timestamp" --file "$1" > $BUILD_ROOT/.build-changelog ; then
266+ changelog2specargs="--target $CFFORMAT"
267+ if [ "$(queryconfig --dist "$BUILD_DIST" --configdir "$CONFIG_DIR" --archpath "$BUILD_ARCH" buildflags changelogfulltimestamps)" = 1 ] ; then
268+ changelog2specargs="--fulltimestamps $changelog2specargs"
269+ fi
270+ echo "running changelog2spec $changelog2specargs --file $1"
271+ if ! $BUILD_DIR/changelog2spec $changelog2specargs --timestampfile "$BUILD_ROOT/.build-changelog-timestamp" --file "$1" > $BUILD_ROOT/.build-changelog ; then
268272 rm -f $BUILD_ROOT/.build-changelog $BUILD_ROOT/.build-changelog-timestamp
269273 fi
270274 BUILD_CHANGELOG_TIMESTAMP=
You can’t perform that action at this time.
0 commit comments