New upstream version 0.4.4.

- Clean up the spec file.
- Fix homepage and download URLs.
This commit is contained in:
Richard W.M. Jones 2012-10-19 14:04:30 +01:00
parent a7a0b9954c
commit 1414730fd7
3 changed files with 13 additions and 20 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
ocaml-fileutils-0.4.0.tar.gz
/ocaml-fileutils-0.4.4.tar.gz

View File

@ -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 <rjones@redhat.com> - 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 <rjones@redhat.com> - 0.4.0-10
- Bump and rebuild against new OCaml 4.00.0 official release.

View File

@ -1 +1 @@
93437c0fe6fa0e02c30e87af6a0d4e14 ocaml-fileutils-0.4.0.tar.gz
1f43b9333358f47660318bfbe9ae68bf ocaml-fileutils-0.4.4.tar.gz