diff --git a/.gitignore b/.gitignore index e03bc88..62264d6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ -/biniou-1.0.9.tar.gz -/ocaml-biniou-1.2.0.tar.gz +/biniou-*.tar.gz +/ocaml-biniou-*.tar.gz +/biniou-*.tbz diff --git a/ocaml-biniou.spec b/ocaml-biniou.spec index 0ee7bc8..b474df6 100644 --- a/ocaml-biniou.spec +++ b/ocaml-biniou.spec @@ -1,11 +1,17 @@ -Name: ocaml-biniou -Version: 1.2.0 -Release: 12%{?dist} +%ifnarch %{ocaml_native_compiler} +%global debug_package %{nil} +%endif + +%global libname biniou + +Name: ocaml-%{libname} +Version: 1.2.1 +Release: 1%{?dist} Summary: Safe and fast binary data format License: BSD -URL: https://github.com/mjambon/biniou -Source0: https://github.com/mjambon/biniou/archive/v%{version}/%{name}-%{version}.tar.gz +URL: https://github.com/ocaml-community/%{libname} +Source0: %{url}/releases/download/%{version}/%{libname}-%{version}.tbz BuildRequires: ocaml >= 3.10.0 BuildRequires: ocaml-findlib @@ -13,8 +19,6 @@ BuildRequires: ocaml-easy-format-devel BuildRequires: ocaml-ocamldoc BuildRequires: ocaml-dune -%global libname %(sed -e 's/^ocaml-//' <<< %{name}) - %description Biniou (pronounced "be new") is a binary data format designed for speed, safety, ease of use and backward compatibility as protocols @@ -69,6 +73,7 @@ make test %files %license LICENSE +%doc README.md %{_libdir}/ocaml/%{libname}/ %ifarch %{ocaml_native_compiler} %exclude %{_libdir}/ocaml/*/*.a @@ -80,7 +85,7 @@ make test %files devel %license LICENSE -%doc README.md Changes +%doc biniou-format.txt CHANGES.md %doc _build/install/default/doc/* %ifarch %{ocaml_native_compiler} %{_bindir}/ocaml-bdump @@ -92,6 +97,10 @@ make test %changelog +* Thu Sep 5 2019 Jerry James - 1.2.1-1 +- New upstream version 1.2.1. +- New URLs. + * Fri Aug 16 2019 Richard W.M. Jones - 1.2.0-12 - OCaml 4.08.1 (final) rebuild. diff --git a/sources b/sources index 305a120..af7e9ef 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ocaml-biniou-1.2.0.tar.gz) = 04c04c2dd5e3e1237106db257567ba6900bd94759b07b02ba2e0d9209d1bbdc9ed629864e06d44a8b61f72d46fbcc7a0ffc86f82feb223d9d99ca41afc625fab +SHA512 (biniou-1.2.1.tbz) = 82670cc77bf3e869ee26e5fbe5a5affa45a22bc8b6c4bd7e85473912780e0111baca59b34a2c14feae3543ce6e239d7fddaeab24b686a65bfe642cdb91d27ebf