Macros in %files

Orion Poplawski orion at cora.nwra.com
Fri Nov 14 05:17:23 UTC 2008


On Thu, November 13, 2008 10:05 pm, Rex Dieter wrote:
> Dan Nicholson wrote:
>
>> On Thu, Nov 13, 2008 at 2:47 PM, Orion Poplawski <orion at cora.nwra.com>
>> wrote:
>>> I'm reworking my plplot.spec and seeing the following build failure:
>>>
>>> Processing files: plplot-5.9.0-2.svn8985.fc11
>>> + exit 0
>>> error: File must begin with "/": %{python_sitearch}/_plplotcmodule.so
>>>
>>> spec has:
>>>
>>> %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from
>>> distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
>
> Take out the space between : %define

No help.

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion at cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com




More information about the fedora-devel-list mailing list