Accepting request 556581 from home:lchen:branches:network:ha-clustering:Factory

- Remove install procedures for ocfs2console

OBS-URL: https://build.opensuse.org/request/show/556581
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/ocfs2-tools?expand=0&rev=111
This commit is contained in:
Gang He 2017-12-13 03:23:44 +00:00 committed by Git OBS Bridge
parent 56c7c885b7
commit 70b3733b20
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Dec 13 03:11:37 UTC 2017 - lchen@suse.com
- Remove install procedures for ocfs2console
-------------------------------------------------------------------
Mon Dec 11 10:40:06 UTC 2017 - lchen@suse.com

View File

@ -67,8 +67,6 @@ BuildRequires: libcorosync-devel
BuildRequires: libdlm-devel
BuildRequires: libxslt-devel
BuildRequires: libz1
BuildRequires: python-devel
BuildRequires: python-gtk-devel
BuildRequires: readline-devel
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(glib-2.0)
@ -98,6 +96,8 @@ managing the file system.
%package -n ocfs2console
Summary: Oracle Cluster Filesystem 2 GUI tools
Group: System/Filesystems
BuildRequires: python-devel
BuildRequires: python-gtk-devel
Requires: e2fsprogs
Requires: glib2 >= 2.2.3
Requires: ocfs2-tools = %{version}
@ -221,8 +221,9 @@ mv %{buildroot}/{,/usr}/sbin/debugfs.ocfs2
chmod a-x %{buildroot}/%{_libdir}/libo2cb.a
chmod a-x %{buildroot}/%{_libdir}/libo2dlm.a
chmod a-x %{buildroot}/%{_libdir}/libocfs2.a
%if 0%{_ocfs2console} == 1
python -c "import compileall; compileall.compile_dir('%{buildroot}/%{py_sitedir}/ocfs2interface', ddir='%{py_sitedir}/ocfs2interface')"
%endif
%preun o2cb
%stop_on_removal ocfs2
%stop_on_removal o2cb