- Move static libraries to devel-static subpackage.

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/ocfs2-tools?expand=0&rev=69
This commit is contained in:
Lars Marowsky-Bree 2013-09-13 08:34:38 +00:00 committed by Git OBS Bridge
parent f52787975b
commit 392a2f99a9
2 changed files with 26 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Sep 13 08:34:08 UTC 2013 - lmb@suse.com
- Move static libraries to devel-static subpackage.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Sep 12 09:30:27 UTC 2013 - lzhong@suse.com Thu Sep 12 09:30:27 UTC 2013 - lzhong@suse.com

View File

@ -85,7 +85,7 @@ Recommends: ocfs2-kmp
%endif %endif
%description %description
OCFS is the Oracle Cluster File System. OCFS2 is the Oracle Cluster File System.
This package contains the core user-space tools needed for creating and This package contains the core user-space tools needed for creating and
managing the file system. managing the file system.
@ -103,7 +103,7 @@ Provides: ocfs2-support = %{version}
Obsoletes: ocfs2-support < %{version} Obsoletes: ocfs2-support < %{version}
%description -n ocfs2console %description -n ocfs2console
OCFS is the Oracle Cluster Filesystem. OCFS2 is the Oracle Cluster Filesystem.
This package contains additional tools and a GUI (python-gtk). This package contains additional tools and a GUI (python-gtk).
@ -115,10 +115,23 @@ Requires: libcom_err-devel
Requires: ocfs2-tools = %{version} Requires: ocfs2-tools = %{version}
%description devel %description devel
OCFS is the Oracle Cluster File System. OCFS2 is the Oracle Cluster File System.
This package contains the header files and static libraries for This package contains the header files for developing low-level
developing low-level OCFS2-aware applications. OCFS2-aware applications.
%package devel-static
Summary: Oracle Cluster File System 2 static libraries
Group: Development/Libraries/C and C++
Requires: libcom_err
Requires: libcom_err-devel
Requires: ocfs2-tools = %{version}
%description devel-static
OCFS2 is the Oracle Cluster File System.
This package contains the static libraries for developing low-level
OCFS2-aware applications.
%package o2cb %package o2cb
Summary: Oracle Cluster File System 2 Core Tools Summary: Oracle Cluster File System 2 Core Tools
@ -229,7 +242,6 @@ python -c "import compileall; compileall.compile_dir('%{buildroot}/%{py_sitedir}
/sbin/o2cluster /sbin/o2cluster
%{_sbindir}/o2image %{_sbindir}/o2image
%{_sbindir}/debugfs.ocfs2 %{_sbindir}/debugfs.ocfs2
#%{_sbindir}/ocfs2_controld.pcmk
%{_sbindir}/o2hbmonitor %{_sbindir}/o2hbmonitor
%{_bindir}/reflink %{_bindir}/reflink
%{_bindir}/o2info %{_bindir}/o2info
@ -283,6 +295,9 @@ python -c "import compileall; compileall.compile_dir('%{buildroot}/%{py_sitedir}
%{_libdir}/pkgconfig/o2cb.pc %{_libdir}/pkgconfig/o2cb.pc
%{_libdir}/pkgconfig/o2dlm.pc %{_libdir}/pkgconfig/o2dlm.pc
%{_libdir}/pkgconfig/ocfs2.pc %{_libdir}/pkgconfig/ocfs2.pc
%files devel-static
%defattr(-,root,root)
%{_libdir}/libo2cb.a %{_libdir}/libo2cb.a
%{_libdir}/libo2dlm.a %{_libdir}/libo2dlm.a
%{_libdir}/libocfs2.a %{_libdir}/libocfs2.a