Hello community,

here is the log from the commit of package ocaml-calendar for openSUSE:Factory 
checked in at 2016-10-19 12:59:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ocaml-calendar (Old)
 and      /work/SRC/openSUSE:Factory/.ocaml-calendar.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ocaml-calendar"

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

--- /dev/null   2016-09-15 12:42:18.240042505 +0200
+++ /work/SRC/openSUSE:Factory/.ocaml-calendar.new/ocaml-calendar.changes       
2016-10-19 12:59:49.000000000 +0200
@@ -0,0 +1,28 @@
+-------------------------------------------------------------------
+Mon May 30 06:39:17 UTC 2016 - oher...@suse.de
+
+- Fix build with ocaml-4.03 (fate#320836)
+  ocaml-calendar-buildcompare.patch
+
+-------------------------------------------------------------------
+Tue Nov 10 10:18:47 UTC 2015 - oher...@suse.de
+
+- Add hardcoded Provides for pre 12.1 repos
+
+-------------------------------------------------------------------
+Tue Sep 15 14:06:34 UTC 2015 - mlati...@suse.com
+
+- Remove calendarFAQ-2.6.txt from -devel package due to licensing
+  concerns.
+
+-------------------------------------------------------------------
+Mon Dec  8 20:18:19 UTC 2014 - mlati...@suse.com
+
+- Update spec file to use ocaml-rpm-macros, remove ExclusiveArch,
+  and ensure bytecode is built.
+
+-------------------------------------------------------------------
+Fri Dec  5 17:20:02 UTC 2014 - mlati...@suse.com
+
+- Initial commit using upstream version 2.04.
+

New:
----
  calendar-2.04-enable-debug.patch
  calendar-2.04.tar.gz
  ocaml-calendar-buildcompare.patch
  ocaml-calendar.changes
  ocaml-calendar.spec

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

Other differences:
------------------
++++++ ocaml-calendar.spec ++++++
#
# spec file for package ocaml-calendar
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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/
#


# 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
%global __ocaml_provides_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

Name:           ocaml-calendar
Version:        2.04
Release:        0
%{ocaml_preserve_bytecode}
Summary:        Objective Caml library for managing dates and times
License:        LGPL-2.0
Group:          Development/Libraries/Other
Url:            http://calendar.forge.ocamlcore.org/
Source0:        
http://forge.ocamlcore.org/frs/download.php/1481/calendar-2.04.tar.gz
Patch1:         calendar-2.04-enable-debug.patch
Patch2:         ocaml-calendar-buildcompare.patch
BuildRequires:  gawk
BuildRequires:  ocaml >= 4.00.1
BuildRequires:  ocaml-rpm-macros >= 4.02.1
BuildRequires:  ocaml-findlib-devel >= 1.3.3-3
BuildRequires:  ocaml-ocamldoc
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
# ocaml autodep start for pkg: ocaml-calendar
# hardcoded rpm dependency for pre 12.1 to compensate for lack of ocaml() 
provides/requires
%if 0%{?suse_version} < 1210
Requires:       ocaml-runtime
%endif
# ocaml autodep end for pkg: ocaml-calendar

%description
Objective Caml library for managing dates and times.

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

%description    devel
The %{name}-devel package contains libraries and signature files for
developing applications that use %{name}.

%prep
%setup -q -n calendar-%{version}
%patch1 -p1
%patch2 -p1


%build
./configure --libdir=%{_libdir}
make %{?_smp_mflags}
make %{?_smp_mflags} doc

mv TODO TODO.old
iconv -f iso-8859-1 -t utf-8 < TODO.old > TODO


%install
export DESTDIR=%{buildroot}
export OCAMLFIND_DESTDIR=%{buildroot}%{_libdir}/ocaml
mkdir -p $OCAMLFIND_DESTDIR
make DESTDIR=%{buildroot} install %{?_smp_mflags}


%files
%defattr(-,root,root,-)
%doc CHANGES README TODO LGPL COPYING
%dir %{_libdir}/ocaml
%dir %{_libdir}/ocaml/*
%if %{ocaml_native_compiler}
%{_libdir}/ocaml/*/*.cmxs
%endif

%files devel
%defattr(-,root,root,-)
%doc CHANGES README TODO LGPL COPYING doc/*
%dir %{_libdir}/ocaml
%dir %{_libdir}/ocaml/*
%if %{ocaml_native_compiler}
%{_libdir}/ocaml/*/*.a
%{_libdir}/ocaml/*/*.cmx
%{_libdir}/ocaml/*/*.cmxa
%{_libdir}/ocaml/*/*.o
%endif
%{_libdir}/ocaml/*/*.cma
%{_libdir}/ocaml/*/*.cmi
%{_libdir}/ocaml/*/*.cmo
%{_libdir}/ocaml/*/*.mli
%{_libdir}/ocaml/*/META

%changelog

++++++ calendar-2.04-enable-debug.patch ++++++
--- calendar-2.04/Makefile.in.old       2013-09-14 16:15:43.760253519 +0100
+++ calendar-2.04/Makefile.in   2013-09-14 16:16:03.233279962 +0100
@@ -86,7 +86,7 @@
 
 CAMLIBS        = $(addprefix -I , $(DIRS))
 
-CAMLFLAGS= $(CAMLIBS)
+CAMLFLAGS= -g $(CAMLIBS)
 BYTEFLAGS= $(CAMLFLAGS)
 LINK_OPTFLAGS = $(CAMLFLAGS) -noassert
 OPTFLAGS = $(LINK_OPTFLAGS) -for-pack CalendarLib
++++++ ocaml-calendar-buildcompare.patch ++++++
---
 Makefile.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/Makefile.in
+++ b/Makefile.in
@@ -117,7 +117,7 @@ $(LIBDIR)/$(NAMELIB).cmxs: $(LIBDIR)/$(N
 
 src/version.ml: Makefile
        echo "let version = \"$(VERSION)\"" > $@
-       echo "let date = \"`date`\"" >> $@
+       echo "let date = \"`date --reference=CHANGES`\"" >> $@
 
 META: Makefile
        echo "name = \"$(NAME)\"" > $@

Reply via email to