-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Il 10/09/2011 02:22, Balcaen John ha scritto: > 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 > >> Isn't there a problem when using git commit hashes as they are random, >> unsorted, and shouldn't be used in a version comparison? > Yep i forgot to mention that it's better to use the date of the snapshot > instead of the commit hash (which can still be available somewhere in > the spec for memory). > >> See f.ex. this thread: >> http://lists.mandriva.com/cooker/2011-03/msg00009.php >> >> Although i didn't look at the SPEC at all ... > > No you're right, the %git macro here is not correct :p > Hi John, the archive of the sources of the latest "stable" release (4.1.1) it's not available on the web site (404 error)[1]. Moreover the one coming from the git repo don't compile due to an error related to exiv2 (I'm always talking about the 4.1.1 version). That's why I choose the latest git revision (cloned the 2011.09.09) to build the package. This revision compiles and works fine but it doesn't match version 4.1.1 (the application itself displays "Version GIT" into the about box) so I've used that version numbering to allow future upgrades.
Let me know if you think it's an acceptable behaviour, please. I'm fixing the spec right now, thank you for your support and your suggestions. [1] http://www.kphotoalbum.org/data/download/kphotoalbum-4.1.1.tar.bz2 - -- Matteo -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mageia - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJOarn5AAoJED3LowjDDWbNWtQH/RZ/YNQzdgwyAicRE+RGObPV IgchNc52AKEUNMeGImEiVVvA/U2LVp2zOUOPxPJpSjX9R6ZctIpuGx7sV7y1u4Ym 6ff5sztgpkRyR+CwF5eKH/v7Fl9byC3uT3uj9LsqJPmYgX4PE3SPGtQNuS2S7Lhe IchrtiHmMA/54vSMfDj+ZwwrUlr5kJs9M2ny2yxLLkUUylcLhX2y1c8fwi8Ed2cy tZfgAJwZv1NLW6yUt5Xxj9bh6IEOvRb1y8U4iPRQ+EcFeykJiwUwG5RLzuoYcsBi ZPigp5Yojv/xNJVmAbGju94+cxVvT5bzddGO6/ffsCnknsPNjDhMBre+ubTw2oo= =tuP8 -----END PGP SIGNATURE-----