Re: How to define package 'provides'

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

 



On 03/22/2017 08:32 AM, Tech Support wrote:
> Thank you very much for your help. I am using rpmbuild version 4.11.3 and am
> primarily building on CentOS 7. When built, it installs just fine. Here is
> the output of "rpm -qp --provides VBSPerl-1.0-15.x86_64.rpm" command. This
> is the package where the Perl modules are located.
> 
> rpm -qp --provides VBSPerl-1.0-15.x86_64.rpm 
> VBSPerl = 1.0-15
> VBSPerl(x86-64) = 1.0-15
> 
> 
> This is what I have in my spec file up to the %prep section. 
> 
> Name: VBSPerl
> Version: 1.0
> Release: 15
> Summary: Customized Perl 5.18.4 distribution for CentOS 7 x86_64
> installations.
> Source: VBSPerl-1.0.x86_64.tar.gz
> License: GPL
> Vendor: VoIP Business Solutions, LLC.
> Packager: VBS Tech Support <support@xxxxxxxxxxxxxxx>
> URL: http://www.voipbusiness.us
> Group: Application Dependencies
> BuildArch: x86_64
> BuildRoot: %{_tmppath}/%{name}-buildroot
> %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 Poplawski
Technical Manager                          720-772-5637
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion@xxxxxxxx
Boulder, CO 80301                   http://www.nwra.com
_______________________________________________
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