[ocaml-ulex/f21] - Drop obsolete ExcludeArch - Fix license handling - Do not BR gawk; it is on the list of exceptions

Jerry James jjames at fedoraproject.org
Thu Sep 25 03:33:50 UTC 2014


commit e1eb1a285c9b0276231d52e2a126d30545161cfb
Author: Jerry James <loganjerry at gmail.com>
Date:   Wed Sep 24 21:33:31 2014 -0600

    - Drop obsolete ExcludeArch
    - Fix license handling
    - Do not BR gawk; it is on the list of exceptions

 ocaml-ulex.spec |   19 +++++++++++++------
 1 files changed, 13 insertions(+), 6 deletions(-)
---
diff --git a/ocaml-ulex.spec b/ocaml-ulex.spec
index def65f8..07144d1 100644
--- a/ocaml-ulex.spec
+++ b/ocaml-ulex.spec
@@ -3,17 +3,14 @@
 
 Name:           ocaml-ulex
 Version:        1.1
-Release:        20%{?dist}
+Release:        21%{?dist}
 Summary:        OCaml lexer generator for Unicode
 License:        MIT
 
 URL:            http://www.cduce.org/download.html#side
 Source0:        http://www.cduce.org/download/ulex-%{version}.tar.gz
 
-ExcludeArch:    sparc64 s390 s390x
-
 BuildRequires:  ocaml >= 3.10.0-7, ocaml-findlib-devel, ocaml-camlp4-devel
-BuildRequires:  gawk
 
 %global __ocaml_requires_opts -i Asttypes -i Parsetree
 
@@ -42,6 +39,9 @@ developing applications that use %{name}.
 %prep
 %setup -q -n ulex-%{version}
 
+# Generate debuginfo
+sed -i 's/^OCAMLBUILD=.*-byte-plugin/& -cflag -g/' Makefile
+
 
 %build
 make all
@@ -58,7 +58,8 @@ make install
 
 
 %files
-%doc CHANGES README LICENSE
+%doc CHANGES README
+%license LICENSE
 %{_libdir}/ocaml/ulex
 %if %opt
 %exclude %{_libdir}/ocaml/ulex/*.a
@@ -68,7 +69,8 @@ make install
 
 
 %files devel
-%doc CHANGES README LICENSE
+%doc CHANGES README
+%license LICENSE
 %if %opt
 %{_libdir}/ocaml/ulex/*.a
 %{_libdir}/ocaml/ulex/*.cmxa
@@ -77,6 +79,11 @@ make install
 
 
 %changelog
+* Wed Sep 24 2014 Jerry James <loganjerry at gmail.com> - 1.1.21
+- Drop obsolete ExcludeArch
+- Fix license handling
+- Do not BR gawk; it is on the list of exceptions
+
 * Sun Aug 17 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1-20
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 


More information about the scm-commits mailing list