Author: glen                         Date: Sun Apr 27 10:03:41 2008 GMT
Module: SPECS                         Tag: XEN_3_0_2
---- Log message:
- separated -libs (HEAD merge)

---- Files affected:
SPECS:
   xen.spec (1.34.2.7 -> 1.34.2.8) 

---- Diffs:

================================================================
Index: SPECS/xen.spec
diff -u SPECS/xen.spec:1.34.2.7 SPECS/xen.spec:1.34.2.8
--- SPECS/xen.spec:1.34.2.7     Sun Apr 27 11:54:07 2008
+++ SPECS/xen.spec      Sun Apr 27 12:03:36 2008
@@ -10,7 +10,7 @@
 Summary(pl.UTF-8):     Xen - monitor maszyny wirtualnej
 Name:          xen
 Version:       3.0.2
-Release:       0.6
+Release:       0.7
 License:       GPL
 Group:         Applications/System
 Source0:       
http://www.cl.cam.ac.uk/Research/SRG/netos/xen/downloads/%{name}-%{version}-src.tgz
@@ -45,8 +45,8 @@
 BuildRequires: transfig
 BuildRequires: which
 BuildRequires: zlib-devel
-Requires(post):        /sbin/ldconfig
 Requires(post,preun):  /sbin/chkconfig
+Requires:      %{name}-libs = %{epoch}:%{version}-%{release}
 Requires:      ZopeInterface
 Requires:      bridge-utils
 Requires:      kernel(xen0) = %{version}
@@ -87,11 +87,22 @@
 być zdziwionym, jeśli ten pakiet zje dane, wypije całą kawę czy będzie
 się wyśmiewał w obecności przyjaciół.
 
+%package libs
+Summary:       xen libraries
+Summary(pl.UTF-8):     Biblioteki xena
+Group:         Libraries
+
+%description libs
+xen libraries.
+
+%description libs -l pl.UTF-8
+Biblioteki xena.
+
 %package devel
 Summary:       Header files for xen
 Summary(pl.UTF-8):     Pliki nagłówkowe xena
 Group:         Development/Libraries
-Requires:      %{name} = %{epoch}:%{version}-%{release}
+Requires:      %{name}-libs = %{epoch}:%{version}-%{release}
 
 %description devel
 Header files for xen.
@@ -163,12 +174,9 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-/sbin/ldconfig
 /sbin/chkconfig --add xend
 /sbin/chkconfig --add xendomains
 
-%postun -p /sbin/ldconfig
-
 %preun
 if [ "$1" = "0" ]; then
        %service xend stop
@@ -178,6 +186,9 @@
        /sbin/chkconfig --del xendomains
 fi
 
+%post  libs -p /sbin/ldconfig
+%postun        libs -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
 %doc COPYING ChangeLog README docs/misc/*
@@ -199,7 +210,6 @@
 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) 
%{_sysconfdir}/xen/scripts/*
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_sbindir}/*
-%attr(755,root,root) %{_libdir}/lib*.so.*
 %dir %{_libdir}/%{name}
 %dir %{_libdir}/%{name}/bin
 %attr(744,root,root) %{_libdir}/%{name}/bin/*
@@ -232,6 +242,10 @@
 %dir %attr(700,root,root) /var/run/xend
 %dir /var/run/xenstored
 
+%files libs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so.*
+
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/lib*.so
@@ -247,6 +261,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.34.2.8  2008-04-27 10:03:36  glen
+- separated -libs (HEAD merge)
+
 Revision 1.34.2.7  2008-04-27 09:54:07  glen
 - fix python packaging
 - copy hotplug scripts
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/xen.spec?r1=1.34.2.7&r2=1.34.2.8&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to