[Mageia-dev] [RPM] cauldron core/release kphotoalbum-0-1.mga2

Jani Välimaa jani.valimaa at gmail.com
Sat Sep 10 19:24:25 CEST 2011


2011/9/10 Balcaen John <mikala at mageia.org>:
> Le Vendredi 9 Septembre 2011 23:42:46 Florian Hubold a écrit :
> [...]
>> > like %_kde_applicationsdir or %_kde_appsdir
>> > Regarding the %mkrel if you're using a git tarball it could be
>> > nice to have it announced in the file name
>> > something for release like %mkrel -c git %git should do the trick
>>
>> Interesting. What does %mkrel -c git do?
> It's interressing for git/svn snapshot so you can get a srpm like this
> for exemple :
> libkvkontakte-1.0-0.git.20110908.mga2.src.rpm
> version here is 1.0 & the Release is set to %mkrel -c git %gitdate
>

What if you need to do some (minor) changes? Which part of release do
you bump when using the same git release?

For example '%mkrel -c git%{gitdate} %{rel}' would be better as then
there are "release" part which you can bump after changes. My example
expands to something like 0.git20110908.1.mga2..


More information about the Mageia-dev mailing list