The executable file is missing in this package /usr/bin/pyp2rpm The line is commented in the spec file: http://svnweb.mageia.org/packages/cauldron/python-pyp2rpm/current/SPECS/python-pyp2rpm.spec?view=markup A question: This utility looks at ~/rpmbuild/SOURCES but in my system the sources are in ~/rpm/SOURCES Is it something important (a policy) about the local path that we have to respect ? Probably in the beginning was /rpm and now i saw in the wiki became /rpmbuild Reproducible: Steps to Reproduce:
(In reply to Dimitrios Glentadakis from comment #0) > > A question: > This utility looks at ~/rpmbuild/SOURCES but in my system the sources are in > ~/rpm/SOURCES > Is it something important (a policy) about the local path that we have to > respect ? > Probably in the beginning was /rpm and now i saw in the wiki became > /rpmbuild By system wide it's defined in /usr/lib/rpm/macros (look for %_topdir), but you can override it to whatever you want in ~/.rpmmacros. Copy %_topdir line to ~/.rpmmacros and edit it. You can test your changes by using 'rpm --eval %_topdir' before and after editing ~/.rpmmacros file.
CC: (none) => jani.valimaa
(In reply to Jani Välimaa from comment #1) > (In reply to Dimitrios Glentadakis from comment #0) > > > > A question: > > This utility looks at ~/rpmbuild/SOURCES but in my system the sources are in > > ~/rpm/SOURCES > > Is it something important (a policy) about the local path that we have to > > respect ? > > Probably in the beginning was /rpm and now i saw in the wiki became > > /rpmbuild > > By system wide it's defined in /usr/lib/rpm/macros (look for %_topdir), but > you can override it to whatever you want in ~/.rpmmacros. Copy %_topdir line > to ~/.rpmmacros and edit it. > > You can test your changes by using 'rpm --eval %_topdir' before and after > editing ~/.rpmmacros file. I was thinking if there was a special policy because when i created the %_topdir folder in my system in the wiki (it was the wiki of Mandriva) was written /rpm, and now in Mageia i see the wiki is changed to /rpmbuild. But it seems that it is not something important either. Maybe most correctly is /rpmbuild
Nicolas, may be there is a special reason to comment the line in the spec ?
Assignee: bugsquad => nicolas.lecureuil
i will take a look
It has been fixed here: http://svnweb.mageia.org/packages/cauldron/python-pyp2rpm/current/SPECS/python-pyp2rpm.spec?r1=392906&r2=454067
Status: NEW => RESOLVEDResolution: (none) => FIXED