[ocaml-calendar] New upstream version 2.03.2.

Richard W.M. Jones rjones at fedoraproject.org
Mon Oct 29 14:25:07 UTC 2012


commit 9c2f99d8877fc70024333204d5a8016c9fddfc4f
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Mon Oct 29 14:24:22 2012 +0000

    New upstream version 2.03.2.
    
    - Rebuild for OCaml 4.00.1.
    - Remove upstream patch.

 .gitignore                    |    1 +
 calendar-2.03.1-ocaml-4.patch |   45 -----------------------------------------
 ocaml-calendar.spec           |   27 +++++++-----------------
 sources                       |    2 +-
 4 files changed, 10 insertions(+), 65 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2c8c70a..8540f84 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 calendar-2.01.1.tar.gz
 /calendar-2.03.tar.gz
 /calendar-2.03.1.tar.gz
+/calendar-2.03.2.tar.gz
diff --git a/ocaml-calendar.spec b/ocaml-calendar.spec
index ed9e287..5b0943c 100644
--- a/ocaml-calendar.spec
+++ b/ocaml-calendar.spec
@@ -2,14 +2,13 @@
 %global debug_package %{nil}
 
 Name:           ocaml-calendar
-Version:        2.03.1
-Release:        5%{?dist}
+Version:        2.03.2
+Release:        1%{?dist}
 Summary:        Objective Caml library for managing dates and times
 
-Group:          Development/Libraries
 License:        LGPLv2
 URL:            http://calendar.forge.ocamlcore.org/
-Source0:        http://forge.ocamlcore.org/frs/download.php/605/calendar-%{version}.tar.gz
+Source0:        http://forge.ocamlcore.org/frs/download.php/915/calendar-2.03.2.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 ExcludeArch:    sparc64 s390 s390x
 
@@ -17,10 +16,6 @@ BuildRequires:  ocaml >= 3.12.1-3
 BuildRequires:  ocaml-findlib-devel, ocaml-ocamldoc
 BuildRequires:  gawk
 
-# Patch for OCaml 4 + BR autoconf because we update configure.in.
-Patch0:         calendar-2.03.1-ocaml-4.patch
-BuildRequires:  autoconf
-
 # Ignore all generated modules *except* CalendarLib, since everything
 # now appears in that namespace.
 %global __ocaml_requires_opts -i Calendar_builder -i Calendar_sig -i Date -i Date_sig -i Fcalendar -i Ftime -i Period -i Printer -i Time -i Time_sig -i Time_Zone -i Utils -i Version
@@ -33,7 +28,6 @@ Objective Caml library for managing dates and times.
 
 %package        devel
 Summary:        Development files for %{name}
-Group:          Development/Libraries
 Requires:       %{name} = %{version}-%{release}
 
 
@@ -45,9 +39,6 @@ developing applications that use %{name}.
 %prep
 %setup -q -n calendar-%{version}
 
-%patch0 -p1
-autoconf
-
 
 %build
 ./configure --libdir=%{_libdir}
@@ -59,19 +50,13 @@ iconv -f iso-8859-1 -t utf-8 < TODO.old > TODO
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 export DESTDIR=$RPM_BUILD_ROOT
 export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
 mkdir -p $OCAMLFIND_DESTDIR $OCAMLFIND_DESTDIR/stublibs
 make install
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root,-)
 %doc CHANGES README TODO LGPL COPYING
 %{_libdir}/ocaml/calendar
 %if %opt
@@ -81,7 +66,6 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %files devel
-%defattr(-,root,root,-)
 %doc CHANGES README TODO LGPL COPYING calendarFAQ-2.6.txt doc/*
 %if %opt
 %{_libdir}/ocaml/calendar/*.cmx
@@ -90,6 +74,11 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Mon Oct 29 2012 Richard W.M. Jones <rjones at redhat.com> - 2.03.2-1
+- New upstream version 2.03.2.
+- Rebuild for OCaml 4.00.1.
+- Remove upstream patch.
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.03.1-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index 405d073..364c822 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8f14a2c7d84e4caf03099b049716d728  calendar-2.03.1.tar.gz
+4f50e3c9ad0eec3d06c0457a2ba0f0b4  calendar-2.03.2.tar.gz


More information about the scm-commits mailing list