2008-04-25 16:05:24 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# This is a dummy SVN command, which allows to build the package without network access.
|
2008-08-02 04:04:50 +02:00
|
|
|
case "$*" in
|
|
|
|
"info $RPM_BUILD_DIR/hugin" )
|
|
|
|
cat <<EOF
|
|
|
|
Path: .
|
|
|
|
URL: https://hugin.svn.sourceforge.net/svnroot/hugin/hugin/trunk
|
|
|
|
Repository Root: https://hugin.svn.sourceforge.net/svnroot/hugin
|
|
|
|
Repository UUID: 2038758d-bd2d-0410-8553-d98df698c6e5
|
|
|
|
Revision: ${RPM_PACKAGE_VERSION##*.}
|
|
|
|
Node Kind: directory
|
|
|
|
Schedule: normal
|
|
|
|
Last Changed Author: svn-dummy-unknown
|
|
|
|
Last Changed Rev: ${RPM_PACKAGE_VERSION##*.}
|
|
|
|
Last Changed Date: svn-dummy-unknown
|
|
|
|
EOF
|
|
|
|
;;
|
|
|
|
"log --non-interactive -r BASE $RPM_BUILD_DIR/hugin" )
|
|
|
|
cat <<EOF
|
2008-04-25 16:05:24 +02:00
|
|
|
---------------------------------------------------------------------------
|
2008-08-02 04:04:50 +02:00
|
|
|
r${RPM_PACKAGE_VERSION##*.} | unknown | svn-dummy- un:kn:ow +n000 | ? lines
|
2008-04-25 16:05:24 +02:00
|
|
|
|
2008-08-02 04:04:50 +02:00
|
|
|
svn-dummy-unknown
|
2008-04-25 16:05:24 +02:00
|
|
|
|
|
|
|
---------------------------------------------------------------------------
|
|
|
|
EOF
|
2008-08-02 04:04:50 +02:00
|
|
|
;;
|
|
|
|
--version )
|
|
|
|
cat <<EOF
|
|
|
|
svn, version 0.7.0 (r?????)
|
|
|
|
svn-dummy-unknown
|
|
|
|
EOF
|
|
|
|
;;
|
|
|
|
* )
|
|
|
|
exec /usr/bin/svn "$@"
|
|
|
|
;;
|
|
|
|
esac
|