Disable gtk-doc check 77/267977/1 tizen submit/tizen/20211215.020422
authorDongHun Kwak <dh0128.kwak@samsung.com>
Tue, 14 Dec 2021 05:54:48 +0000 (14:54 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Tue, 14 Dec 2021 05:54:48 +0000 (14:54 +0900)
Change-Id: I302691403e714eb2c42b8bd10438c5143308b0f8

packaging/disable_gtk_doc.patch [new file with mode: 0644]
packaging/util-linux.spec

diff --git a/packaging/disable_gtk_doc.patch b/packaging/disable_gtk_doc.patch
new file mode 100644 (file)
index 0000000..2010b8c
--- /dev/null
@@ -0,0 +1,15 @@
+diff --git a/configure.ac b/configure.ac
+index 53d25b8..e4d1046 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -151,7 +151,9 @@ m4_ifndef([PKG_PROG_PKG_CONFIG],
+     ./autogen.sh or autoreconf again.])])
+ PKG_PROG_PKG_CONFIG
+
+-GTK_DOC_CHECK([1.10])
++AM_CONDITIONAL([ENABLE_GTK_DOC], [test x$enable_gtk_doc = xyes])
++AM_CONDITIONAL([GTK_DOC_USE_LIBTOOL], [test -n "$LIBTOOL"])
++
+ AC_PATH_PROG([XSLTPROC], [xsltproc])
+
+ linux_os=no
index 962c93a..efa0049 100644 (file)
@@ -32,6 +32,8 @@ Source9:        remote.pamd
 Source14:       su.pamd
 Source15:       su.default
 Source51:       blkid.conf
+
+Source100:      disable_gtk_doc.patch
 Source1001:    util-linux.manifest
 
 Requires(pre):         /usr/bin/sed
@@ -158,6 +160,8 @@ cp %{SOURCE1001} .
 #
 # nologin
 cp %{S:2} %{S:3}   .
+%{__patch} -p1 < %{SOURCE100}
+
 
 %build
 autoreconf -fi