diff --git a/daps-0.9beta7.tar.bz2 b/daps-0.9beta7.tar.bz2 index b4ddbf4..c79e368 100644 --- a/daps-0.9beta7.tar.bz2 +++ b/daps-0.9beta7.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:bba4c0d60395948d8f7be603832836d64214bac887b3dbbdea2db182b051cab8 -size 759814 +oid sha256:067aaf4a81dd805f4da8829dab8b95783eb9d930d81275ec0559003979c0ca04 +size 759680 diff --git a/daps.changes b/daps.changes index 906f0f3..479ad80 100644 --- a/daps.changes +++ b/daps.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Sep 19 11:52:50 UTC 2011 - fsundermeyer@opensuse.org + +- Specfile: fixed %{ext_man} +- fetch_source now also copies the spec file if needed + ------------------------------------------------------------------- Mon Sep 19 10:46:07 UTC 2011 - fsundermeyer@opensuse.org diff --git a/fetch_source b/fetch_source index f689c2c..5d916ff 100644 --- a/fetch_source +++ b/fetch_source @@ -65,6 +65,17 @@ tar cjhf ${NAME}-${VERSION}.tar.bz2 -C ${TMPDIR} \ echo "Successfully created ${NAME}-${VERSION}.tar.bz2" +# +# Copy the spec file if necessary +# +diff -q $SPECFILE ${TMPDIR}/${NAME}/packaging/$SPECFILE >/dev/null +if [[ 0 = $? ]]; then + echo "spec file is up-to-date" +else + cp ${TMPDIR}/${NAME}/packaging/$SPECFILE . || exit_on_error "Failed to copy the specfile." + echo "Successfully updated the spec file." +fi + rm -rf ${TMPDIR} exit 0