Re: Dependency only RPM

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

 




--- On Tue, 1/5/10, Andy Armstrong <andy@xxxxxxxxxx> wrote:

> From: Andy Armstrong <andy@xxxxxxxxxx>
> Subject: Dependency only RPM
> To: rpm-list@xxxxxxxxxxxxx
> Date: Tuesday, January 5, 2010, 12:36 PM
> I'm trying to make an RPM that does
> nothing apart from require a bunch of other packages. Google
> hasn't enlightened me so far. I tried a spec file with a few
> Requires like this:
> 
> Summary: My App
> Name: my-app
> Version: 0.0.1
> Release: 1
> #Source0: %{name}-%{version}.tar.gz
> Vendor: My Corporation
> License: GPL
> Requires: httpd >= 2.2.3
> Requires: java-1.6.0-openjdk >= 1.6.0.0
> Requires: java-1.6.0-openjdk-devel >= 1.6.0.0
> Requires: postfix >= 2.3.3
> Requires: postgresql >= 8.1
> Requires: postgresql-jdbc >= 8.1
> Requires: postgresql-server >= 8.1
> BuildArch: noarch 
> %description
> My Application
> 
> rpmbuild -bs myapp.spec builds an SRPM successfully - but I
> assume I need to build a binary RPM and rpmbuild -bb doesn't
> produce anything.
Try to append line
%files

to your specfile

Valery.

> 
> Is it possible to build a dependency-only RPM?
> 
> Thanks.
> 
> -- 
> Andy Armstrong, Hexten
> 
> 
> 
> _______________________________________________
> 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