But when running rpmbuild -dd pcore.spec , i get error:
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.32035
+ umask 022
+ cd /home/kahmed/rpmbuild/BUILD
+ cd pcore
+ export LANG
+ mkdir -p pcore
+ mkdir -p /usr/bin
+ install -d pcore
+ /usr/lib/rpm/find-debuginfo.sh /home/kahmed/rpmbuild/BUILD/pcore
find: /var/tmp/pcore-0.1-Beta-root: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.32035 (%install)
Now from what i understand the "BUILD" Happens in a TEMP area, or any place that the user has permissions to create directories and files.
What i am trying to do is to copy the binary executables, when get created as a result of make to /usr/bin
( so i think that this /usr/bin would also be in the temp area and not on the actual /usr/bin) right ?
packaging mailing list