File update-alternatives-suse.patch of Package update-alternatives

Index: dpkg-1.18.23/man/update-alternatives.man
===================================================================
--- dpkg-1.18.23.orig/man/update-alternatives.man
+++ dpkg-1.18.23/man/update-alternatives.man
@@ -34,7 +34,7 @@ update\-alternatives \- maintain symboli
 .SH DESCRIPTION
 .B update\-alternatives
 creates, removes, maintains and displays information about the symbolic
-links comprising the Debian alternatives system.
+links comprising the SUSE alternatives system.
 .PP
 It is possible for several programs fulfilling the same or similar
 functions to be installed on a single system at the same time.
@@ -44,7 +44,7 @@ different editor, if desired, but makes
 to make a good choice for an editor to invoke if the
 user has not specified a particular preference.
 .PP
-Debian's alternatives system aims to solve this problem.
+SUSE's alternatives system aims to solve this problem.
 A generic name in the filesystem is
 shared by all files providing interchangeable functionality.
 The alternatives system and the system administrator
@@ -83,10 +83,10 @@ installed, changed or removed,
 is called to update information about that file in the alternatives system.
 .B update\-alternatives
 is usually called from the
-.B postinst
+.B post
 (configure) or
 .B prerm
-(remove and deconfigure) scripts in Debian packages.
+(remove and deconfigure) scripts in SUSE packages.
 .PP
 It is often useful for a number of alternatives to be synchronized,
 so that they are changed as a group; for example, when several versions
Index: dpkg-1.18.23/utils/update-alternatives.c
===================================================================
--- dpkg-1.18.23.orig/utils/update-alternatives.c
+++ dpkg-1.18.23/utils/update-alternatives.c
@@ -70,7 +70,7 @@ static int opt_force = 0;
 static void
 version(void)
 {
-	printf(_("Debian %s version %s.\n"), PROGNAME, VERSION);
+	printf(_("SUSE %s version %s.\n"), PROGNAME, VERSION);
 	printf("\n");
 
 	printf(_(
Index: dpkg-1.18.23/utils/Makefile.am
===================================================================
--- dpkg-1.18.23.orig/utils/Makefile.am
+++ dpkg-1.18.23/utils/Makefile.am
@@ -25,8 +25,8 @@ update_alternatives_SOURCES = \
 	update-alternatives.c
 
 update_alternatives_CPPFLAGS = \
-	-DALT_TMP_EXT=\".dpkg-tmp\" \
-	-DADMINDIR_ENVVAR=\"DPKG_ADMINDIR\" \
+	-DALT_TMP_EXT=\".rpm-tmp\" \
+	-DADMINDIR_ENVVAR=\"RPM_ADMINDIR\" \
 	$(AM_CPPFLAGS)
 
 update_alternatives_LDADD = \
openSUSE Build Service is sponsored by