File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,6 @@ recipe_prepare_dsc() {
7575 DEB_RELEASE=`sed 's/%.*$//' <<< $RELEASE`
7676 OBS_DCH_RELEASE=""
7777
78-
7978 if test "$RECIPEFILE" = debian/control -o "$RECIPEFILE" = debian.control ; then
8079 dsc_export_origtar
8180 mv $BUILD_ROOT$DEB_SOURCEDIR $BUILD_ROOT$TOPDIR/BUILD
@@ -118,6 +117,13 @@ recipe_prepare_dsc() {
118117 DEB_DSCFILE="${DEB_DSCFILE##*/}"
119118 fi
120119
120+ if test -n "$BUILD_VCSURL" ; then
121+ echo "XBS-Obs-Vcs: $BUILD_VCSURL" >> $BUILD_ROOT$TOPDIR/BUILD/debian/control
122+ fi
123+ if test -n "$DISTURL" ; then
124+ echo "XBS-Obs-Disturl: $DISTURL" >> $BUILD_ROOT$TOPDIR/BUILD/debian/control
125+ fi
126+
121127 # run/copy sources
122128 chroot $BUILD_ROOT su -c "dpkg-source -x $DEB_SOURCEDIR/$DEB_DSCFILE $TOPDIR/BUILD" - $BUILD_USER
123129
You can’t perform that action at this time.
0 commit comments