From a65785c80b1826978738d877149528ac630ec398f041f4fcc1256572fee5395e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= <tchvatal@suse.com> Date: Fri, 29 Apr 2016 13:14:30 +0000 Subject: [PATCH 1/2] - Update to version 1.17.23 also fixes bsc#941619 OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=35 --- dpkg.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dpkg.changes b/dpkg.changes index 85f76fc..813c644 100644 --- a/dpkg.changes +++ b/dpkg.changes @@ -43,7 +43,7 @@ Wed Apr 1 12:54:48 UTC 2015 - tchvatal@suse.com ------------------------------------------------------------------- Mon Jan 5 15:30:22 UTC 2015 - p.drouand@gmail.com -- Update to version 1.17.23 +- Update to version 1.17.23 also fixes bsc#941619 + Use a matching group instead of ${^MATCH} in s/// in dselect build script. + Skip tar extractor tests if tar is not GNU tar >= 1.27. + Reset the trigger cycle tracking on unsatisfied dependencies during From 10e5eaa59933c8247e4af1ab27523ca2076316c28165025b5971ff691f612e97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= <tchvatal@suse.com> Date: Fri, 13 May 2016 12:04:06 +0000 Subject: [PATCH 2/2] - Provide alternatives binary and alternatives = %{version} symbol OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=36 --- update-alternatives.changes | 5 +++++ update-alternatives.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/update-alternatives.changes b/update-alternatives.changes index cd6ae7b..d4d545a 100644 --- a/update-alternatives.changes +++ b/update-alternatives.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 13 12:03:28 UTC 2016 - tchvatal@suse.com + +- Provide alternatives binary and alternatives = %{version} symbol + ------------------------------------------------------------------- Wed Apr 6 18:20:13 UTC 2016 - tchvatal@suse.com diff --git a/update-alternatives.spec b/update-alternatives.spec index 73a52db..aaa742d 100644 --- a/update-alternatives.spec +++ b/update-alternatives.spec @@ -32,6 +32,7 @@ Patch6: dpkg-sparc.diff Patch7: 0001-In-case-of-equal-priority-rather-update.patch BuildRequires: ncurses-devel BuildRequires: xz +Provides: alternatives = %{version} Requires(post): update-alternatives BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -68,6 +69,7 @@ install -d -m 0755 %{buildroot}/%{admindir}/alternatives install -d -m 0755 %{buildroot}/%{_localstatedir}/log install -m 0755 utils/%{name} %{buildroot}/%{_sbindir} +ln -s %{name} %{buildroot}/%{_sbindir}/alternatives install -m 0644 man/%{name}.1 %{buildroot}/%{_mandir}/man1/ %post @@ -84,6 +86,7 @@ done %doc COPYING %dir %{_sysconfdir}/alternatives %dir %{_localstatedir}/lib/rpm/alternatives +%{_sbindir}/alternatives %{_sbindir}/update-alternatives %{_mandir}/man1/update-alternatives.1* %ghost %{_localstatedir}/log/alternatives.log