Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Can I create my new tag: nagriktag: yes

4 views
Skip to first unread message

Nagrik

unread,
Jan 25, 2011, 6:56:04 PM1/25/11
to vna...@gmail.com
Hello Group,

Are the tags in rpm files are well defined i.e. should I choose from
may be some 25 previously defined tags and can not change any of tag's
name.

Can I create my personal tag like;

nagrik_tag: yes <Just an example>

Could someone please tell me. I will greatly appreciate this.

Thanks.

nagrik

Michal Jaegermann

unread,
Jan 26, 2011, 5:04:19 PM1/26/11
to
Nagrik <vna...@gmail.com> wrote:
>
> Are the tags in rpm files are well defined i.e. should I choose from
> may be some 25 previously defined tags and can not change any of tag's
> name.

Tags are these things which you will see after 'rpm --querytags'
and they are "built-in". Only 'rpm --querytags | wc -l' prints for
me 170 so it is not clear about what "25" you are talking about.

> Can I create my personal tag like;
>
> nagrik_tag: yes <Just an example>

If you want to define your own macros then go ahead. You will
find a lot of examples in /usr/lib/rpm/ and 'rpm --showrc' will
show you what you have already predefined. Output of this comes
to 913 lines on my system but not all of that are new definitions.

> Could someone please tell me.

How about starting with some documentation? Even 'man rpm' talks a bit
on the subject and has examples.

Michal

0 new messages