Hello community,
here is the log from the commit of package opam-file-format for
openSUSE:Factory checked in at 2019-11-11 13:01:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/opam-file-format (Old)
and /work/SRC/openSUSE:Factory/.opam-file-format.new.2990 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "opam-file-format"
Mon Nov 11 13:01:08 2019 rev:3 rq:747292 version:2.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/opam-file-format/opam-file-format.changes
2019-02-27 15:08:04.734411755 +0100
+++
/work/SRC/openSUSE:Factory/.opam-file-format.new.2990/opam-file-format.changes
2019-11-11 13:01:12.565742362 +0100
@@ -1,0 +2,5 @@
+Fri Nov 1 12:34:56 UTC 2019 - [email protected]
+
+- Require current dune macros
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ opam-file-format.spec ++++++
--- /var/tmp/diff_new_pack.LSOX0F/_old 2019-11-11 13:01:14.621744539 +0100
+++ /var/tmp/diff_new_pack.LSOX0F/_new 2019-11-11 13:01:14.669744589 +0100
@@ -27,7 +27,8 @@
URL: https://opam.ocaml.org/
Source: %{name}-%{version}.tar.xz
BuildRequires: ocaml
-BuildRequires: ocaml-rpm-macros
+BuildRequires: ocaml-dune
+BuildRequires: ocaml-rpm-macros >= 20191101
%description
This is a parser and a printer for the opam file syntax.
@@ -35,6 +36,7 @@
%package devel
Summary: Development files for the opam file syntax parser
Group: Development/Languages/OCaml
+Requires: %{name} = %{version}
%description devel
This is a parser and a printer for the opam file syntax.
@@ -42,42 +44,22 @@
This package contains development files for package %{name}.
%prep
-%setup -q
+%autosetup -p1
%build
-%if 0%{?ocaml_native_compiler}
-make all
-%else
-make byte
-%endif
+dune_release_pkgs='opam-file-format'
+%ocaml_dune_setup
+%ocaml_dune_build
%install
-export PREFIX=%{_prefix}
-export LIBDIR=%{_libdir}/ocaml
-%make_install
-
-%files devel
-%license LICENSE
-%dir %{_libdir}/ocaml/opam-file-format
-%{_libdir}/ocaml/opam-file-format/META
-%{_libdir}/ocaml/opam-file-format/opam-file-format.cma
-%{_libdir}/ocaml/opam-file-format/opamBaseParser.cmi
-%{_libdir}/ocaml/opam-file-format/opamBaseParser.cmo
-%{_libdir}/ocaml/opam-file-format/opamLexer.cmi
-%{_libdir}/ocaml/opam-file-format/opamLexer.cmo
-%{_libdir}/ocaml/opam-file-format/opamParser.cmi
-%{_libdir}/ocaml/opam-file-format/opamParser.cmo
-%{_libdir}/ocaml/opam-file-format/opamParserTypes.cmi
-%{_libdir}/ocaml/opam-file-format/opamPrinter.cmi
-%{_libdir}/ocaml/opam-file-format/opamPrinter.cmo
-%if 0%{?ocaml_native_compiler}
-%{_libdir}/ocaml/opam-file-format/opam-file-format.a
-%{_libdir}/ocaml/opam-file-format/opam-file-format.cmxa
-%{_libdir}/ocaml/opam-file-format/opam-file-format.cmxs
-%{_libdir}/ocaml/opam-file-format/opamBaseParser.cmx
-%{_libdir}/ocaml/opam-file-format/opamLexer.cmx
-%{_libdir}/ocaml/opam-file-format/opamParser.cmx
-%{_libdir}/ocaml/opam-file-format/opamPrinter.cmx
-%endif
+%ocaml_dune_install
+%ocaml_create_file_list
+
+%check
+%ocaml_dune_test
+
+%files -f %{name}.files
+
+%files devel -f %{name}.files.devel
%changelog
++++++ _service ++++++
--- /var/tmp/diff_new_pack.LSOX0F/_old 2019-11-11 13:01:15.113745060 +0100
+++ /var/tmp/diff_new_pack.LSOX0F/_new 2019-11-11 13:01:15.141745090 +0100
@@ -1,7 +1,7 @@
<services>
<service mode="disabled" name="tar_scm">
<param name="changesgenerate">enable</param>
- <param name="revision">2.0.0</param>
+ <param name="revision">152fb9b32f60e201a6de2f25a1783c87c01aaf1a</param>
<param name="scm">git</param>
<param name="url">https://github.com/ocaml/opam-file-format.git</param>
<param name="versionformat">@PARENT_TAG@</param>
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.LSOX0F/_old 2019-11-11 13:01:15.385745349 +0100
+++ /var/tmp/diff_new_pack.LSOX0F/_new 2019-11-11 13:01:15.409745373 +0100
@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param
name="url">https://github.com/ocaml/opam-file-format.git</param>
- <param
name="changesrevision">fbf36fc66e0e8b579b453ae854e059f7f68c59f7</param></service></servicedata>
\ No newline at end of file
+ <param
name="changesrevision">43bbd4831564a881a5f31dd4d4fbe8c2bbd13f39</param></service></servicedata>
\ No newline at end of file
++++++ opam-file-format-2.0.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/opam-file-format-2.0.0/dune-project
new/opam-file-format-2.0.0/dune-project
--- old/opam-file-format-2.0.0/dune-project 1970-01-01 01:00:00.000000000
+0100
+++ new/opam-file-format-2.0.0/dune-project 2019-06-24 11:12:54.000000000
+0200
@@ -0,0 +1 @@
+(lang dune 1.0)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/opam-file-format-2.0.0/opam
new/opam-file-format-2.0.0/opam
--- old/opam-file-format-2.0.0/opam 2018-08-01 16:59:46.000000000 +0200
+++ new/opam-file-format-2.0.0/opam 1970-01-01 01:00:00.000000000 +0100
@@ -1,17 +0,0 @@
-opam-version: "1.2"
-name: "opam-file-format"
-version: "2.0.0"
-synopsis: "Parser and printer for the opam file syntax"
-maintainer: "Louis Gesbert <[email protected]>"
-authors: "Louis Gesbert <[email protected]>"
-license: "LGPL-2.1 with OCaml linking exception"
-homepage: "https://opam.ocaml.org"
-bug-reports: "https://github.com/ocaml/opam-file-format/issues"
-build: [
- make
- "byte" {!ocaml-native}
- "all" {ocaml-native}
-]
-install: [make "install" "PREFIX=%{prefix}%"]
-remove: ["rm" "-rf" "%{opam-file-format:lib}%"]
-dev-repo: "git+https://github.com/ocaml/opam-file-format"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/opam-file-format-2.0.0/opam-file-format.opam
new/opam-file-format-2.0.0/opam-file-format.opam
--- old/opam-file-format-2.0.0/opam-file-format.opam 1970-01-01
01:00:00.000000000 +0100
+++ new/opam-file-format-2.0.0/opam-file-format.opam 2019-06-24
11:12:54.000000000 +0200
@@ -0,0 +1,17 @@
+opam-version: "1.2"
+name: "opam-file-format"
+version: "2.0.0"
+synopsis: "Parser and printer for the opam file syntax"
+maintainer: "Louis Gesbert <[email protected]>"
+authors: "Louis Gesbert <[email protected]>"
+license: "LGPL-2.1 with OCaml linking exception"
+homepage: "https://opam.ocaml.org"
+bug-reports: "https://github.com/ocaml/opam-file-format/issues"
+build: [
+ make
+ "byte" {!ocaml-native}
+ "all" {ocaml-native}
+]
+install: [make "install" "PREFIX=%{prefix}%"]
+remove: ["rm" "-rf" "%{opam-file-format:lib}%"]
+dev-repo: "git+https://github.com/ocaml/opam-file-format"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/opam-file-format-2.0.0/src/dune
new/opam-file-format-2.0.0/src/dune
--- old/opam-file-format-2.0.0/src/dune 1970-01-01 01:00:00.000000000 +0100
+++ new/opam-file-format-2.0.0/src/dune 2019-06-24 11:12:54.000000000 +0200
@@ -0,0 +1,9 @@
+(library
+ (name opam_file_format)
+ (public_name opam-file-format)
+ (synopsis "Parser and printer for the opam file syntax")
+ (wrapped false)
+ (modules_without_implementation opamParserTypes))
+
+(ocamlyacc opamBaseParser)
+(ocamllex opamLexer)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/opam-file-format-2.0.0/src/opamPrinter.ml
new/opam-file-format-2.0.0/src/opamPrinter.ml
--- old/opam-file-format-2.0.0/src/opamPrinter.ml 2018-08-01
16:59:46.000000000 +0200
+++ new/opam-file-format-2.0.0/src/opamPrinter.ml 2019-06-24
11:12:54.000000000 +0200
@@ -286,7 +286,7 @@
aux [] l
in
let is_variable name = function
- | Variable (_, name1, v1) -> name = name1
+ | Variable (_, name1, _v1) -> name = name1
| _ -> false
in
let is_section kind name = function