How to define package 'provides'
Tech Support
support at voipbusiness.us
Wed Mar 22 16:54:53 UTC 2017
I can't thank you guys enough. It looks like that fixed the problem. The
problem was staring me in the face and I couldn't see the solution.
Regards;
John V.
-----Original Message-----
From: Rpm-list [mailto:rpm-list-bounces at lists.rpm.org] On Behalf Of Tim
Mooney
Sent: Wednesday, March 22, 2017 12:42 PM
To: General discussion about the RPM package manager
Subject: Re: How to define package 'provides'
In regard to: Re: How to define package 'provides', Orion Poplawski said...:
>> %description
>> This is a Perl 5.18.4 distribution with additional CPAN packages
installed.
>> The
>> package installs in /opt/VBSPerl with the perl binary located at
>> /opt/VBSPerl/bin/perl.
>> Vendor: VoIP Business Solutions, LLC. <support at voipbusiness.us>
>>
>> Provides: /opt/VBSPerl/bin/perl, perl(Asterisk::AMI), perl(Carp),
>> perl(DBI), perl(FindBin), perl(lib), perl(strict)
>>
>> # Disable the stripping of binary files.
>> %global __os_install_post %{nil}
>>
>> # Do not build the debuginfo package.
>> %define debug_package %{nil}
>
> These are in the wrong place and are all part of %description (see rpm
> -qip VBSPerl-1.0-15.x86_64.rpm). Put them above %description.
Orion's right. I asked to see the top part of your spec because I suspected
this might be the issue. :-)
Just move the Provides and the defines up above %description.
Tim
--
Tim Mooney Tim.Mooney at ndsu.edu
Enterprise Computing & Infrastructure 701-231-1076 (Voice)
Room 242-J6, Quentin Burdick Building 701-231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164
_______________________________________________
Rpm-list mailing list
Rpm-list at lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-list
More information about the Rpm-list
mailing list