[ocaml-zip] New upstream version 1.05.

Richard W.M. Jones rjones at fedoraproject.org
Thu Sep 19 14:25:52 UTC 2013


commit 6346add1e14896e435871b2642c4aec250734885
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Thu Sep 19 15:25:40 2013 +0100

    New upstream version 1.05.
    
    - OCaml 4.01.0 rebuild.
    - Modernize spec file.
    - Enable debuginfo.

 .gitignore     |    1 +
 ocaml-zip.spec |   31 ++++++++++++-------------------
 sources        |    2 +-
 3 files changed, 14 insertions(+), 20 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index bb04eb9..bb1c007 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 camlzip-1.04.tar.gz
+/camlzip-1.05.tar.gz
diff --git a/ocaml-zip.spec b/ocaml-zip.spec
index e3866ae..c45a323 100644
--- a/ocaml-zip.spec
+++ b/ocaml-zip.spec
@@ -1,16 +1,14 @@
-%define opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
-%define debug_package %{nil}
+%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0)
 
 Name:           ocaml-zip
-Version:        1.04
-Release:        12%{?dist}
+Version:        1.05
+Release:        1%{?dist}
 Summary:        OCaml library for reading and writing zip, jar and gzip files
-
-Group:          Development/Libraries
 License:        LGPLv2 with exceptions
+
 URL:            http://forge.ocamlcore.org/projects/camlzip/
-Source0:        https://forge.ocamlcore.org/frs/download.php/328/camlzip-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0:        https://forge.ocamlcore.org/frs/download.php/1037/camlzip-%{version}.tar.gz
+
 ExcludeArch:    sparc64 s390 s390x
 
 BuildRequires:  ocaml >= 3.10.0
@@ -18,9 +16,6 @@ BuildRequires:  ocaml-findlib-devel
 BuildRequires:  zlib-devel >= 1.1.3
 BuildRequires:  chrpath
 
-%define _use_internal_dependency_generator 0
-%define __find_requires /usr/lib/rpm/ocaml-find-requires.sh
-%define __find_provides /usr/lib/rpm/ocaml-find-provides.sh
 
 %description
 This Objective Caml library provides easy access to compressed files
@@ -49,7 +44,6 @@ make all
 %if %opt
 make allopt
 %endif
-strip dll*.so
 chrpath --delete dll*.so
 
 cat > META <<EOF
@@ -63,7 +57,6 @@ EOF
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT/%{_libdir}/ocaml/zip
 mkdir -p $RPM_BUILD_ROOT/%{_libdir}/ocaml/stublibs
 
@@ -73,12 +66,7 @@ export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
 ocamlfind install zip *.cma *.cmxa *.a *.cmx *.cmi *.mli dll*.so META
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root,-)
 %doc LICENSE
 %{_libdir}/ocaml/zip
 %if %opt
@@ -92,7 +80,6 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %files devel
-%defattr(-,root,root,-)
 %doc LICENSE Changes README
 %if %opt
 %{_libdir}/ocaml/zip/*.a
@@ -103,6 +90,12 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Sep 19 2013 Richard W.M. Jones <rjones at redhat.com> - 1.05-1
+- New upstream version 1.05.
+- OCaml 4.01.0 rebuild.
+- Modernize spec file.
+- Enable debuginfo.
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.04-12
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index 3c21b6c..a942b16 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b3930f4f2e2563b9a5e1b17aa455e635  camlzip-1.04.tar.gz
+e85c179d5dc79821e6e8d90e636599f1  camlzip-1.05.tar.gz


More information about the scm-commits mailing list