SPECS: xen.spec - separated -libs - fs modules moved from -devel t...

qboosh qboosh at pld-linux.org
Fri Apr 20 11:55:35 CEST 2007


Author: qboosh                       Date: Fri Apr 20 09:55:35 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- separated -libs
- fs modules moved from -devel to -libs

---- Files affected:
SPECS:
   xen.spec (1.50 -> 1.51) 

---- Diffs:

================================================================
Index: SPECS/xen.spec
diff -u SPECS/xen.spec:1.50 SPECS/xen.spec:1.51
--- SPECS/xen.spec:1.50	Fri Apr 20 11:53:01 2007
+++ SPECS/xen.spec	Fri Apr 20 11:55:30 2007
@@ -42,7 +42,6 @@
 BuildRequires:	which
 BuildRequires:	zlib-devel
 %{?with_hvm:BuildRequires:	bcc}
-Requires(post):	/sbin/ldconfig
 Requires(post,preun):	/sbin/chkconfig
 Requires:	ZopeInterface
 Requires:	bridge-utils
@@ -85,11 +84,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.
@@ -166,12 +176,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
@@ -181,6 +188,9 @@
 	/sbin/chkconfig --del xendomains
 fi
 
+%post	libs -p /sbin/ldconfig
+%postun	libs -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
 %doc COPYING README docs/misc/*
@@ -202,7 +212,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/*
@@ -231,14 +240,18 @@
 %dir %attr(700,root,root) /var/run/xend
 %dir /var/run/xenstored
 
-%files devel
+%files libs
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.so
+%attr(755,root,root) %{_libdir}/lib*.so.*
 %dir %{_libdir}/fs
 %dir %{_libdir}/fs/ext2fs-lib
 %dir %{_libdir}/fs/reiserfs
 %dir %{_libdir}/fs/ufs
 %attr(755,root,root) %{_libdir}/fs/*/*.so
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so
 %{_includedir}/*
 
 %files static
@@ -251,6 +264,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.51  2007/04/20 09:55:30  qboosh
+- separated -libs
+- fs modules moved from -devel to -libs
+
 Revision 1.50  2007/04/20 09:53:01  qboosh
 - Twisted and libX11 are not used in this version
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/xen.spec?r1=1.50&r2=1.51&f=u



More information about the pld-cvs-commit mailing list