Adam Majer
a34a7702db
- Refresh patches for new version * update-alternatives-suse.patch - Set minimum version for po4a to 0.59 in BuildRequires - Update file list in %files section - Version update to 1.20.9 (boo#1181867) [ Guillem Jover ] * Test suite: - Pass --ignore-builtin-builddeps to dpkg-buildpackage. - from version 1.20.8 [ Guillem Jover ] * start-stop-daemon: Open the --output file in append mode. * dpkg: Fix --auto-deconfigure for essential and protected during installation. Reported by Julian Andres Klode <jak@debian.org>. See #983014. * dpkg-realpath: Fix resolution for absolute symlinks on «/». Closes: #983855 * dpkg-realpath: Fix symlink loop tracker. * Perl modules: - Test::Dpkg: Fix test data path fetching on CPAN. - Dpkg::Exit: Preserve exit code in END block. * Build system: - Group Test::Dpkg changelog entries into “Perl modules” section. * Packaging: - Run autopkgtest test suites in verbose mode. * Test suite: - Set PERL in the perl test suite. - Use gunzip instead of zcat and assume it might not be present. - Mock dpkg and gcc for architecture detection code. - Initialize DEB_BUILD_ARCH and DEB_HOST_ARCH to avoid computing them. - Update suppressions for cppcheck 2.4. OBS-URL: https://build.opensuse.org/request/show/890017 OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=81
68 lines
2.5 KiB
Diff
68 lines
2.5 KiB
Diff
diff -Nru dpkg-1.20.9.orig/man/update-alternatives.pod dpkg-1.20.9/man/update-alternatives.pod
|
|
--- dpkg-1.20.9.orig/man/update-alternatives.pod 2021-01-30 07:09:02.000000000 +0100
|
|
+++ dpkg-1.20.9/man/update-alternatives.pod 2021-04-28 11:43:20.093959620 +0200
|
|
@@ -37,7 +37,7 @@
|
|
|
|
B<update-alternatives>
|
|
creates, removes, maintains and displays information about the symbolic
|
|
-links comprising the Debian alternatives system.
|
|
+links comprising the SUSE alternatives system.
|
|
|
|
It is possible for several programs fulfilling the same or similar
|
|
functions to be installed on a single system at the same time.
|
|
@@ -47,7 +47,7 @@
|
|
to make a good choice for an editor to invoke if the
|
|
user has not specified a particular preference.
|
|
|
|
-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
|
|
@@ -85,8 +85,8 @@
|
|
B<update-alternatives>
|
|
is called to update information about that file in the alternatives system.
|
|
B<update-alternatives>
|
|
-is usually called from the following Debian package maintainer scripts,
|
|
-B<postinst>
|
|
+is usually called from the following SUSE package maintainer scripts,
|
|
+B<post>
|
|
(configure) to install the alternative and from
|
|
B<prerm> and B<postrm>
|
|
(remove) to remove the alternative.
|
|
diff -Nru dpkg-1.20.9.orig/utils/Makefile.am dpkg-1.20.9/utils/Makefile.am
|
|
--- dpkg-1.20.9.orig/utils/Makefile.am 2021-01-30 07:09:02.000000000 +0100
|
|
+++ dpkg-1.20.9/utils/Makefile.am 2021-04-28 11:44:41.674722417 +0200
|
|
@@ -45,8 +45,8 @@
|
|
|
|
update_alternatives_CPPFLAGS = \
|
|
-DALT_TMP_EXT=\".dpkg-tmp\" \
|
|
- -DADMINDIR_ENVVAR=\"DPKG_ADMINDIR\" \
|
|
- -DINSTDIR_ENVVAR=\"DPKG_ROOT\" \
|
|
+ -DADMINDIR_ENVVAR=\"RPM_ADMINDIR\" \
|
|
+ -DINSTDIR_ENVVAR=\"RPM_ROOT\" \
|
|
$(AM_CPPFLAGS)
|
|
|
|
update_alternatives_LDADD = \
|
|
@@ -79,7 +79,7 @@
|
|
uninstall-local:
|
|
rm -f $(DESTDIR)$(sysconfdir)/alternatives/README
|
|
|
|
-TEST_ENV_VARS = DPKG_DATADIR=$(top_srcdir)/data
|
|
+TEST_ENV_VARS = RPM_DATADIR=$(top_srcdir)/data
|
|
|
|
test_tmpdir = t.tmp
|
|
test_scripts = \
|
|
diff -Nru dpkg-1.20.9.orig/utils/update-alternatives.c dpkg-1.20.9/utils/update-alternatives.c
|
|
--- dpkg-1.20.9.orig/utils/update-alternatives.c 2021-03-02 03:15:25.000000000 +0100
|
|
+++ dpkg-1.20.9/utils/update-alternatives.c 2021-04-28 11:43:44.998192415 +0200
|
|
@@ -115,7 +115,7 @@
|
|
static void
|
|
version(void)
|
|
{
|
|
- printf(_("Debian %s version %s.\n"), PROGNAME, VERSION);
|
|
+ printf(_("SUSE %s version %s.\n"), PROGNAME, VERSION);
|
|
printf("\n");
|
|
|
|
printf(_(
|