[Ocfs2-tools-devel] [PATCH 4/4] tools: obsolete ocfs2console

Junxiao Bi junxiao.bi at oracle.com
Fri Oct 21 00:42:20 PDT 2016


Signed-off-by: Junxiao Bi <junxiao.bi at oracle.com>
---
 vendor/common/ocfs2-tools.spec-generic.in |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/vendor/common/ocfs2-tools.spec-generic.in b/vendor/common/ocfs2-tools.spec-generic.in
index a19e248bd5c2..194520d6ad86 100644
--- a/vendor/common/ocfs2-tools.spec-generic.in
+++ b/vendor/common/ocfs2-tools.spec-generic.in
@@ -39,6 +39,9 @@ Requires: bash, which, coreutils, net-tools, e2fsprogs, @@CHKCONFIG_DEP@@, glib2
 BuildRequires: e2fsprogs-devel, glib2-devel >= 2.2.3, @@PYGTK_NAME@@ >= 1.99.16, python-devel >= @@PYVERSION@@, util-linux >= 2.12j, @@BUILD_DEP_PKG@@
 
 BuildRoot: %{_tmppath}/ocfs2-tools-%{PACKAGE_VERSION}-%{PACKAGE_RELEASE}-root
+%if !%{build_ocfs2console}
+Obsoletes: ocfs2console
+%endif
 
 %description
 Tools to manage Oracle Cluster Filesystem 2 volumes.
-- 
1.7.9.5




More information about the Ocfs2-tools-devel mailing list