[ocaml-fileutils] Don't use configure macro. Upstream are using some sort of non-autoconf brokenness.

Richard W.M. Jones rjones at fedoraproject.org
Fri Oct 19 13:48:19 UTC 2012


commit 8e79fbbc1891c3c2a210fb57a2b8ff21c99c3736
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Fri Oct 19 14:45:49 2012 +0100

    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.

 ocaml-fileutils.spec |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/ocaml-fileutils.spec b/ocaml-fileutils.spec
index 3087f15..3cac7d3 100644
--- a/ocaml-fileutils.spec
+++ b/ocaml-fileutils.spec
@@ -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 at redhat.com> - 0.4.4-1
+* Fri Oct 19 2012 Richard W.M. Jones <rjones at 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 at redhat.com> - 0.4.0-10
 - Bump and rebuild against new OCaml 4.00.0 official release.


More information about the scm-commits mailing list