[zypp-devel] [PATCH] Properly determine $releasever on Fedora and RH systems

This patch also add an example under examples/ and a cmake conditional to build it. Cheers, L.V.

On Saturday 11 July 2009 14:49:34 Lorenzo Villani wrote:
This patch also add an example under examples/ and a cmake conditional to build it.
Cheers, L.V.
Michael, can you check that loading and unloading the target is the right thing here? -- Duncan Mac-Vicar P. - Engineering Manager, YaST SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org

On Monday 13 July 2009 09:52:10 Duncan Mac-Vicar Prett wrote:
On Saturday 11 July 2009 14:49:34 Lorenzo Villani wrote:
This patch also add an example under examples/ and a cmake conditional to build it.
Cheers, L.V.
Michael, can you check that loading and unloading the target is the right thing here?
I don't think so. Esp. you should not unconditionally unload the target. I'll think about a better way to fix it... -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres YaST Development ma@novell.com SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org

On Saturday 11 July 2009 14:49:34 Lorenzo Villani wrote:
This patch also add an example under examples/ and a cmake conditional to build it.
JFYI: In libzypp-6.10.2 distributionVersion will return the version of the first package providing 'redhat-release' (actually ZConfig::distroverpkg), if there is no /etc/product.d/baseproduct. The provided examples are also included. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres YaST Development ma@novell.com SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
participants (3)
-
Duncan Mac-Vicar Prett
-
Lorenzo Villani
-
Michael Andres