Hello community,

here is the log from the commit of package ocaml-type-conv for openSUSE:Factory 
checked in at 2017-08-18 15:02:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ocaml-type-conv (Old)
 and      /work/SRC/openSUSE:Factory/.ocaml-type-conv.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ocaml-type-conv"

Fri Aug 18 15:02:19 2017 rev:2 rq:512540 version:113.00.02

Changes:
--------
--- /work/SRC/openSUSE:Factory/ocaml-type-conv/ocaml-type-conv.changes  
2016-07-15 12:47:32.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ocaml-type-conv.new/ocaml-type-conv.changes     
2017-08-18 15:02:27.610574757 +0200
@@ -1,0 +2,20 @@
+Tue Jul 25 13:04:54 UTC 2017 - oher...@suse.de
+
+- Use Group: Development/Languages/OCaml
+
+-------------------------------------------------------------------
+Thu Jul 20 15:10:34 UTC 2017 - oher...@suse.de
+
+- Build with oasis
+
+-------------------------------------------------------------------
+Mon Jul 17 12:48:58 UTC 2017 - oher...@suse.de
+
+- Wrap specfile conditionals to fix quilt setup
+
+-------------------------------------------------------------------
+Mon Jul 17 10:48:58 UTC 2017 - oher...@suse.de
+
+- Remove autodeps for pre openSUSE 12.1 releases
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ocaml-type-conv.spec ++++++
--- /var/tmp/diff_new_pack.Yz5iIX/_old  2017-08-18 15:02:30.538162639 +0200
+++ /var/tmp/diff_new_pack.Yz5iIX/_new  2017-08-18 15:02:30.546161513 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ocaml-type-conv
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,35 +19,29 @@
 Name:           ocaml-type-conv
 Version:        113.00.02
 Release:        0
-%{ocaml_preserve_bytecode}
+%{?ocaml_preserve_bytecode}
 Summary:        Generate OCaml modules
 License:        Apache-2.0
-Group:          Development/Libraries/Other
+Group:          Development/Languages/OCaml
 
 Url:            https://github.com/janestreet/type_conv
 Source0:        type_conv-%{version}.tar.xz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-# ocaml autodep start for pkg: ocaml-type-conv
-# hardcoded rpm dependency for pre 12.1 to compensate for lack of ocaml() 
provides/requires
-%if 0%{?suse_version} < 1210
-Requires:       ocaml-camlp4 ocaml-compiler-libs ocaml-runtime
-%endif
-# ocaml autodep end for pkg: ocaml-type-conv
 
 BuildRequires:  ocaml
+BuildRequires:  ocaml-oasis
+BuildRequires:  ocaml-ocamldoc
+BuildRequires:  ocaml-rpm-macros >= 4.03
 BuildRequires:  ocamlfind(camlp4.extend)
 BuildRequires:  ocamlfind(camlp4.quotations)
 BuildRequires:  ocamlfind(findlib)
-BuildRequires:  ocaml-ocamlbuild
-BuildRequires:  ocaml-ocamldoc
-BuildRequires:  ocaml-rpm-macros >= 4.03
 
 %description
 Generate OCaml modules from source files
 
 %package        devel
 Summary:        Development files for %{name}
-Group:          Development/Libraries/Other
+Group:          Development/Languages/OCaml
 Requires:       %{name} = %{version}
 
 %description    devel
@@ -57,7 +51,37 @@
 %setup -n type_conv-%{version}
 
 %build
-%ocaml_oasis_configure --enable-docs --enable-tests
+rm -fv */*lib _tags
+# obs service changes every ^Version line ...
+sh -c "sed 's/^Version.*/Version: %{version}/' | tee _oasis" <<_EOF_
+OASISFormat: 0.4
+Name:        %{name}
+Version:     0
+Synopsis:    type_conv - support library for preprocessor type conversions
+Authors:     Jane Street Group, LLC <opensou...@janestreet.com>
+License:     %{license}
+Plugins:     META(`oasis version`)
+BuildTools:  ocamlbuild
+
+Library type_conv
+  Path:               src
+  Modules:            Pa_type_conv
+  BuildDepends:       camlp4.quotations, camlp4.extend
+  XMETAType:          syntax
+  XMETARequires:      camlp4
+  XMETADescription:   Syntax extension for type_conv
+
+Document "type_conv"
+ Title:                API reference for type_conv
+ Type:                 ocamlbuild
+ BuildTools+:          ocamldoc
+ InstallDir:           \$htmldir
+ Install:              true
+ XOCamlbuildPath:      .
+ XOCamlbuildLibraries: type_conv
+_EOF_
+%oasis_setup
+%ocaml_oasis_configure --enable-docs
 %ocaml_oasis_build
 %ocaml_oasis_doc
 
@@ -69,15 +93,16 @@
 %doc COPYRIGHT.txt LICENSE-Tywith.txt LICENSE.txt
 %dir %{_libdir}/ocaml
 %dir %{_libdir}/ocaml/*
-%if %{ocaml_native_compiler}
+%if 0%{?ocaml_native_compiler}
 %{_libdir}/ocaml/*/*.cmxs
 %endif
 
 %files devel
 %defattr(-,root,root,-)
+%{oasis_docdir_html}
 %dir %{_libdir}/ocaml
 %dir %{_libdir}/ocaml/*
-%if %{ocaml_native_compiler}
+%if 0%{?ocaml_native_compiler}
 %{_libdir}/ocaml/*/*.a
 %{_libdir}/ocaml/*/*.cmx
 %{_libdir}/ocaml/*/*.cmxa


Reply via email to