Re: cleaning up %install section

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

 



Hi,

I believe you can define sub-packages all within one .spec file. You'd
then have only one spec file to maintain although it would be more
complex.

On Tue, 26 Jun 2007, Aaron Lippold wrote:

> Date: Tue, 26 Jun 2007 01:03:50 +0200
> From: Aaron Lippold <lippold@xxxxxxxxx>
> Reply-To: RPM Package Manager <rpm-list@xxxxxxxxxx>
> To: RPM Package Manager <rpm-list@xxxxxxxxxx>
> Subject: Re: cleaning up %install section
> 
> Yes that's true but I was hoping to only have to maintain one .spec
> file and such. Ah well, maybe the KISS approach is best in this case.
> 
> Also, is there a way I can define a "function" in my spec file?
> 
> Aaron
> 
> On 6/25/07, Jos Vos <jos@xxxxxx> wrote:
> > On Mon, Jun 25, 2007 at 06:33:01PM +0200, Aaron Lippold wrote:
> >
> > > I am registering a set of files in a db. Some users only need the
> > > first set of files, some need all the files from each set in the db. I
> > > want to allow the option to say, 'I need set1 and set3' etc. etc.
> > >
> > > MyFiles/Set1/file1.1,file1.2,file1.3,...
> > > .../Set2/file2.1,2.2,2.3,...
> > > ../Set3/file3.1,3.2,3.3,...
> > >
> > > If they user only wants to install the files in Set1 I want to have an
> > > option/switch they can pass to say,
> > >
> > > rpm -ihv --install-set1 --install-set3 my.rpm
> >
> > You could split the RPM into subpackages, each containing one "set".
> >
> > --
> > --    Jos Vos <jos@xxxxxx>
> > --    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
> > --    Amsterdam, The Netherlands        |     Fax: +31 20 6948204
> >
> > _______________________________________________
> > Rpm-list mailing list
> > Rpm-list@xxxxxxxxxx
> > https://www.redhat.com/mailman/listinfo/rpm-list
> >
> 
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/rpm-list
> 

Thanks,

Mark Sincerbox
Adax, Inc.
1-510-548-7047 x129

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/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