forked from xenserver/xen-api-libs-specs
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This changes the licence and adds a new dependency on ocaml-mirage-profile. Additionally, some improvements to the packaging. Use %{?_isa} per Fedora packaging guidelines, and drop redundant requirements. Signed-off-by: Andrew Cooper <[email protected]>
- Loading branch information
Showing
1 changed file
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
%define debug_package %{nil} | ||
|
||
Name: ocaml-gnt | ||
Version: 1.0.0 | ||
Release: 2%{?dist} | ||
Version: 2.2.2 | ||
Release: 1%{?dist} | ||
Summary: OCaml bindings for userspace Xen grant table controls | ||
License: LGPL2.1 + OCaml linking exception | ||
License: ISC | ||
URL: https://github.com/xapi-project/ocaml-gnt/ | ||
Source0: https://github.com/xapi-project/ocaml-gnt/archive/v%{version}/%{name}-%{version}.tar.gz | ||
BuildRequires: ocaml | ||
|
@@ -15,9 +15,8 @@ BuildRequires: ocaml-cstruct-devel | |
BuildRequires: ocaml-io-page-devel | ||
BuildRequires: ocaml-lwt-devel | ||
BuildRequires: ocaml-cmdliner-devel | ||
BuildRequires: xen-devel | ||
BuildRequires: ocaml-mirage-profile-devel | ||
BuildRequires: xen-dom0-libs-devel | ||
BuildRequires: xen-dom0-libs | ||
Requires: ocaml | ||
Requires: ocaml-findlib | ||
Requires: xen-dom0-libs | ||
|
@@ -30,10 +29,9 @@ or network backends. | |
%package devel | ||
Summary: Development files for %{name} | ||
Requires: %{name} = %{version}-%{release} | ||
Requires: ocaml-io-page-devel | ||
Requires: xen-devel | ||
Requires: xen-dom0-libs-devel | ||
Requires: xen-dom0-libs | ||
Requires: ocaml-mirage-profile-devel%{?_isa} | ||
Requires: ocaml-io-page-devel%{?_isa} | ||
Requires: xen-dom0-libs-devel%{?_isa} | ||
|
||
%description devel | ||
The %{name}-devel package contains libraries and signature files for | ||
|
@@ -53,8 +51,7 @@ export OCAMLFIND_LDCONF=%{buildroot}%{_libdir}/ocaml/ld.conf | |
ocaml setup.ml -install | ||
|
||
%files | ||
%doc LICENSE | ||
%doc ChangeLog README.md | ||
%doc CHANGES README.md | ||
%{_libdir}/ocaml/xen-gnt | ||
%exclude %{_libdir}/ocaml/xen-gnt/*.a | ||
%exclude %{_libdir}/ocaml/xen-gnt/*.cmxa | ||
|
@@ -68,6 +65,9 @@ ocaml setup.ml -install | |
%{_libdir}/ocaml/xen-gnt/*.mli | ||
|
||
%changelog | ||
* Thu Jan 28 2016 Andrew Cooper <[email protected]> - 2.2.2-1 | ||
- Update to version 2.2.2 | ||
|
||
* Thu Sep 4 2014 Jon Ludlam <[email protected]> - 1.0.0-2 | ||
- Remove dependency on xen-missing-headers | ||
|
||
|