https://bugzilla.redhat.com/show_bug.cgi?id=1562526
--- Comment #6 from Hiro Wakabayashi <hiwkby(a)yahoo.com> ---
Hello, Iwicki
I found a workaround but I need to ask upstream to accept code change. Please
wait a moment.
I know it's not friendly for packagers to use a comment in the spec file to
show where the source came from.
My workaround is changing the autogen.sh like this.
```
--- a/autogen.sh
+++ b/autogen.sh
@@ -42,12 +42,14 @@ while [ $# -ne 0 ]; do
FORCEPARAM=""
elif [ "X$1" = "X-no_check_ver_diff" ]; then
PARAMETERS="${PARAMETERS} $1"
+ elif [ "X$1" = "X-not_use_git" ]; then
+ PARAMETERS="${PARAMETERS} $1"
elif [ "X$1" = "X-h" -o "X$1" = "X--help"
]; then
- echo "Usage: ${AUTOGEN_NAME} [-noupdate_version_file]
[-no_aclocal_force] [-no_check_ver_diff]"
+ echo "Usage: ${AUTOGEN_NAME} [-noupdate_version_file]
[-no_aclocal_force] [-no_check_ver_diff] [-not_use_git]"
exit 1
else
echo "ERROR: Unkown option $1"
- echo "Usage: ${AUTOGEN_NAME} [-noupdate_version_file]
[-no_aclocal_force] [-no_check_ver_diff]"
+ echo "Usage: ${AUTOGEN_NAME} [-noupdate_version_file]
[-no_aclocal_force] [-no_check_ver_diff] [-not_use_git]"
exit 1
fi
shift
```
And I will use the "not_use_git" option in the libfullock.spec like this.
```
%build
sh ./autogen.sh -not_use_git
^^^^^^^^^^^^^^
```
Thanks in advance.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component