packages: rpm-build-macros/rpm.macros - dont overwrite %__cmake, %__scons, ...
Elan Ruusamäe
glen at pld-linux.org
Tue Nov 17 16:57:19 CET 2009
On Tuesday 17 November 2009 17:51:58 sparky wrote:
> Author: sparky Date: Tue Nov 17 15:51:58 2009 GMT
> Module: packages Tag: HEAD
> ---- Log message:
> - dont overwrite %__cmake, %__scons, %__waf with versions without
> %{?_smp_mflags}
>
> ---- Files affected:
> packages/rpm-build-macros:
> rpm.macros (1.524 -> 1.525)
>
> ---- Diffs:
>
> ================================================================
> Index: packages/rpm-build-macros/rpm.macros
> diff -u packages/rpm-build-macros/rpm.macros:1.524
> packages/rpm-build-macros/rpm.macros:1.525 ---
> packages/rpm-build-macros/rpm.macros:1.524 Fri Oct 16 07:41:34 2009 +++
> packages/rpm-build-macros/rpm.macros Tue Nov 17 16:51:52 2009
> @@ -199,7 +199,6 @@
> %{dependencytracking} \
> }
>
> -%__cmake /usr/bin/cmake
???
now the macros are undefined!?
what's the purpose?
maybe you just redefine %{?_smp_mflags} in your local macros? (+
add %{?_smp_mflags} to %__cmake/...?)
and besides your local macros always overwrite system macros, not vice versa.
--
glen
More information about the pld-devel-en
mailing list