rpmbuild error

Ranjan Maitra maitra.mbox.ignored at inbox.com
Mon Nov 30 19:54:10 UTC 2015


On Mon, 30 Nov 2015 20:29:01 +0100 Michael Schwendt <mschwendt at gmail.com> wrote:

> On Mon, 30 Nov 2015 13:14:15 -0600, Ranjan Maitra wrote:
> 
> > Besides, I have always had the feeling that rpmbuild is too complicated, perhaps needlessly.
> 
> Not really. You just approach the "problem" from the wrong side.
> 
> If you wanted to compile and install the same software from source
> *without* using rpmbuild, you would also need to find out which commands
> to run to install the built files. Often there's some sort of README that
> gives a hint. But if there is none, you need to decide yourself whether to
> copy files to your system directories (or whether to execute built files
> from within current directory only).

I did read the README which says that all that is needed to be done is:

make
 
> The complexity that's added by rpmbuild to the %install section of a spec
> file is only that you need to install into the %buildroot and not /.

Thanks for this! I also implemented the suggestions made by Gordon and here is the spec file (for whoever is interested):

~$ fpaste  luksipc.spec
Uploading (1.6KiB)...
http://ur1.ca/obxst -> http://paste.fedoraproject.org/295935/14489132


Btw, rpmlint gives some warnings:

$ rpmlint luksipc-0.04-1.fc23.src.rpm 
luksipc.src: W: spelling-error %description -l en_US unencrypted -> encrypted
luksipc.src: W: spelling-error %description -l en_US filesystem -> file system, file-system, systemically
luksipc.src: W: spelling-error %description -l en_US Unmounting -> Mounting, Miscounting, Unstinting
luksipc.src: W: spelling-error %description -l en_US keyring -> keying, key ring, key-ring
luksipc.src: W: non-standard-group Applications/Security
luksipc.src:1: W: mixed-use-of-spaces-and-tabs (spaces: line 1, tab: line 1)
1 packages and 0 specfiles checked; 0 errors, 6 warnings.

What is the correct group to put it into? I made up Applications/Security but clearly that guess is not right:-)

Thanks again!
Ranjan

> -- 
> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org


-- 
Important Notice: This mailbox is ignored: e-mails are set to be deleted on receipt. Please respond to the mailing list if appropriate. For those needing to send personal or professional e-mail, please use appropriate addresses.

____________________________________________________________
Can't remember your password? Do you need a strong and secure password?
Use Password manager! It stores your passwords & protects your account.
Check it out at http://mysecurelogon.com/password-manager




More information about the users mailing list