Accepting request 186797 from home:goldwynr:branches:network:ha-clustering:Factory
add libraries in devel OBS-URL: https://build.opensuse.org/request/show/186797 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/ocfs2-tools?expand=0&rev=63
This commit is contained in:
@@ -49,6 +49,7 @@ Patch216: 0001-Remove-pacemaker-ais-stuff.patch
|
||||
Patch217: 0002-Add-corosync-cfg-to-get-configuration-information.patch
|
||||
Patch218: 0003-Remove-daemon-protocol-versions-and-consolidate-fs-v.patch
|
||||
Patch219: 0005-Add-cluster_name-and-stack-name.patch
|
||||
Patch220: libocfs2-needs-libaio.patch
|
||||
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: e2fsprogs-devel
|
||||
@@ -69,8 +70,6 @@ Requires(pre): %insserv_prereq
|
||||
Requires: /sbin/chkconfig
|
||||
Requires: e2fsprogs
|
||||
Requires: glib2 >= 2.2.3
|
||||
Requires: libcorosync4
|
||||
Requires: libdlm3
|
||||
Requires: modutils
|
||||
Requires: net-tools
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@@ -151,6 +150,7 @@ managing the file system.
|
||||
%patch217 -p1
|
||||
%patch218 -p1
|
||||
%patch219 -p1
|
||||
%patch220 -p1
|
||||
|
||||
%build
|
||||
export PROJECT="ocfs2-tools"
|
||||
@@ -188,8 +188,9 @@ cd ..
|
||||
mv %{buildroot}/{,/usr}/sbin/o2image
|
||||
mv %{buildroot}/{,/usr}/sbin/debugfs.ocfs2
|
||||
mv %{buildroot}/{,/usr}/sbin/ocfs2_controld.pcmk
|
||||
find %{buildroot} -name '*.a' -type f -print0 | xargs -0 rm -f
|
||||
find %{buildroot} -name '*.la' -type f -print0 | xargs -0 rm -f
|
||||
chmod a-x %{buildroot}/%{_libdir}/libo2cb.a
|
||||
chmod a-x %{buildroot}/%{_libdir}/libo2dlm.a
|
||||
chmod a-x %{buildroot}/%{_libdir}/libocfs2.a
|
||||
python -c "import compileall; compileall.compile_dir('%{buildroot}/%{py_sitedir}/ocfs2interface', ddir='%{py_sitedir}/ocfs2interface')"
|
||||
|
||||
%preun o2cb
|
||||
@@ -270,5 +271,8 @@ python -c "import compileall; compileall.compile_dir('%{buildroot}/%{py_sitedir}
|
||||
%{_libdir}/pkgconfig/o2cb.pc
|
||||
%{_libdir}/pkgconfig/o2dlm.pc
|
||||
%{_libdir}/pkgconfig/ocfs2.pc
|
||||
%{_libdir}/libo2cb.a
|
||||
%{_libdir}/libo2dlm.a
|
||||
%{_libdir}/libocfs2.a
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user