rpms/ocaml-bitmatch/devel ocaml-bitmatch.spec,1.10,1.11

Richard W.M. Jones (rjones) fedora-extras-commits at redhat.com
Fri Jul 4 10:47:29 UTC 2008


Author: rjones

Update of /cvs/pkgs/rpms/ocaml-bitmatch/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6865

Modified Files:
	ocaml-bitmatch.spec 
Log Message:
* Fri Jul  4 2008 Richard W.M. Jones <rjones at redhat.com> - 1.9.2-5
- Don't build CIL tools unless we have CIL.



Index: ocaml-bitmatch.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ocaml-bitmatch/devel/ocaml-bitmatch.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ocaml-bitmatch.spec	1 Jul 2008 14:47:45 -0000	1.10
+++ ocaml-bitmatch.spec	4 Jul 2008 10:46:41 -0000	1.11
@@ -3,19 +3,15 @@
 
 # Don't have CIL on ppc & ppc64 so we cannot build the C tools.
 # See: bz#435546 bz#435545
-%ifarch ppc
-%define build_cil_tools 0
-%else
-%ifarch ppc64
+%ifarch ppc ppc64
 %define build_cil_tools 0
 %else
 %define build_cil_tools 1
 %endif
-%endif
 
 Name:           ocaml-bitmatch
 Version:        1.9.2
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        OCaml library for matching and constructing bitstrings
 
 Group:          Development/Libraries
@@ -82,9 +78,11 @@
 make doc
 make examples
 
+%if %build_cil_tools
 %if %opt
 strip cil-tools/bitmatch-import-c.opt
 %endif
+%endif
 
 
 %check
@@ -150,7 +148,7 @@
 
 
 %changelog
-* Tue Jul  1 2008 Richard W.M. Jones <rjones at redhat.com> - 1.9.2-4
+* Fri Jul  4 2008 Richard W.M. Jones <rjones at redhat.com> - 1.9.2-5
 - Don't build CIL tools unless we have CIL.
 
 * Tue Jul  1 2008 Richard W.M. Jones <rjones at redhat.com> - 1.9.2-3




More information about the fedora-extras-commits mailing list