From: Elan Ruusamäe Date: Tue, 2 Feb 2016 19:25:46 +0000 (+0200) Subject: use /usr/sbin/update-alternatives path as before X-Git-Tag: auto/th/galternatives-0.13.5-1~1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=f85cc0bdd42148403047104a0526da94f4eeb251;p=packages%2Fgalternatives.git use /usr/sbin/update-alternatives path as before --- diff --git a/galternatives-fedora.patch b/galternatives-fedora.patch index 1163b9e..c6658a2 100644 --- a/galternatives-fedora.patch +++ b/galternatives-fedora.patch @@ -64,6 +64,15 @@ for count in range(len (self.slaves)): --- galternatives-0.13.5/galternatives/main.py~ 2016-02-02 21:17:26.000000000 +0200 +++ galternatives-0.13.5/galternatives/main.py 2016-02-02 21:20:03.389884431 +0200 +@@ -13,7 +13,7 @@ + + _ = gettext.gettext + +-UPDATE_ALTERNATIVES = '/usr/bin/update-alternatives' ++UPDATE_ALTERNATIVES = '/usr/sbin/update-alternatives' + + DEBUG = False + def print_debug (str): @@ -284,9 +284,15 @@ alt = self.alternative unixname = alt.get_unixname () diff --git a/galternatives.spec b/galternatives.spec index d41ecc3..0af96d6 100644 --- a/galternatives.spec +++ b/galternatives.spec @@ -1,7 +1,7 @@ Summary: Alternatives Configurator Name: galternatives Version: 0.13.5 -Release: 1 +Release: 0.1 License: GPL+ Group: Applications/System Source0: http://ftp.debian.org/debian/pool/main/g/galternatives/%{name}_%{version}+nmu4.tar.xz