Don't use configure macro. Upstream are using some sort of non-autoconf

brokenness.

- Rename text files as *.txt.  There is no 'api' directory any more.
This commit is contained in:
Richard W.M. Jones 2012-10-19 14:45:49 +01:00
parent 1414730fd7
commit 8e79fbbc18

View File

@ -3,7 +3,7 @@
Name: ocaml-fileutils
Version: 0.4.4
Release: 1%{?dist}
Release: 2%{?dist}
Summary: OCaml library for common file and filename operations
License: LGPLv2 with exceptions
@ -41,7 +41,8 @@ developing applications that use %{name}.
%prep
%setup -q
%configure
# configure macro doesn't work with this build system.
./configure
%build
@ -63,7 +64,7 @@ make test
%files
%doc COPYING
%doc COPYING.txt
%{_libdir}/ocaml/fileutils
%if %opt
%exclude %{_libdir}/ocaml/fileutils/*.a
@ -75,7 +76,7 @@ make test
%files devel
%doc COPYING AUTHOR CHANGELOG README TODO api
%doc COPYING.txt AUTHORS.txt CHANGELOG.txt README.txt TODO.txt
%if %opt
%{_libdir}/ocaml/fileutils/*.a
%{_libdir}/ocaml/fileutils/*.cmx
@ -86,10 +87,13 @@ make test
%changelog
* Fri Oct 19 2012 Richard W.M. Jones <rjones@redhat.com> - 0.4.4-1
* Fri Oct 19 2012 Richard W.M. Jones <rjones@redhat.com> - 0.4.4-2
- New upstream version 0.4.4.
- Clean up the spec file.
- Fix homepage and download URLs.
- Don't use configure macro. Upstream are using some sort of non-autoconf
brokenness.
- Rename text files as *.txt. There is no 'api' directory any more.
* 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.