Hello community,

here is the log from the commit of package hivex for openSUSE:Factory checked 
in at 2017-09-04 12:30:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hivex (Old)
 and      /work/SRC/openSUSE:Factory/.hivex.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hivex"

Mon Sep  4 12:30:26 2017 rev:8 rq:519683 version:1.3.14

Changes:
--------
--- /work/SRC/openSUSE:Factory/hivex/hivex.changes      2015-11-04 
15:34:27.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.hivex.new/hivex.changes 2017-09-04 
12:30:35.287889325 +0200
@@ -1,0 +2,6 @@
+Mon Jul 31 09:42:50 UTC 2017 - cbosdon...@suse.com
+
+- Update to version 3.14
+- Build OCAML binding
+
+-------------------------------------------------------------------

Old:
----
  hivex-1.3.12.tar.gz
  hivex-1.3.12.tar.gz.sig

New:
----
  hivex-1.3.14.tar.gz
  hivex-1.3.14.tar.gz.sig

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

Other differences:
------------------
++++++ hivex.spec ++++++
--- /var/tmp/diff_new_pack.7TrzWj/_old  2017-09-04 12:30:36.095775737 +0200
+++ /var/tmp/diff_new_pack.7TrzWj/_new  2017-09-04 12:30:36.103774613 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package hivex
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2011 Michal Hrusecky <mhruse...@novell.com>
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,8 +17,9 @@
 #
 
 
-%define with_perl 1
-%define with_python 1
+%bcond_without perl_bingings
+%bcond_without python_bindings
+%bcond_without ocaml_bindings
 
 Name:           hivex
 BuildRequires:  autoconf
@@ -37,7 +38,7 @@
 Summary:        Windows "Registry Hive" extraction library
 License:        LGPL-2.1 and GPL-2.0
 Group:          System/Filesystems
-Version:        1.3.12
+Version:        1.3.14
 Release:        0
 Source:         http://libguestfs.org/download/hivex/%name-%version.tar.gz
 Source2:        http://libguestfs.org/download/hivex/%name-%version.tar.gz.sig
@@ -64,7 +65,7 @@
 %description -n libhivex0
 Hivex is a Windows Registry Hive extraction library.
 
-%if %with_perl
+%if %{with perl_bingings}
 %package -n perl-Win-Hivex
 Summary:        Perl bindings for hivex
 Group:          System/Filesystems
@@ -83,7 +84,7 @@
 
 %endif
 
-%if %with_python
+%if %{with python_bindings}
 %package -n python-hivex
 %define pyver %(python -c "import sys; print sys.version[:3]")
 BuildRequires:  python
@@ -96,6 +97,27 @@
 Hivex is a Windows Registry Hive extraction library.
 %endif
 
+%if %{with ocaml_bindings}
+%package -n ocaml-hivex
+BuildRequires:  ocaml
+BuildRequires:  ocaml-findlib
+
+Summary:        OCAML bindings for libhivex
+Group:          System/Filesystems
+
+%description -n ocaml-hivex
+This subpackage contains the OCAML bindings for hivex.
+Hivex is a Windows Registry Hive extraction library.
+
+%package -n ocaml-hivex-devel
+Summary:        OCAML bindings development files for libhivex
+Group:          Development/Libraries/Other
+
+%description -n ocaml-hivex-devel
+This subpackage contains the OCAML bindings development file
+for hivex. Hivex is a Windows Registry Hive extraction library.
+%endif
+
 %lang_package
 
 %prep
@@ -116,12 +138,15 @@
        %{?_smp_mflags}
 
 %install
-%make_install
+%make_install INSTALLDIRS=vendor
+
+%if %{with perl_bingings}
 %perl_process_packlist
 %perl_gen_filelist
 # the macro above packages everything, here only the perl files are desrired
 grep "%perl_vendorarch/" %name.files | tee t
 mv t %name.files
+%endif
 #
 rm -f %buildroot/%_libdir/*.{l,}a
 touch %name.lang
@@ -146,13 +171,13 @@
 %defattr(-,root,root)
 %_libdir/*.so.*
 
-%if %with_python
+%if %{with python_bindings}
 %files -n python-hivex
 %defattr(-,root,root)
 %_libdir/python%pyver/site-packages/*
 %endif
 
-%if %with_perl
+%if %{with perl_bingings}
 %post -n perl-Win-Hivex -p /sbin/ldconfig
 
 %postun -n perl-Win-Hivex -p /sbin/ldconfig
@@ -162,6 +187,22 @@
 %endif
 #
 
+%if %{with ocaml_bindings}
+%files -n ocaml-hivex
+%defattr(-,root,root)
+%dir %{_libdir}/ocaml/hivex
+%{_libdir}/ocaml/hivex/META
+%{_libdir}/ocaml/hivex/hivex.cmi
+%{_libdir}/ocaml/hivex/mlhivex.cma
+%{_libdir}/ocaml/stublibs/*hivex.so*
+
+%files -n ocaml-hivex-devel
+%defattr(-,root,root)
+%{_libdir}/ocaml/hivex/*hivex.a
+%{_libdir}/ocaml/hivex/*hivex.cmx*
+%{_libdir}/ocaml/hivex/hivex.mli
+%endif
+
 %files lang -f %name.lang
 
 %changelog

++++++ hivex-1.3.12.tar.gz -> hivex-1.3.14.tar.gz ++++++
++++ 9958 lines of diff (skipped)


Reply via email to