koji build help

2012-07-18 Thread Raymond Pete
Hi,

I have a package which builds fine on my host, as I have my required rpm's
installed. How do I install my dependencies in koji so the package
compiles.
For example, I need zlib-devel to be installed and lapack-devel


Cheers,

Ray
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: koji build help

2012-07-18 Thread Patrick Uiterwijk
Op 18 jul. 2012 14:53 schreef Raymond Pete rayandkate...@gmail.com het
volgende:

 Hi,

 I have a package which builds fine on my host, as I have my required
rpm's installed. How do I install my dependencies in koji so the package
compiles.
 For example, I need zlib-devel to be installed and lapack-devel


 Cheers,

 Ray

 --
 devel mailing list
 devel@lists.fedoraproject.org

Hello Ray,

You should add them to the Build-Requires line of the spec file.
Then koji (and mock) will download them before building.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: koji build help

2012-07-18 Thread Raymond Pete
ahhh build-requires:

Cheers
Ray

On Wed, Jul 18, 2012 at 8:56 AM, Patrick Uiterwijk puiterw...@gmail.comwrote:


 Op 18 jul. 2012 14:53 schreef Raymond Pete rayandkate...@gmail.com
 het volgende:

 
  Hi,
 
  I have a package which builds fine on my host, as I have my required
 rpm's installed. How do I install my dependencies in koji so the package
 compiles.
  For example, I need zlib-devel to be installed and lapack-devel
 
 
  Cheers,
 
  Ray
 
  --
  devel mailing list
  devel@lists.fedoraproject.org

 Hello Ray,

 You should add them to the Build-Requires line of the spec file.
 Then koji (and mock) will download them before building.

 --
 devel mailing list
 devel@lists.fedoraproject.org
 https://admin.fedoraproject.org/mailman/listinfo/devel

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: koji build help

2012-07-18 Thread Ralf Corsepius

On 07/18/2012 02:53 PM, Raymond Pete wrote:

Hi,

I have a package which builds fine on my host, as I have my required
rpm's installed. How do I install my dependencies in koji so the package
compiles.
For example, I need zlib-devel to be installed and lapack-devel


Add a BuildRequires: package-devel for each of these to your rpm-spec.

In your example, you will want to add
BuildRequires: zlib-devel
BuildRequires: lapack-devel

Ralf


--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: koji build help

2012-07-18 Thread Raymond Pete
Thanks for all the fast replies. Build successful

Cheers,

Ray

On Wed, Jul 18, 2012 at 9:00 AM, Ralf Corsepius rc040...@freenet.de wrote:

 On 07/18/2012 02:53 PM, Raymond Pete wrote:

 Hi,

 I have a package which builds fine on my host, as I have my required
 rpm's installed. How do I install my dependencies in koji so the package
 compiles.
 For example, I need zlib-devel to be installed and lapack-devel


 Add a BuildRequires: package-devel for each of these to your rpm-spec.

 In your example, you will want to add
 BuildRequires: zlib-devel
 BuildRequires: lapack-devel

 Ralf



 --
 devel mailing list
 devel@lists.fedoraproject.org
 https://admin.fedoraproject.**org/mailman/listinfo/develhttps://admin.fedoraproject.org/mailman/listinfo/devel

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel