- Specfile: fixed %{ext_man}
- fetch_source now also copies the spec file if needed OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=48
This commit is contained in:
parent
2919ed7430
commit
1e2eef8ace
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:bba4c0d60395948d8f7be603832836d64214bac887b3dbbdea2db182b051cab8
|
oid sha256:067aaf4a81dd805f4da8829dab8b95783eb9d930d81275ec0559003979c0ca04
|
||||||
size 759814
|
size 759680
|
||||||
|
@ -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
|
Mon Sep 19 10:46:07 UTC 2011 - fsundermeyer@opensuse.org
|
||||||
|
|
||||||
|
11
fetch_source
11
fetch_source
@ -65,6 +65,17 @@ tar cjhf ${NAME}-${VERSION}.tar.bz2 -C ${TMPDIR} \
|
|||||||
|
|
||||||
echo "Successfully created ${NAME}-${VERSION}.tar.bz2"
|
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}
|
rm -rf ${TMPDIR}
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user