From a656d01ed4a52a583ebbef5622f0539393bf0d2a Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 9 Jun 2008 15:48:46 +0000 Subject: [PATCH] - New upstream release 0.3.2 (fixeds rhbz 446916). --- .cvsignore | 2 +- ocaml-gettext.spec | 27 ++++++++++++++++++++++----- sources | 2 +- 3 files changed, 24 insertions(+), 7 deletions(-) diff --git a/.cvsignore b/.cvsignore index d1271de..5283baa 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -ocaml-gettext-0.3.1.tar.gz +ocaml-gettext-0.3.2.tar.gz diff --git a/ocaml-gettext.spec b/ocaml-gettext.spec index ce56987..d105090 100644 --- a/ocaml-gettext.spec +++ b/ocaml-gettext.spec @@ -2,7 +2,7 @@ %define debug_package %{nil} Name: ocaml-gettext -Version: 0.3.1 +Version: 0.3.2 Release: 1%{?dist} Summary: OCaml library for i18n @@ -18,6 +18,7 @@ BuildRequires: ocaml-ocamldoc BuildRequires: ocaml-camlp4-devel BuildRequires: ocaml-fileutils-devel BuildRequires: ocaml-camlidl-devel +BuildRequires: ocaml-ounit-devel BuildRequires: docbook-style-xsl BuildRequires: libxslt BuildRequires: libxml2 @@ -103,16 +104,23 @@ signature files for developing applications that use CFLAGS="$RPM_OPT_FLAGS" \ ./configure \ --libdir=%{_libdir} \ - --with-docbook-stylesheet=/usr/share/sgml/docbook/xsl-stylesheets + --with-docbook-stylesheet=/usr/share/sgml/docbook/xsl-stylesheets \ + --enable-test %else CFLAGS="$RPM_OPT_FLAGS" \ ./configure \ --libdir=%{_libdir} \ --disable-camomile \ - --with-docbook-stylesheet=/usr/share/sgml/docbook/xsl-stylesheets + --with-docbook-stylesheet=/usr/share/sgml/docbook/xsl-stylesheets \ + --enable-test %endif make +%check +pushd test +../_build/bin/test +popd + %install rm -rf $RPM_BUILD_ROOT @@ -132,8 +140,8 @@ ocamlfind install gettext-stub _build/lib/gettext-stub/* %ifnarch ppc64 ocamlfind install gettext-camomile _build/lib/gettext-camomile/* %endif -install -m 0755 _build/bin/* $RPM_BUILD_ROOT%{_bindir}/ - +install -m 0755 _build/bin/ocaml-gettext $RPM_BUILD_ROOT%{_bindir}/ +install -m 0755 _build/bin/ocaml-xgettext $RPM_BUILD_ROOT%{_bindir}/ strip $OCAMLFIND_DESTDIR/stublibs/dll*.so chrpath --delete $OCAMLFIND_DESTDIR/stublibs/dll*.so @@ -207,6 +215,15 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Mon Jun 9 2008 Richard W.M. Jones - 0.3.2-1 +- New upstream release 0.3.2 (fixeds rhbz 446916). + +* Tue May 27 2008 Richard W.M. Jones - 0.3.1-3 +- Enable tests, add check section. + +* Tue May 27 2008 Richard W.M. Jones - 0.3.1-2 +- Patch to fix BZ 446916. + * Tue May 27 2008 Richard W.M. Jones - 0.3.1-1 - New upstream version 0.3.1. - Extra runtime requirements (BZ 446919). diff --git a/sources b/sources index e936467..f1b382e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8290a7b6ba0b8baaa97cc871363441ec ocaml-gettext-0.3.1.tar.gz +a68e0574f7a668d645503ffe466c3500 ocaml-gettext-0.3.2.tar.gz