RE: How to define package 'provides'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx] 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@xxxxxxxxxxxxxxx>
>>
>> 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@xxxxxxxx
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@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list



[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux