forked from pool/ocaml-libvirt
Accepting request 512531 from devel:languages:ocaml
- Use Group: Development/Languages/OCaml - Wrap specfile conditionals to fix quilt setup - Remove autodeps for pre openSUSE 12.1 releases OBS-URL: https://build.opensuse.org/request/show/512531 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ocaml-libvirt?expand=0&rev=3
This commit is contained in:
commit
4438b0d1ed
@ -1,3 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 25 13:04:54 UTC 2017 - ohering@suse.de
|
||||||
|
|
||||||
|
- Use Group: Development/Languages/OCaml
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 17 12:48:58 UTC 2017 - ohering@suse.de
|
||||||
|
|
||||||
|
- Wrap specfile conditionals to fix quilt setup
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 17 10:48:58 UTC 2017 - ohering@suse.de
|
||||||
|
|
||||||
|
- Remove autodeps for pre openSUSE 12.1 releases
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 31 07:07:33 UTC 2017 - olaf@aepfle.de
|
Wed May 31 07:07:33 UTC 2017 - olaf@aepfle.de
|
||||||
|
|
||||||
|
@ -19,10 +19,10 @@
|
|||||||
Name: ocaml-libvirt
|
Name: ocaml-libvirt
|
||||||
Version: 0.6.1.4.20160205.8853f5a
|
Version: 0.6.1.4.20160205.8853f5a
|
||||||
Release: 0
|
Release: 0
|
||||||
%{ocaml_preserve_bytecode}
|
%{?ocaml_preserve_bytecode}
|
||||||
Summary: OCaml binding for libvirt
|
Summary: OCaml binding for libvirt
|
||||||
License: LGPL-2.0+
|
License: LGPL-2.0+
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Languages/OCaml
|
||||||
Url: http://libvirt.org/ocaml/
|
Url: http://libvirt.org/ocaml/
|
||||||
Source0: %{name}-%{version}.tar.xz
|
Source0: %{name}-%{version}.tar.xz
|
||||||
BuildRequires: ocaml
|
BuildRequires: ocaml
|
||||||
@ -33,19 +33,13 @@ BuildRequires: perl
|
|||||||
BuildRequires: pkgconfig(libvirt)
|
BuildRequires: pkgconfig(libvirt)
|
||||||
Requires: libvirt-client >= 0.9.10-3
|
Requires: libvirt-client >= 0.9.10-3
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
# ocaml autodep start for pkg: ocaml-libvirt
|
|
||||||
# hardcoded rpm dependency for pre 12.1 to compensate for lack of ocaml() provides/requires
|
|
||||||
%if 0%{?suse_version} < 1210
|
|
||||||
Requires: ocaml-runtime
|
|
||||||
%endif
|
|
||||||
# ocaml autodep end for pkg: ocaml-libvirt
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
OCaml binding for libvirt.
|
OCaml binding for libvirt.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Group: Development/Libraries
|
Group: Development/Languages/OCaml
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -96,7 +90,7 @@ Library mllibvirt
|
|||||||
FindlibName: libvirt
|
FindlibName: libvirt
|
||||||
BuildDepends: unix
|
BuildDepends: unix
|
||||||
CSources: libvirt_c.c
|
CSources: libvirt_c.c
|
||||||
CCOpt: -Wall -O2 -g -I$PWD -I$PWD/libvirt -Werror -D_GNU_SOURCE ${libvirt_cflags}
|
CCOpt: %{optflags} -I$PWD -I$PWD/libvirt -Werror -D_GNU_SOURCE ${libvirt_cflags}
|
||||||
CCLib: ${libvirt_libs}
|
CCLib: ${libvirt_libs}
|
||||||
|
|
||||||
Document libvirt
|
Document libvirt
|
||||||
@ -161,7 +155,7 @@ _EOF_
|
|||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%dir %{_libdir}/ocaml
|
%dir %{_libdir}/ocaml
|
||||||
%dir %{_libdir}/ocaml/*
|
%dir %{_libdir}/ocaml/*
|
||||||
%if %{ocaml_native_compiler}
|
%if 0%{?ocaml_native_compiler}
|
||||||
%{_libdir}/ocaml/*/*.cmxs
|
%{_libdir}/ocaml/*/*.cmxs
|
||||||
%endif
|
%endif
|
||||||
%{_libdir}/ocaml/*/*.so
|
%{_libdir}/ocaml/*/*.so
|
||||||
@ -173,7 +167,7 @@ _EOF_
|
|||||||
%dir %{_libdir}/ocaml
|
%dir %{_libdir}/ocaml
|
||||||
%dir %{_libdir}/ocaml/*
|
%dir %{_libdir}/ocaml/*
|
||||||
%{_libdir}/ocaml/*/*.a
|
%{_libdir}/ocaml/*/*.a
|
||||||
%if %{ocaml_native_compiler}
|
%if 0%{?ocaml_native_compiler}
|
||||||
%{_libdir}/ocaml/*/*.cmx
|
%{_libdir}/ocaml/*/*.cmx
|
||||||
%{_libdir}/ocaml/*/*.cmxa
|
%{_libdir}/ocaml/*/*.cmxa
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user