[Bug 227669] Review Request: ppl - A modern C++ library providing numerical abstractions

bugzilla at redhat.com bugzilla at redhat.com
Thu Jul 5 04:11:32 UTC 2007


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: ppl - A modern C++ library providing numerical abstractions


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=227669





------- Additional Comments From mtasaka at ioa.s.u-tokyo.ac.jp  2007-07-05 00:11 EST -------
Well, you can try it using %ifnarch macro.

i.e. For example
----------------------------------------------------
%ifnarch ppc64
# gprolog is not available on ppc64
package gprolog
Summary:  The GNU Prolog interface of the Parma Polyhedra Library
.........
%endif
.........

%build
CPPFLAGS="-I%{_includedir}/glpk"
%ifnarch ppc64
CPPFLAGS="$CPPFLAGS -I%{_libdir}/gprolog-`gprolog --version ****`/include"
%endif
CPPFLAGS="$CPPFLAGS -I%{_includedir}/Yap"
%configure *** CPPFLAGS=$CPPFLAGS ****

.........
%ifnarch ppc64
%files gprolog
..........
%endif
--------------------------------------------------------------

NOTE:
- Please write a comment in a spec file briefly why you disable
  gprolog support on ppc64 (like I wrote)
- Don't write
---------------------------------------------------------------
# gprolog is not available on ppc64 <- Don't write comment here!
                                       Here is in the %description of
                                       previous subpackage.
%ifnarch ppc64
%package gprolog
...........
%endif
----------------------------------------------------------------

-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the package-review mailing list