[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: two questions
- From: Hiren Patel <patelhn telkom co za>
- To: RPM Package Manager <rpm-list redhat com>
- Subject: Re: two questions
- Date: Thu, 14 Jun 2007 15:33:50 +0200
i would just add a tag onto the name of the custom packages i build.
%define company foo
Name: dog_%{company}
(or something to that effect)
i find
rpm -q -g Applications/Databases
works for me, but
rpm -q -g 'Applications/*'
does not.
does rpm -q -g foo/bar
work for you?
On Thu, 2007-06-14 at 13:03 +0000, tony chamberlain lemko com wrote:
> Hi
>
> 1. Does anyone have any suggestions for package naming? Some packages
> will be ok,
> but others not. For instance, we have a watchdog package. If I
> call it "dog" there is
> a high chance ther may be some other package named "dog" installed
> on a system that
> this one would also go on, and there could be a conflict. It
> could be a completely different
> independent watch dog program. I know Java packages have the
> company name and all
> that in reverse, like com.mcdonalds.hamburger.utils or whatever
> (that name is just an
> example).
>
> Should packages be named similarly, like
> com-mcdonalds-hamburger-utils-1.0.0.rpm in case
> there are other packages named util?
>
> 2. I have been giving my packages group names (like in the examples
> Applications/Databases).
> You can do an rpm query like rpm -q -g Applications/Databases
> to find rpms with that group.
> Now say you have a company called "foo" and you give your groups
> names such as
> foo/bar, foo/pub, foo/tavern. You want to find all the groups
> with foo. rpm -q -g foo/* does not work.
> Nor does rpm -q -g foo. Is there any way to do this?
> (other than rpm -qa --queryformat '%{NAME}-%{VERSION}\t
> %{GROUP}\n' | grep -i foo
>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list redhat com
> https://www.redhat.com/mailman/listinfo/rpm-list
--
Hiren Patel
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]