Hello community, here is the log from the commit of package ocaml-pcre for openSUSE:Factory checked in at 2020-03-09 14:14:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ocaml-pcre (Old) and /work/SRC/openSUSE:Factory/.ocaml-pcre.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ocaml-pcre" Mon Mar 9 14:14:03 2020 rev:3 rq:780712 version:7.4.3 Changes: -------- --- /work/SRC/openSUSE:Factory/ocaml-pcre/ocaml-pcre.changes 2017-08-18 15:02:18.683831380 +0200 +++ /work/SRC/openSUSE:Factory/.ocaml-pcre.new.26092/ocaml-pcre.changes 2020-03-09 14:14:06.962535548 +0100 @@ -1,0 +2,13 @@ +Sat Feb 29 20:20:20 UTC 2020 - [email protected] + +- Update to version 7.4.3 + See included CHANGES.md + +------------------------------------------------------------------- +Thu Feb 20 20:20:20 UTC 2020 - [email protected] + +- Update to version 7.4.1 +- Require current ocaml-rpm-macros +- Remove ocaml-pcre-warnings.patch + +------------------------------------------------------------------- Old: ---- ocaml-pcre-warnings.patch pcre-ocaml-7.2.3.tar.xz New: ---- _service ocaml-pcre-7.4.3.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ocaml-pcre.spec ++++++ --- /var/tmp/diff_new_pack.d1lTBF/_old 2020-03-09 14:14:08.142536326 +0100 +++ /var/tmp/diff_new_pack.d1lTBF/_new 2020-03-09 14:14:08.142536326 +0100 @@ -13,37 +13,30 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: ocaml-pcre -Version: 7.2.3 +Version: 7.4.3 Release: 0 %{?ocaml_preserve_bytecode} Summary: Perl compatibility regular expressions (PCRE) for OCaml License: LGPL-2.0 Group: Development/Languages/OCaml - -Url: http://mmottl.github.io/pcre-ocaml/ -# https://github.com/mmottl/pcre-ocaml/releases/download/v%{version}/pcre-ocaml-%{version}.tar.gz -Source0: pcre-ocaml-%{version}.tar.xz -Patch0: ocaml-pcre-warnings.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build - -BuildRequires: gawk -BuildRequires: ocaml >= 3.10.2 -BuildRequires: ocaml-oasis -BuildRequires: ocaml-ocamldoc -BuildRequires: ocaml-rpm-macros >= 4.03 +Url: https://opam.ocaml.org/packages/pcre +Source0: %{name}-%{version}.tar.xz +BuildRequires: ocaml(ocaml_base_version) >= 4.08 +BuildRequires: ocaml-dune +BuildRequires: ocaml-rpm-macros >= 20200220 +BuildRequires: ocamlfind(base) +BuildRequires: ocamlfind(dune.configurator) BuildRequires: pkg-config -BuildRequires: ocamlfind(bytes) BuildRequires: pkgconfig(libpcre) %description Perl compatibile regular expressions (PCRE) for OCaml. - %package devel Summary: Development files for %{name} Group: Development/Languages/OCaml @@ -54,65 +47,24 @@ The %{name}-devel package contains libraries and signature files for developing applications that use %{name}. - %prep -%setup -q -n pcre-ocaml-%{version} -%patch0 -p1 +%autosetup -p1 %build -sed -i~ " -s@\(.*\)\(CCOpt:\)\(.*\)\$@\1\2 %{optflags} -fPIC `pkg-config --cflags libpcre`@ -s@\(.*\)\(CCLib:\)\(.*\)\$@\1\2 `pkg-config --libs libpcre`@ -" _oasis -if diff -u _oasis~ _oasis -then - exit 1 -fi -%oasis_setup -%ocaml_oasis_configure --enable-docs -%ocaml_oasis_build -%ocaml_oasis_doc +dune_release_pkgs='pcre' +%ocaml_dune_setup +%ocaml_dune_build %install -%ocaml_oasis_findlib_install -# -mkdir -vp %{buildroot}/etc/ld.so.conf.d/ -tee %{buildroot}/etc/ld.so.conf.d/%{name}.conf <<_EOF_ -%{_libdir}/ocaml/pcre -_EOF_ -# +%ocaml_dune_install +%ocaml_create_file_list -%post -p /sbin/ldconfig +%check +%ocaml_dune_test -%postun -p /sbin/ldconfig +%files -f %{name}.files -%files -%defattr(-,root,root,-) -%doc COPYING.txt README.md -/etc/ld.so.conf.d/*.conf -%dir %{_libdir}/ocaml -%dir %{_libdir}/ocaml/* -%if 0%{?ocaml_native_compiler} -%{_libdir}/ocaml/*/*.cmxs -%endif -%{_libdir}/ocaml/*/*.so - -%files devel -%defattr(-,root,root,-) -%{oasis_docdir_html} -%dir %{_libdir}/ocaml -%dir %{_libdir}/ocaml/* -%{_libdir}/ocaml/*/*.a -%if 0%{?ocaml_native_compiler} -%{_libdir}/ocaml/*/*.cmx -%{_libdir}/ocaml/*/*.cmxa -%endif -%{_libdir}/ocaml/*/*.annot -%{_libdir}/ocaml/*/*.cma -%{_libdir}/ocaml/*/*.cmi -%{_libdir}/ocaml/*/*.cmt -%{_libdir}/ocaml/*/*.cmti -%{_libdir}/ocaml/*/*.mli -%{_libdir}/ocaml/*/META +%files devel -f %{name}.files.devel +%doc README.md %changelog ++++++ _service ++++++ <services> <service name="tar_scm" mode="disabled"> <param name="url">git://github.com/mmottl/pcre-ocaml.git</param> <param name="scm">git</param> <param name="versionformat">@PARENT_TAG@</param> <param name="revision">45a2781669d4dc1616f9d07510b366cbe0ae99d4</param> <param name="filename">ocaml-pcre</param> </service> <service name="recompress" mode="disabled"> <param name="file">*.tar</param> <param name="compression">xz</param> </service> <service name="set_version" mode="disabled"/> </services>
