From 392a2f99a9ac8a7d45984a898742cf484945e5f9 Mon Sep 17 00:00:00 2001 From: Lars Marowsky-Bree Date: Fri, 13 Sep 2013 08:34:38 +0000 Subject: [PATCH] - 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 --- ocfs2-tools.changes | 5 +++++ ocfs2-tools.spec | 27 +++++++++++++++++++++------ 2 files changed, 26 insertions(+), 6 deletions(-) diff --git a/ocfs2-tools.changes b/ocfs2-tools.changes index c38a787..07bb70e 100644 --- a/ocfs2-tools.changes +++ b/ocfs2-tools.changes @@ -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 diff --git a/ocfs2-tools.spec b/ocfs2-tools.spec index f86a797..82ca703 100644 --- a/ocfs2-tools.spec +++ b/ocfs2-tools.spec @@ -85,7 +85,7 @@ Recommends: ocfs2-kmp %endif %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 managing the file system. @@ -103,7 +103,7 @@ Provides: ocfs2-support = %{version} Obsoletes: ocfs2-support < %{version} %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). @@ -115,10 +115,23 @@ Requires: libcom_err-devel Requires: ocfs2-tools = %{version} %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 -developing low-level OCFS2-aware applications. +This package contains the header files for developing low-level +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 Summary: Oracle Cluster File System 2 Core Tools @@ -229,7 +242,6 @@ python -c "import compileall; compileall.compile_dir('%{buildroot}/%{py_sitedir} /sbin/o2cluster %{_sbindir}/o2image %{_sbindir}/debugfs.ocfs2 -#%{_sbindir}/ocfs2_controld.pcmk %{_sbindir}/o2hbmonitor %{_bindir}/reflink %{_bindir}/o2info @@ -283,6 +295,9 @@ python -c "import compileall; compileall.compile_dir('%{buildroot}/%{py_sitedir} %{_libdir}/pkgconfig/o2cb.pc %{_libdir}/pkgconfig/o2dlm.pc %{_libdir}/pkgconfig/ocfs2.pc + +%files devel-static +%defattr(-,root,root) %{_libdir}/libo2cb.a %{_libdir}/libo2dlm.a %{_libdir}/libocfs2.a