Group :: Desenvolvimento/ML
RPM: ocaml-qtest
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define libname qtest
Name: ocaml-%libname
Version: 2.11.2
Release: alt2
Summary: Inline (Unit) Tests for OCaml
License: GPLv3
Group: Development/ML
Url: https://github.com/vincent-hugot/qtest
Source0: %name-%version.tar
BuildRequires: dune
BuildRequires: ocaml-qcheck-devel ocaml-ounit-devel ocaml-base-devel
%description
qtest extracts inline unit tests written using a special syntax in comments.
Those tests are then run using the oUnit framework and the qcheck library. The
possibilities range from trivial tests -- extremely simple to use -- to
sophisticated random generation of test cases.
%package devel
Summary: Development files for %name
Group: Development/ML
Requires: %name = %EVR
%description devel
The %name-devel package contains libraries and signature files for
developing applications that use %name.
%prep
%setup
%build
%dune_build -p %libname
%install
%dune_install
%check
%dune_check
%files -f ocaml-files.runtime
%doc README.adoc HOWTO.adoc
%_bindir/qtest
%files devel -f ocaml-files.devel
%changelog
…
Todas as alterações você pod ver aqui
Name: ocaml-%libname
Version: 2.11.2
Release: alt2
Summary: Inline (Unit) Tests for OCaml
License: GPLv3
Group: Development/ML
Url: https://github.com/vincent-hugot/qtest
Source0: %name-%version.tar
BuildRequires: dune
BuildRequires: ocaml-qcheck-devel ocaml-ounit-devel ocaml-base-devel
%description
qtest extracts inline unit tests written using a special syntax in comments.
Those tests are then run using the oUnit framework and the qcheck library. The
possibilities range from trivial tests -- extremely simple to use -- to
sophisticated random generation of test cases.
%package devel
Summary: Development files for %name
Group: Development/ML
Requires: %name = %EVR
%description devel
The %name-devel package contains libraries and signature files for
developing applications that use %name.
%prep
%setup
%build
%dune_build -p %libname
%install
%dune_install
%check
%dune_check
%files -f ocaml-files.runtime
%doc README.adoc HOWTO.adoc
%_bindir/qtest
%files devel -f ocaml-files.devel
%changelog
…
Todas as alterações você pod ver aqui