rpms/corosync/devel corosync.spec,1.10,1.11
Fabio M. Di Nitto
fabbione at fedoraproject.org
Mon Feb 2 10:20:13 UTC 2009
Author: fabbione
Update of /cvs/pkgs/rpms/corosync/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9257
Modified Files:
corosync.spec
Log Message:
Split libraries in libcorosync
Index: corosync.spec
===================================================================
RCS file: /cvs/pkgs/rpms/corosync/devel/corosync.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- corosync.spec 2 Feb 2009 09:53:24 -0000 1.10
+++ corosync.spec 2 Feb 2009 10:19:41 -0000 1.11
@@ -11,6 +11,7 @@
Patch0: corosync-trunk.diff
# Runtime bits
+Requires: libcorosync = %{version}-%{release}
Requires(pre): /usr/sbin/useradd
Requires(post): /sbin/chkconfig
Requires(preun): /sbin/chkconfig
@@ -56,7 +57,6 @@
%post
/sbin/chkconfig --add corosync || :
-/sbin/ldconfig > /dev/null
%preun
if [ $1 -eq 0 ]; then
@@ -66,7 +66,6 @@
%postun
[ "$1" -ge "1" ] && /sbin/service corosync condrestart &>/dev/null || :
-/sbin/ldconfig > /dev/null
%files
%defattr(-,root,root,-)
@@ -78,7 +77,6 @@
%{_sbindir}/corosync-objctl
%{_sbindir}/corosync-cfgtool
%config(noreplace) /etc/corosync.conf
-%config(noreplace) /etc/ld.so.conf.d/corosync-*.conf
%{_initddir}/corosync
%dir %{_libexecdir}/lcrso
%{_libexecdir}/lcrso/coroparse.lcrso
@@ -92,7 +90,22 @@
%{_libexecdir}/lcrso/testquorum.lcrso
%{_libexecdir}/lcrso/vsf_quorum.lcrso
%{_libexecdir}/lcrso/vsf_ykd.lcrso
+%{_mandir}/man8/corosync_overview.8*
+%{_mandir}/man8/corosync-objctl.8*
+%{_mandir}/man5/corosync.conf.5*
+
+%package -n libcorosync
+Summary: The Corosync Cluster Engine Libraries
+Group: System Environment/Libraries
+Conflicts: corosync < 0.92-7
+
+%description -n libcorosync
+This package contains corosync libraries.
+
+%files -n libcorosync
+%defattr(-,root,root,-)
%dir %{_libdir}/corosync
+%config(noreplace) /etc/ld.so.conf.d/corosync-*.conf
%{_libdir}/corosync/libcfg.so.*
%{_libdir}/corosync/libcpg.so.*
%{_libdir}/corosync/libconfdb.so.*
@@ -102,14 +115,15 @@
%{_libdir}/corosync/libcoroutil.so.*
%{_libdir}/corosync/libquorum.so.*
%{_libdir}/corosync/libvotequorum.so.*
-%{_mandir}/man8/corosync_overview.8*
-%{_mandir}/man8/corosync-objctl.8*
-%{_mandir}/man5/corosync.conf.5*
+
+%post -n libcorosync -p /sbin/ldconfig
+
+%postun -n libcorosync -p /sbin/ldconfig
%package -n libcorosync-devel
Summary: The Corosync Cluster Engine Development Kit
Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
+Requires: libcorosync = %{version}-%{release}
Requires: pkgconfig
Provides: corosync-devel = 0.92-7
Obsoletes: corosync-devel < 0.92-7
@@ -176,6 +190,7 @@
- Update to svn trunk at revision 1756 from upstream.
- Add support pkgconfig to devel package.
- Tidy up spec files by re-organazing sections according to packages.
+- Split libraries from corosync to libcorosync.
- Rename corosync-devel to libcorosync-devel.
* Tue Jan 27 2009 Fabio M. Di Nitto <fdinitto at redhat.com> - 0.92-6.svn1750
More information about the fedora-extras-commits
mailing list