Fix with_oxenstored flag to package things correctly
OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=421
This commit is contained in:
parent
71a94eb539
commit
f07bdefddb
60
xen.spec
60
xen.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package xen
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -1135,6 +1135,48 @@ rm -f $RPM_BUILD_ROOT/usr/libexec/qemu-bridge-helper
|
||||
%{_mandir}/man8/*.8.gz
|
||||
%{_mandir}/man1/xen-list.1.gz
|
||||
|
||||
%if %{?with_oxenstored}0
|
||||
/usr/sbin/oxenstored
|
||||
/etc/xen/oxenstored.conf
|
||||
%dir %{_libdir}/ocaml
|
||||
%dir %{_libdir}/ocaml/xenbus
|
||||
%dir %{_libdir}/ocaml/xenctrl
|
||||
%dir %{_libdir}/ocaml/xeneventchn
|
||||
%dir %{_libdir}/ocaml/xenlight
|
||||
%dir %{_libdir}/ocaml/xenmmap
|
||||
%dir %{_libdir}/ocaml/xenstore
|
||||
%dir %{_libdir}/ocaml/xentoollog
|
||||
%{_libdir}/ocaml/xenbus/META
|
||||
%{_libdir}/ocaml/xenbus/*.so
|
||||
%{_libdir}/ocaml/xenbus/*.cma
|
||||
%{_libdir}/ocaml/xenbus/*.cmi
|
||||
%{_libdir}/ocaml/xenbus/*.cmo
|
||||
%{_libdir}/ocaml/xenctrl/META
|
||||
%{_libdir}/ocaml/xenctrl/*.so
|
||||
%{_libdir}/ocaml/xenctrl/*.cma
|
||||
%{_libdir}/ocaml/xenctrl/*.cmi
|
||||
%{_libdir}/ocaml/xeneventchn/META
|
||||
%{_libdir}/ocaml/xeneventchn/*.so
|
||||
%{_libdir}/ocaml/xeneventchn/*.cma
|
||||
%{_libdir}/ocaml/xeneventchn/*.cmi
|
||||
%{_libdir}/ocaml/xenlight/META
|
||||
%{_libdir}/ocaml/xenlight/*.so
|
||||
%{_libdir}/ocaml/xenlight/*.cma
|
||||
%{_libdir}/ocaml/xenlight/*.cmi
|
||||
%{_libdir}/ocaml/xenmmap/META
|
||||
%{_libdir}/ocaml/xenmmap/*.so
|
||||
%{_libdir}/ocaml/xenmmap/*.cma
|
||||
%{_libdir}/ocaml/xenmmap/*.cmi
|
||||
%{_libdir}/ocaml/xenstore/META
|
||||
%{_libdir}/ocaml/xenstore/*.cma
|
||||
%{_libdir}/ocaml/xenstore/*.cmi
|
||||
%{_libdir}/ocaml/xenstore/*.cmo
|
||||
%{_libdir}/ocaml/xentoollog/META
|
||||
%{_libdir}/ocaml/xentoollog/*.so
|
||||
%{_libdir}/ocaml/xentoollog/*.cma
|
||||
%{_libdir}/ocaml/xentoollog/*.cmi
|
||||
%endif
|
||||
|
||||
# with_dom0_support
|
||||
%endif
|
||||
|
||||
@ -1150,6 +1192,22 @@ rm -f $RPM_BUILD_ROOT/usr/libexec/qemu-bridge-helper
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/*.a
|
||||
%{_libdir}/*.so
|
||||
%if %{?with_oxenstored}0
|
||||
%{_libdir}/ocaml/xenbus/*.a
|
||||
%{_libdir}/ocaml/xenbus/*.cmx*
|
||||
%{_libdir}/ocaml/xenctrl/*.a
|
||||
%{_libdir}/ocaml/xenctrl/*.cmx*
|
||||
%{_libdir}/ocaml/xeneventchn/*.a
|
||||
%{_libdir}/ocaml/xeneventchn/*.cmx*
|
||||
%{_libdir}/ocaml/xenlight/*.a
|
||||
%{_libdir}/ocaml/xenlight/*.cmx*
|
||||
%{_libdir}/ocaml/xenmmap/*.a
|
||||
%{_libdir}/ocaml/xenmmap/*.cmx*
|
||||
%{_libdir}/ocaml/xenstore/*.a
|
||||
%{_libdir}/ocaml/xenstore/*.cmx*
|
||||
%{_libdir}/ocaml/xentoollog/*.a
|
||||
%{_libdir}/ocaml/xentoollog/*.cmx*
|
||||
%endif
|
||||
/usr/include/*
|
||||
%{_datadir}/pkgconfig/xenlight.pc
|
||||
%{_datadir}/pkgconfig/xlutil.pc
|
||||
|
Loading…
Reference in New Issue
Block a user