Hello community,

here is the log from the commit of package ocaml-findlib for openSUSE:Factory 
checked in at 2013-08-02 15:26:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ocaml-findlib (Old)
 and      /work/SRC/openSUSE:Factory/.ocaml-findlib.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ocaml-findlib"

Changes:
--------
New Changes file:

--- /dev/null   2013-07-23 23:44:04.804033756 +0200
+++ /work/SRC/openSUSE:Factory/.ocaml-findlib.new/ocaml-findlib.changes 
2013-08-02 15:26:10.000000000 +0200
@@ -0,0 +1,112 @@
+-------------------------------------------------------------------
+Mon Jun  3 09:23:34 CEST 2013 - [email protected]
+
+- Recompress with xz
+
+-------------------------------------------------------------------
+Fri Mar  8 14:17:16 CET 2013 - [email protected]
+
+- remove ExclusiveArch, its a generic package which depends on ocaml
+
+-------------------------------------------------------------------
+Thu Feb 21 14:27:14 CET 2013 - [email protected]
+
+- package compiler-libs/
+
+-------------------------------------------------------------------
+Wed Jan 16 16:03:19 CET 2013 - [email protected]
+
+- disable also /usr/lib/rpm/find-debuginfo.sh
+
+-------------------------------------------------------------------
+Mon Jan 14 15:58:16 CET 2013 - [email protected]
+
+- disable strip, it destroys bytecode binaries
+
+-------------------------------------------------------------------
+Mon Jan 14 10:07:21 CET 2013 - [email protected]
+
+- change Requires: version-release to just Requires: version
+
+-------------------------------------------------------------------
+Fri Nov 23 18:05:49 CET 2012 - [email protected]
+
+- restore BuildRequire ocaml-camlp4-devel because the solver
+  triggers only on package names
+
+-------------------------------------------------------------------
+Tue Nov 13 21:40:32 CET 2012 - [email protected]
+
+- add DESTDIR support
+
+-------------------------------------------------------------------
+Tue Sep 18 15:38:11 CEST 2012 - [email protected]
+
+- BuildRequire just camlp4 to allow build within sles11 [fate#312159]
+
+-------------------------------------------------------------------
+Sun Sep 16 20:05:17 CEST 2012 - [email protected]
+
+-  Update to upstream version 1.3.3
+-  1.3.3: OCaml-4: using the new #remove_directory directive  if present.
+   Better compatibility with the OCaml version from Homebrew.
+   
+-  1.3.2: Handling of empty arguments (Wojciech Meyer).
+   Added entry for camlp4.fulllib.
+   New switch -add for "ocamlfind install" (Hans Ole Rafaelsen).
+   Further fixes for ocaml-4.00.
+   Fixing the recognition of double .cmi interface files.
+   Fixing -dontlink (it is now deeply interpreted).
+   
+-  1.3.1: Fixing a bug with ocamlmklib that slipped through in 1.3.0
+   
+-  1.3.0: Fixes for ocaml-4.00 (especially topfind).
+   Emitting an error if the configuration file does not exist.
+   Emitting a warning if the selected toolchain does not exist.
+   camlp4 is referenced by "+camlp4" in META.
+   Including the sources for the documentation in the tarball.
+   License change (simplification) for num_top_printers.mli.
+   Fix ocamlmklib wrapper: processing contracted args (like -L/dir) correctly.
+   Many wrappers get a new option -passrest instructing to pass all remaining 
+   options on the command-line unchanged to the invoked tool.
+   Prettified -help output.
+   
+-  1.2.8: Adding support for ocamlmklib (B. Meurer's patches)
+   Fix for win32 in the configure script.
+
+-------------------------------------------------------------------
+Thu Sep 15 01:23:49 UTC 2011 - [email protected]
+
+- Remove some unneeded commands in the build section
+
+-------------------------------------------------------------------
+Fri Jul 22 16:18:43 UTC 2011 - [email protected]
+
+- Fix license (sort of, they're the same thing, really)
+- Primary package provides ocamlfind
+- Fixed some rpmlint warnings
+
+-------------------------------------------------------------------
+Fri Jun 17 13:43:16 UTC 2011 - [email protected]
+
+- Use ocaml-camlp4-devel in BuildRequires
+
+Wed May 18 19:12:42 UTC 2011 - [email protected]
+-------------------------------------------------------------------
+- Add this file.
+- New upstream version 1.2.7
+- Fix: if a META file defines several packages, and one of the packages
+has a broken dependency, ocamlfind used to report all errors even if
+the broken packages were not used. This is now changed - broken
+subpackages are ignored when they are not needed, in the same way as
+broken top-level packages are ignored when not needed. (Thanks to
+Sylvain Le Gall for reporting the problem.)
+- Added -thread and -vmthread switches to "ocamlfind ocamldoc".
+These actually only add the right predicates. (Thanks to Vladimir
+Ivanov for pointing this problem out.)
+- Package warnings can be emitted by "ocamlfind ocamldoc".
+
+-------------------------------------------------------------------
+Wed Apr 20 00:00:00 UTC 2011 - [email protected]
+
+- Use internal dependency generator

New:
----
  findlib-1.3.3.patch
  findlib-1.3.3.tar.xz
  ocaml-findlib.changes
  ocaml-findlib.spec

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

Other differences:
------------------
++++++ ocaml-findlib.spec ++++++
#
# spec file for package ocaml-findlib
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010-2011 Andrew Psaltis <ampsaltis at gmail dot com>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# 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/
#


%define opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
%if !%opt
# get rid of /usr/lib/rpm/find-debuginfo.sh
# strip kills the bytecode part of ELF binaries
# see also NO_BRP_STRIP_DEBUG in install section
%undefine _build_create_debug
%endif

Name:           ocaml-findlib
Version:        1.3.3
Release:        0
Summary:        Objective CAML package manager and build helper
License:        MIT
Group:          Development/Libraries/Other

Url:            http://projects.camlcity.org/projects/findlib.html
Source0:        findlib-%{version}.tar.xz
Patch0:         findlib-1.3.3.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Provides:       ocamlfind = %{version}

BuildRequires:  gawk
BuildRequires:  m4
BuildRequires:  ncurses-devel
BuildRequires:  ocaml
BuildRequires:  ocaml-camlp4-devel
BuildRequires:  ocaml-ocamldoc

%description
Findlib is a library manager for Objective Caml. It provides a
convention how to store libraries, and a file format ("META") to
describe the properties of libraries. There is also a tool (ocamlfind)
for interpreting the META files, so that it is very easy to use
libraries in programs and scripts.


%package        devel
Summary:        Development files for ocaml-findlib
Group:          Development/Libraries/Other
Requires:       %{name} = %{version}

%description    devel
The ocaml-findlib-devel package contains libraries and signature files
for developing applications that use ocaml-findlib.


%prep
%setup -q -n findlib-%{version}
%patch0 -p1

%build
(cd tools/extract_args && make)
tools/extract_args/extract_args -o src/findlib/ocaml_args.ml ocamlc ocamlcp 
ocamlmktop ocamlopt ocamldep ocamldoc ||:
#cat src/findlib/ocaml_args.ml
./configure -config %{_sysconfdir}/ocamlfind.conf \
  -bindir %{_bindir} \
  -sitelib `ocamlc -where` \
  -mandir %{_mandir} \
  -with-toolbox
make all
%if %opt
make opt
%endif
rm doc/guide-html/TIMESTAMP

%install
%if !%opt
# get rid of /usr/lib/rpm/brp-strip-debug 
# strip kills the bytecode part of ELF binaries
export NO_BRP_STRIP_DEBUG=true
%endif
make install DESTDIR=$RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc LICENSE doc/README
%config(noreplace) %{_sysconfdir}/ocamlfind.conf
%{_bindir}/*
%{_mandir}/man?/*
%{_libdir}/ocaml/bigarray
%{_libdir}/ocaml/dbm
%{_libdir}/ocaml/dynlink
%{_libdir}/ocaml/graphics
%{_libdir}/ocaml/num
%{_libdir}/ocaml/stdlib
%{_libdir}/ocaml/str
%{_libdir}/ocaml/unix
%{_libdir}/ocaml/camlp4
%{_libdir}/ocaml/ocamlbuild
%{_libdir}/ocaml/threads
%{_libdir}/ocaml/topfind
%{_libdir}/ocaml/findlib
%{_libdir}/ocaml/compiler-libs
%if %opt
%exclude %{_libdir}/ocaml/findlib/*.a
%exclude %{_libdir}/ocaml/findlib/*.cmxa
%endif
%exclude %{_libdir}/ocaml/findlib/*.mli
%exclude %{_libdir}/ocaml/findlib/Makefile.config
%{_libdir}/ocaml/num-top

%files devel
%defattr(-,root,root,-)
%doc LICENSE doc/README doc/guide-html
%if %opt
%{_libdir}/ocaml/findlib/*.a
%{_libdir}/ocaml/findlib/*.cmxa
%endif
%{_libdir}/ocaml/findlib/*.mli
%{_libdir}/ocaml/findlib/Makefile.config

%changelog
++++++ findlib-1.3.3.patch ++++++
---
 Makefile                     |   32 ++++++++++++++++----------------
 src/findlib-toolbox/Makefile |    2 +-
 src/findlib/Makefile         |   22 +++++++++++-----------
 3 files changed, 28 insertions(+), 28 deletions(-)

Index: findlib-1.3.3/Makefile
===================================================================
--- findlib-1.3.3.orig/Makefile
+++ findlib-1.3.3/Makefile
@@ -17,13 +17,13 @@ opt:
        for p in $(PARTS); do ( cd src/$$p; $(MAKE) opt ); done
 
 install:
-       mkdir -p "$(prefix)$(OCAMLFIND_BIN)"
-       mkdir -p "$(prefix)$(OCAMLFIND_MAN)"
+       mkdir -p "$(DESTDIR)$(prefix)$(OCAMLFIND_BIN)"
+       mkdir -p "$(DESTDIR)$(prefix)$(OCAMLFIND_MAN)"
        for p in $(PARTS); do ( cd src/$$p; $(MAKE) install ); done
        $(MAKE) install-meta
        cd src/findlib; $(MAKE) install-num-top
        $(MAKE) install-config
-       cp tools/safe_camlp4 "$(prefix)$(OCAMLFIND_BIN)"
+       cp tools/safe_camlp4 "$(DESTDIR)$(prefix)$(OCAMLFIND_BIN)"
        $(MAKE) install-doc
 
 uninstall:
@@ -66,32 +66,32 @@ findlib.conf: findlib.conf.in
 
 .PHONY: install-doc
 install-doc:
-       mkdir -p $(prefix)$(OCAMLFIND_MAN)/man1 $(prefix)$(OCAMLFIND_MAN)/man3 
$(prefix)$(OCAMLFIND_MAN)/man5
-       -cp doc/ref-man/ocamlfind.1 $(prefix)$(OCAMLFIND_MAN)/man1
-       -cp doc/ref-man/META.5 doc/ref-man/site-lib.5 
doc/ref-man/findlib.conf.5 $(prefix)$(OCAMLFIND_MAN)/man5
+       mkdir -p $(DESTDIR)$(prefix)$(OCAMLFIND_MAN)/man1 
$(DESTDIR)$(prefix)$(OCAMLFIND_MAN)/man3 
$(DESTDIR)$(prefix)$(OCAMLFIND_MAN)/man5
+       -cp doc/ref-man/ocamlfind.1 $(DESTDIR)$(prefix)$(OCAMLFIND_MAN)/man1
+       -cp doc/ref-man/META.5 doc/ref-man/site-lib.5 
doc/ref-man/findlib.conf.5 $(DESTDIR)$(prefix)$(OCAMLFIND_MAN)/man5
 
 .PHONY: uninstall-doc
 uninstall-doc:
-       rm -f $(prefix)$(OCAMLFIND_MAN)/man1/ocamlfind.1
-       rm -f $(prefix)$(OCAMLFIND_MAN)/man3/Findlib.3
-       rm -f $(prefix)$(OCAMLFIND_MAN)/man3/Topfind.3
-       rm -f $(prefix)$(OCAMLFIND_MAN)/man5/META.5
-       rm -f $(prefix)$(OCAMLFIND_MAN)/man5/site-lib.5
+       rm -f $(DESTDIR)$(prefix)$(OCAMLFIND_MAN)/man1/ocamlfind.1
+       rm -f $(DESTDIR)$(prefix)$(OCAMLFIND_MAN)/man3/Findlib.3
+       rm -f $(DESTDIR)$(prefix)$(OCAMLFIND_MAN)/man3/Topfind.3
+       rm -f $(DESTDIR)$(prefix)$(OCAMLFIND_MAN)/man5/META.5
+       rm -f $(DESTDIR)$(prefix)$(OCAMLFIND_MAN)/man5/site-lib.5
 
 
 .PHONY: install-meta
 install-meta:
-       for x in `ls site-lib-src`; do if [ "$$x" != "CVS" -a -f 
"site-lib-src/$$x/META" ]; then mkdir -p "$(prefix)$(OCAML_SITELIB)/$$x"; cp 
site-lib-src/$$x/META "$(prefix)$(OCAML_SITELIB)/$$x"; fi; done
+       for x in `ls site-lib-src`; do if [ "$$x" != "CVS" -a -f 
"site-lib-src/$$x/META" ]; then mkdir -p 
"$(DESTDIR)$(prefix)$(OCAML_SITELIB)/$$x"; cp site-lib-src/$$x/META 
"$(DESTDIR)$(prefix)$(OCAML_SITELIB)/$$x"; fi; done
 
 .PHONY: uninstall-meta
 uninstall-meta:
-       for x in `ls site-lib-src`; do if [ "$$x" != "CVS" ]; then rm -rf 
"$(prefix)$(OCAML_SITELIB)/$$x"; fi; done
+       for x in `ls site-lib-src`; do if [ "$$x" != "CVS" ]; then rm -rf 
"$(DESTDIR)$(prefix)$(OCAML_SITELIB)/$$x"; fi; done
 
 .PHONY: install-config
 install-config:
-       mkdir -p "`dirname \"$(prefix)$(OCAMLFIND_CONF)\"`"
-       @if [ -f "$(prefix)$(OCAMLFIND_CONF)" ]; then echo "!!! Keeping old 
$(prefix)$(OCAMLFIND_CONF) !!!"; fi
-       test -f "$(prefix)$(OCAMLFIND_CONF)" || cp findlib.conf 
"$(prefix)$(OCAMLFIND_CONF)"
+       mkdir -p "`dirname \"$(DESTDIR)$(prefix)$(OCAMLFIND_CONF)\"`"
+       @if [ -f "$(DESTDIR)$(prefix)$(OCAMLFIND_CONF)" ]; then echo "!!! 
Keeping old $(DESTDIR)$(prefix)$(OCAMLFIND_CONF) !!!"; fi
+       test -f "$(DESTDIR)$(prefix)$(OCAMLFIND_CONF)" || cp findlib.conf 
"$(DESTDIR)$(prefix)$(OCAMLFIND_CONF)"
 
 .PHONY: uninstall-config
 uninstall-config:
Index: findlib-1.3.3/src/findlib-toolbox/Makefile
===================================================================
--- findlib-1.3.3.orig/src/findlib-toolbox/Makefile
+++ findlib-1.3.3/src/findlib-toolbox/Makefile
@@ -13,7 +13,7 @@ make_wizard$(EXEC_SUFFIX): make_wizard.m
                findlib.cma make_wizard.ml
 
 install:
-       cp make_wizard$(EXEC_SUFFIX) make_wizard.pattern 
$(prefix)$(OCAML_SITELIB)/findlib
+       cp make_wizard$(EXEC_SUFFIX) make_wizard.pattern 
$(DESTDIR)$(prefix)$(OCAML_SITELIB)/findlib
 
 # uninstall: Nothing to do, because the removal of the findlib core also
 # deinstalls the make_wizard
Index: findlib-1.3.3/src/findlib/Makefile
===================================================================
--- findlib-1.3.3.orig/src/findlib/Makefile
+++ findlib-1.3.3/src/findlib/Makefile
@@ -80,30 +80,30 @@ clean:
          ocamlfind$(EXEC_SUFFIX) ocamlfind_opt$(EXEC_SUFFIX)
 
 install: all
-       mkdir -p "$(prefix)$(OCAML_SITELIB)/$(NAME)"
-       mkdir -p "$(prefix)$(OCAMLFIND_BIN)"
-       test $(INSTALL_TOPFIND) -eq 0 || cp topfind 
"$(prefix)$(OCAML_CORE_STDLIB)"
+       mkdir -p "$(DESTDIR)$(prefix)$(OCAML_SITELIB)/$(NAME)"
+       mkdir -p "$(DESTDIR)$(prefix)$(OCAMLFIND_BIN)"
+       test $(INSTALL_TOPFIND) -eq 0 || cp topfind 
"$(DESTDIR)$(prefix)$(OCAML_CORE_STDLIB)"
        files=`$(TOP)/tools/collect_files $(TOP)/Makefile.config findlib.cmi 
findlib.mli findlib.cma topfind.cmi topfind.mli fl_package_base.mli 
fl_package_base.cmi fl_metascanner.mli fl_metascanner.cmi fl_metatoken.cmi 
findlib_top.cma findlib.cmxa findlib.a META` && \
-       cp $$files "$(prefix)$(OCAML_SITELIB)/$(NAME)"
+       cp $$files "$(DESTDIR)$(prefix)$(OCAML_SITELIB)/$(NAME)"
        f="ocamlfind$(EXEC_SUFFIX)"; { test -f ocamlfind_opt$(EXEC_SUFFIX) && 
f="ocamlfind_opt$(EXEC_SUFFIX)"; }; \
-       cp $$f "$(prefix)$(OCAMLFIND_BIN)/ocamlfind$(EXEC_SUFFIX)"
+       cp $$f "$(DESTDIR)$(prefix)$(OCAMLFIND_BIN)/ocamlfind$(EXEC_SUFFIX)"
        # the following "if" block is only needed for 4.00beta2
        if [ $(OCAML_REMOVE_DIRECTORY) -eq 0 -a -f 
"$(OCAML_CORE_STDLIB)/compiler-libs/topdirs.cmi" ]; then \
            cd "$(OCAML_CORE_STDLIB)/compiler-libs/"; \
-           cp topdirs.cmi toploop.cmi "$(prefix)$(OCAML_SITELIB)/$(NAME)/"; \
+           cp topdirs.cmi toploop.cmi 
"$(DESTDIR)$(prefix)$(OCAML_SITELIB)/$(NAME)/"; \
        fi
 
 install-num-top:
-       mkdir -p "$(prefix)$(OCAML_SITELIB)/num-top"
+       mkdir -p "$(DESTDIR)$(prefix)$(OCAML_SITELIB)/num-top"
        cp num_top.cma num_top.cmi num_top_printers.cmi \
-               "$(prefix)$(OCAML_SITELIB)/num-top"
+               "$(DESTDIR)$(prefix)$(OCAML_SITELIB)/num-top"
 
 # Note: uninstall-num-top is part of the removal of the META files.
 
 uninstall:
-       rm -f $(prefix)$(OCAML_CORE_STDLIB)/findlib
-       rm -rf $(prefix)$(OCAML_SITELIB)/$(NAME)
-       rm -f $(prefix)$(OCAMLFIND_BIN)/ocamlfind$(EXEC_SUFFIX)
+       rm -f $(DESTDIR)$(prefix)$(OCAML_CORE_STDLIB)/findlib
+       rm -rf $(DESTDIR)$(prefix)$(OCAML_SITELIB)/$(NAME)
+       rm -f $(DESTDIR)$(prefix)$(OCAMLFIND_BIN)/ocamlfind$(EXEC_SUFFIX)
 
 
 depend: *.ml *.mli fl_meta.ml fl_metascanner.ml
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to