Macros in %files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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)")}

at the top, and then:

%files
%defattr(-,root,root,-)
%{_docdir}/plplot-%{version}/
%{_bindir}/plm2gif
%{_bindir}/plpr
%{_bindir}/pltek
%{_bindir}/pstex2eps
%{python_sitearch}/_plplotcmodule.so

This has always worked before.

Problems started showing up after I started using %bcond_without directives. Any weirdness to watch out for there?

This is all in plplot/devel cvs.  scratch build:

http://koji.fedoraproject.org/koji/taskinfo?taskID=932396

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

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux