From 1414730fd752e59ffdb1a2e3e323e3b8b605f321 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 19 Oct 2012 14:04:30 +0100 Subject: [PATCH] New upstream version 0.4.4. - Clean up the spec file. - Fix homepage and download URLs. --- .gitignore | 1 + ocaml-fileutils.spec | 30 +++++++++++------------------- sources | 2 +- 3 files changed, 13 insertions(+), 20 deletions(-) diff --git a/.gitignore b/.gitignore index 3d85699..340c23b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ ocaml-fileutils-0.4.0.tar.gz +/ocaml-fileutils-0.4.4.tar.gz diff --git a/ocaml-fileutils.spec b/ocaml-fileutils.spec index 768537d..3087f15 100644 --- a/ocaml-fileutils.spec +++ b/ocaml-fileutils.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) +%global debug_package %{nil} Name: ocaml-fileutils -Version: 0.4.0 -Release: 10%{?dist} +Version: 0.4.4 +Release: 1%{?dist} Summary: OCaml library for common file and filename operations -Group: Development/Libraries License: LGPLv2 with exceptions -URL: http://www.gallu.homelinux.org/download/ -Source0: http://www.gallu.homelinux.org/download/ocaml-fileutils-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +URL: https://forge.ocamlcore.org/projects/ocaml-fileutils/ +Source0: https://forge.ocamlcore.org/frs/download.php/892/ocaml-fileutils-0.4.4.tar.gz ExcludeArch: sparc64 s390 s390x BuildRequires: ocaml @@ -19,9 +17,6 @@ BuildRequires: ocaml-ocamldoc BuildRequires: ocaml-camlp4-devel BuildRequires: ocaml-ounit-devel -%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 library is intended to provide a basic interface to the most @@ -36,7 +31,6 @@ abstract filenames. %package devel Summary: Development files for %{name} -Group: Development/Libraries Requires: %{name} = %{version}-%{release} @@ -55,7 +49,6 @@ make %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 @@ -69,12 +62,7 @@ make htmldir=. install make test -%clean -rm -rf $RPM_BUILD_ROOT - - %files -%defattr(-,root,root,-) %doc COPYING %{_libdir}/ocaml/fileutils %if %opt @@ -87,7 +75,6 @@ rm -rf $RPM_BUILD_ROOT %files devel -%defattr(-,root,root,-) %doc COPYING AUTHOR CHANGELOG README TODO api %if %opt %{_libdir}/ocaml/fileutils/*.a @@ -99,6 +86,11 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Oct 19 2012 Richard W.M. Jones - 0.4.4-1 +- New upstream version 0.4.4. +- Clean up the spec file. +- Fix homepage and download URLs. + * Sat Jul 28 2012 Richard W.M. Jones - 0.4.0-10 - Bump and rebuild against new OCaml 4.00.0 official release. diff --git a/sources b/sources index 1175571..d9139e2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -93437c0fe6fa0e02c30e87af6a0d4e14 ocaml-fileutils-0.4.0.tar.gz +1f43b9333358f47660318bfbe9ae68bf ocaml-fileutils-0.4.4.tar.gz