]> git.pld-linux.org Git - packages/ocaml-dbm.git/commitdiff
- updated to 1.3
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 29 Jan 2022 15:49:27 +0000 (16:49 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 29 Jan 2022 15:49:27 +0000 (16:49 +0100)
- updated destdir patch

ocaml-dbm-destdir.patch
ocaml-dbm.spec

index cb36943d47f94947e0b3a3cf6115d648db367d55..b9e4f47c7725e316f8358565c2c2221008dce821 100644 (file)
@@ -1,23 +1,23 @@
---- camldbm-1.0/Makefile.orig  2011-11-22 16:56:49.000000000 +0100
-+++ camldbm-1.0/Makefile       2014-11-06 21:00:16.398248365 +0100
-@@ -57,13 +57,13 @@
+--- dbm-camldbm-1.3/Makefile.orig      2022-01-29 16:02:30.175985113 +0100
++++ dbm-camldbm-1.3/Makefile   2022-01-29 16:06:16.238093763 +0100
+@@ -57,13 +57,13 @@ depend:
        $(OCAMLDEP) *.ml *.mli > .depend
  
  install::
 -      if test -f dllcamldbm.$(SO); then mkdir $(STUBLIBDIR) || echo Ok; cp dllcamldbm.$(SO) $(STUBLIBDIR)/; fi 
 -      cp libcamldbm.$(A) $(LIBDIR)/
 -      cd $(LIBDIR) && ranlib libcamldbm.$(A)
--      cp dbm.cma dbm.cmxa dbm.cmi dbm.mli $(LIBDIR)/
+-      cp dbm.cmx dbm.cma dbm.cmxa dbm.cmi dbm.mli $(LIBDIR)/
 -      cp dbm.$(A) $(LIBDIR)/
 -      cd $(LIBDIR) && ranlib dbm.$(A)
 -      if test -f dbm.cmxs; then cp dbm.cmxs $(LIBDIR)/; fi
-+      if test -f dllcamldbm.$(SO); then mkdir $(DESTDIR)$(STUBLIBDIR) || echo Ok; cp dllcamldbm.$(SO) $(DESTDIR)$(STUBLIBDIR)/; fi 
-+      cp libcamldbm.$(A) $(DESTDIR)$(LIBDIR)/
++      if test -f dllcamldbm.$(SO); then mkdir $(DESTDIR)$(STUBLIBDIR) || echo Ok; cp -p dllcamldbm.$(SO) $(DESTDIR)$(STUBLIBDIR)/; fi 
++      cp -p libcamldbm.$(A) $(DESTDIR)$(LIBDIR)/
 +      cd $(DESTDIR)$(LIBDIR) && ranlib libcamldbm.$(A)
-+      cp dbm.cma dbm.cmxa dbm.cmi dbm.mli $(DESTDIR)$(LIBDIR)/
-+      cp dbm.$(A) $(DESTDIR)$(LIBDIR)/
++      cp -p dbm.cmx dbm.cma dbm.cmxa dbm.cmi dbm.mli $(DESTDIR)$(LIBDIR)/
++      cp -p dbm.$(A) $(DESTDIR)$(LIBDIR)/
 +      cd $(DESTDIR)$(LIBDIR) && ranlib dbm.$(A)
-+      if test -f dbm.cmxs; then cp dbm.cmxs $(DESTDIR)$(LIBDIR)/; fi
++      if test -f dbm.cmxs; then cp -p dbm.cmxs $(DESTDIR)$(LIBDIR)/; fi
  
  clean::
        rm -f *.cm* *.$(O) *.$(A) *.$(SO)
index 48fa208ce4a29871f8e206aed5cb4200307e6712..2fd2e056a9356a6395262efedb715dabfd109f2e 100644 (file)
@@ -9,12 +9,13 @@
 Summary:       DBM binding for OCaml
 Summary(pl.UTF-8):     Wiązania DBM dla OCamla
 Name:          ocaml-dbm
-Version:       1.2
-Release:       2
+Version:       1.3
+Release:       1
 License:       LGPL v2 with linking exception
 Group:         Libraries
+#Source0Download: https://github.com/ocaml/dbm/releases
 Source0:       https://github.com/ocaml/dbm/archive/camldbm-%{version}/camldbm-%{version}.tar.gz
-# Source0-md5: 180133dd10b0b10dc47bdd8a6ab8feab
+# Source0-md5: 8ff2a58ecdb5838df9d8f72578f90b9c
 Patch0:                %{name}-destdir.patch
 Patch1:                %{name}-no-ocamlopt.patch
 URL:           https://forge.ocamlcore.org/projects/camldbm/
@@ -95,6 +96,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/ocaml/dbm.mli
 %if %{with ocaml_opt}
 %{_libdir}/ocaml/dbm.a
+%{_libdir}/ocaml/dbm.cmx
 %{_libdir}/ocaml/dbm.cmxa
 %endif
 %{_libdir}/ocaml/libcamldbm.a
This page took 0.376955 seconds and 4 git commands to generate.