View Single Post
Markkyboy's Avatar
Posts: 433 | Thanked: 727 times | Joined on Oct 2012 @ Costa Blanca, Espaņa
#28
Originally Posted by Schturman View Post
post a full spec file and we will fix it
Hi Schturman,
thanks, but for now, I'm trying to compile your file using your SPEC file, all as an experiment so I can see what is doing what before my eyes.
So, as yet, I have no SPEC file of my own, only yours.

NielDK kindly answered me and now I have got a bit further. It seems that a line or command in the SPEC file was causing the compiled RPM to get deleted - I'm in a right pickle!, but it's all good and is how I learn!

I'm starting again and hopefully this time, I will have an RPM file at the end of it! (I feel like I'm learning another language and not doing very well!)

Here is where I'm at now;
Code:
[root@Jolla rpmbuild]# rpmbuild -bb SPECS/myfirstpackage.spec                   Checking for unpackaged file(s): /usr/lib/rpm/check-files /root/rpmbuild/BUILDROOT/myfirstpackage-0.1-1.arm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.C5rTfh
+ umask 022
+ cd /root/rpmbuild/BUILD
+ /bin/rm -rf /root/rpmbuild/BUILDROOT/myfirstpackage-0.1-1.arm
+ exit 0
[root@Jolla rpmbuild]#
After the above, there is no RPM, only the created files. I'm a bit lost!

Regards,
__________________
..oO(Don't just sit there standing around, pick up a shovel and sweep up!)Oo..
 

The Following User Says Thank You to Markkyboy For This Useful Post: