ia64/xen-unstable

view tools/libxc/rpm.spec @ 7238:971e7c7411b3

Raise an exception if an error appears on the pipes to our children, and make
sure that the child's pipes are closed even under that exception. Move the
handling of POLLHUP to the end of the loop, so that we guarantee to read any
remaining data from the child if POLLHUP and POLLIN appear at the same time.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@ewan
date Thu Oct 06 10:13:11 2005 +0100 (2005-10-06)
parents 236a9f2698a3
children
line source
1 Summary: Xen control interface library
2 Name: xen-internal-library
3 Version: 1.2
4 Release: 1
5 License: Xen
6 Group: Xen
7 BuildRoot: %{staging}
8 %description
9 Library to make it easier to access the Xen control interfaces.
11 %pre
12 %preun
13 %install
14 install -m 0755 -d $RPM_BUILD_ROOT/lib
15 install -m 0755 libxc.a $RPM_BUILD_ROOT/lib/libxc.a
16 install -m 0755 libxc.so $RPM_BUILD_ROOT/lib/libxc.so
17 install -m 0755 -d $RPM_BUILD_ROOT/include
18 install -m 0644 xc.h $RPM_BUILD_ROOT/include/xc.h
19 %clean
20 %post
21 %postun
22 %files
23 %defattr(-,root,root)
24 %dir /lib
25 /lib/libxc.a
26 /lib/libxc.so
27 %dir /include
28 /include/xc.h