Hello community, here is the log from the commit of package ocaml-qtest for openSUSE:Factory checked in at 2018-07-28 12:44:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ocaml-qtest (Old) and /work/SRC/openSUSE:Factory/.ocaml-qtest.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ocaml-qtest" Sat Jul 28 12:44:50 2018 rev:2 rq:625765 version:2.9 Changes: -------- --- /work/SRC/openSUSE:Factory/ocaml-qtest/ocaml-qtest.changes 2018-07-09 13:27:10.587007230 +0200 +++ /work/SRC/openSUSE:Factory/.ocaml-qtest.new/ocaml-qtest.changes 2018-07-28 12:44:58.480943301 +0200 @@ -1,0 +2,6 @@ +Fri Jul 27 10:59:10 UTC 2018 - [email protected] + +- Replace old $RPM_* shell vars by macros. +- Ensure neutrality of descriptions. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ocaml-qtest.spec ++++++ --- /var/tmp/diff_new_pack.4AwcNw/_old 2018-07-28 12:44:58.964944180 +0200 +++ /var/tmp/diff_new_pack.4AwcNw/_new 2018-07-28 12:44:58.968944188 +0200 @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: ocaml-qtest Version: 2.9 Release: 0 @@ -27,20 +28,20 @@ Source0: https://github.com/vincent-hugot/qtest/archive/v%{version}/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: help2man BuildRequires: ocaml BuildRequires: ocaml-dune BuildRequires: ocaml-findlib BuildRequires: ocaml-ounit-devel BuildRequires: ocaml-qcheck-devel -BuildRequires: opam-installer BuildRequires: ocaml-rpm-macros -BuildRequires: help2man +BuildRequires: opam-installer %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. +qcheck library. The possibilities range from trivial tests +to sophisticated random generation of test cases. %package devel @@ -48,7 +49,6 @@ Group: Development/Languages/OCaml Requires: %{name} = %{version} - %description devel The %{name}-devel package contains libraries and signature files for developing applications that use %{name}. @@ -57,14 +57,12 @@ %prep %setup -q -n qtest-%{version} - %build jbuilder build @install - %install -export DESTDIR=$RPM_BUILD_ROOT -export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml +export DESTDIR=%{buildroot}/ +export OCAMLFIND_DESTDIR=%{buildroot}/%{_libdir}/ocaml mkdir -p $OCAMLFIND_DESTDIR jbuilder install --destdir="$DESTDIR/usr" --libdir="$OCAMLFIND_DESTDIR" --verbose @@ -72,14 +70,13 @@ rm $DESTDIR/usr/doc/qtest/{LICENSE,README.adoc} # generate manpage -mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1/ -help2man $RPM_BUILD_ROOT%{_bindir}/qtest \ - --output $RPM_BUILD_ROOT%{_mandir}/man1/qtest.1 \ +mkdir -p %{buildroot}/%{_mandir}/man1/ +help2man %{buildroot}/%{_bindir}/qtest \ + --output %{buildroot}/%{_mandir}/man1/qtest.1 \ --name "Inline (Unit) Tests for OCaml" \ --version-string %{version} \ --no-info - %files %defattr(-,root,root,-) %doc README.adoc HOWTO.adoc
