commit dpkg for openSUSE:Factory
Hello community, here is the log from the commit of package dpkg for openSUSE:Factory checked in at 2020-10-06 17:06:01 Comparing /work/SRC/openSUSE:Factory/dpkg (Old) and /work/SRC/openSUSE:Factory/.dpkg.new.4249 (New) Package is "dpkg" Tue Oct 6 17:06:01 2020 rev:30 rq:829576 version:1.19.0.5 Changes: --- /work/SRC/openSUSE:Factory/dpkg/dpkg.changes2019-09-05 12:01:56.223946834 +0200 +++ /work/SRC/openSUSE:Factory/.dpkg.new.4249/dpkg.changes 2020-10-06 17:06:17.409277484 +0200 @@ -1,0 +2,5 @@ +Tue Aug 25 13:39:24 UTC 2020 - Martin Liška + +- Add ncurses-fix.patch in order to fix ncurses issue. + +--- New: ncurses-fix.patch Other differences: -- ++ dpkg.spec ++ --- /var/tmp/diff_new_pack.ggzI88/_old 2020-10-06 17:06:18.233278196 +0200 +++ /var/tmp/diff_new_pack.ggzI88/_new 2020-10-06 17:06:18.237278199 +0200 @@ -1,7 +1,7 @@ # # spec file for package dpkg # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,13 +22,14 @@ Summary:Debian package management system License:GPL-2.0-or-later Group: System/Packages -Url:http://www.debian.org +URL:http://www.debian.org Source0: http://ftp.de.debian.org/debian/pool/main/d/dpkg/dpkg_%{version}.tar.xz Source3:sensible-editor # PATCH-FIX-OPENSUSE replace debian with opensuse. replace macros. update-alternatives temp directories' path and name from dpkg* to rpm*. Patch1: update-alternatives-suse.patch # PATCH-FIX-SUSE: tar of Leap 42.{2,3} does not recognize --sort=name, --clamp-mtime options Patch2: drop-tar-option.patch +Patch3: ncurses-fix.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ @@ -87,6 +88,7 @@ %if 0%{?suse_version} == 1315 %patch2 -p1 %endif +%patch3 -p1 %build %global _lto_cflags %{_lto_cflags} -ffat-lto-objects ++ update-alternatives.spec ++ --- /var/tmp/diff_new_pack.ggzI88/_old 2020-10-06 17:06:18.269278227 +0200 +++ /var/tmp/diff_new_pack.ggzI88/_new 2020-10-06 17:06:18.273278230 +0200 @@ -1,7 +1,7 @@ # # spec file for package update-alternatives # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,7 +22,7 @@ Summary:Maintain symbolic links determining default commands License:GPL-2.0-or-later Group: System/Management -Url:http://ftp.de.debian.org/debian/pool/main/d/dpkg/ +URL:http://ftp.de.debian.org/debian/pool/main/d/dpkg/ Source0: http://ftp.de.debian.org/debian/pool/main/d/dpkg/dpkg_%{version}.tar.xz Source3:sensible-editor Patch0: update-alternatives-suse.patch ++ ncurses-fix.patch ++ diff --git a/dselect/keyoverride b/dselect/keyoverride index 35967ff..91a8c0c 100644 --- a/dselect/keyoverride +++ b/dselect/keyoverride @@ -56,3 +56,4 @@ KEY_SRIGHTShift Right KEY_SPREVIOUS Shift Previous KEY_MAX[elide] KEY_MIN[elide] +KEY_EVENT [elide]
commit dpkg for openSUSE:Factory
Hello community, here is the log from the commit of package dpkg for openSUSE:Factory checked in at 2019-09-05 12:01:54 Comparing /work/SRC/openSUSE:Factory/dpkg (Old) and /work/SRC/openSUSE:Factory/.dpkg.new.7948 (New) Package is "dpkg" Thu Sep 5 12:01:54 2019 rev:29 rq:720467 version:1.19.0.5 Changes: --- /work/SRC/openSUSE:Factory/dpkg/dpkg.changes2019-01-29 14:38:45.303526858 +0100 +++ /work/SRC/openSUSE:Factory/.dpkg.new.7948/dpkg.changes 2019-09-05 12:01:56.223946834 +0200 @@ -1,0 +2,5 @@ +Fri Aug 2 06:58:54 UTC 2019 - Martin Liška + +- Use FAT LTO objects in order to provide proper static library. + +--- Other differences: -- ++ dpkg.spec ++ --- /var/tmp/diff_new_pack.hPyLlk/_old 2019-09-05 12:01:58.227946444 +0200 +++ /var/tmp/diff_new_pack.hPyLlk/_new 2019-09-05 12:01:58.231946444 +0200 @@ -89,6 +89,7 @@ %endif %build +%global _lto_cflags %{_lto_cflags} -ffat-lto-objects autoreconf -fvi export CFLAGS="%{optflags}" %configure \ ++ update-alternatives.spec ++ --- /var/tmp/diff_new_pack.hPyLlk/_old 2019-09-05 12:01:58.251946440 +0200 +++ /var/tmp/diff_new_pack.hPyLlk/_new 2019-09-05 12:01:58.255946439 +0200 @@ -49,6 +49,7 @@ %patch0 -p1 %build +%global _lto_cflags %{_lto_cflags} -ffat-lto-objects autoreconf -fvi %configure \ --disable-silent-rules \
commit dpkg for openSUSE:Factory
Hello community, here is the log from the commit of package dpkg for openSUSE:Factory checked in at 2019-04-05 11:55:57 Comparing /work/SRC/openSUSE:Factory/dpkg (Old) and /work/SRC/openSUSE:Factory/.dpkg.new.3908 (New) Package is "dpkg" Fri Apr 5 11:55:57 2019 rev:28 rq:690791 version:1.19.0.5 Changes: --- /work/SRC/openSUSE:Factory/dpkg/update-alternatives.changes 2019-03-18 10:33:46.207554397 +0100 +++ /work/SRC/openSUSE:Factory/.dpkg.new.3908/update-alternatives.changes 2019-04-05 11:55:59.726308129 +0200 @@ -1,0 +2,6 @@ +Tue Apr 2 20:04:25 UTC 2019 - Andreas Schwab + +- Remove useless uses of rpm.expand +- Fix use of file:close + +--- Other differences: -- ++ update-alternatives.spec ++ --- /var/tmp/diff_new_pack.RYiM7L/_old 2019-04-05 11:56:00.590308744 +0200 +++ /var/tmp/diff_new_pack.RYiM7L/_new 2019-04-05 11:56:00.594308747 +0200 @@ -75,7 +75,7 @@ print("migrating update alternatives database to new location") -- We proceed even if no alternatives directory exists, such situation -- occurs in buildroot environment - new_location=rpm.expand('%{_localstatedir}/lib/alternatives/') + new_location='%{_localstatedir}/lib/alternatives/' for i,old_file in pairs(posix.dir("var/lib/rpm/alternatives/")) do print(old_file.."\n") new_file = string.gsub(old_file, "(.*/)(.*)", new_location .. "%2") @@ -85,8 +85,7 @@ posix.rmdir('var/lib/rpm/alternatives') end -- touch file -new_file = io.open(rpm.expand('%{_localstatedir}/log/alternatives.log'), "w") -new_file.close() +io.open('%{_localstatedir}/log/alternatives.log', "w"):close() %files %license COPYING
commit dpkg for openSUSE:Factory
Hello community, here is the log from the commit of package dpkg for openSUSE:Factory checked in at 2019-03-18 10:33:40 Comparing /work/SRC/openSUSE:Factory/dpkg (Old) and /work/SRC/openSUSE:Factory/.dpkg.new.28833 (New) Package is "dpkg" Mon Mar 18 10:33:40 2019 rev:27 rq:684644 version:1.19.0.5 Changes: --- /work/SRC/openSUSE:Factory/dpkg/update-alternatives.changes 2019-01-29 14:38:45.351526801 +0100 +++ /work/SRC/openSUSE:Factory/.dpkg.new.28833/update-alternatives.changes 2019-03-18 10:33:46.207554397 +0100 @@ -1,0 +2,5 @@ +Wed Mar 13 09:15:51 UTC 2019 - Stephan Kulow + +- my attempt to rewrite %post in lua (bsc#1129036) + +--- Other differences: -- ++ update-alternatives.spec ++ --- /var/tmp/diff_new_pack.SeiSVm/_old 2019-03-18 10:33:46.915554220 +0100 +++ /var/tmp/diff_new_pack.SeiSVm/_new 2019-03-18 10:33:46.919554219 +0100 @@ -31,8 +31,6 @@ BuildRequires: libtool BuildRequires: ncurses-devel BuildRequires: pkgconfig -Requires(post): coreutils -Requires(post): update-alternatives Provides: alternatives = %{version} %description @@ -71,18 +69,24 @@ ln -s %{name} %{buildroot}/%{_sbindir}/alternatives install -pm 0644 man/%{name}.1 %{buildroot}/%{_mandir}/man1/ -%post -# Migrate to new location -if [ -d var/lib/rpm/alternatives ]; then - echo "migrating update alternatives database to new location" - # We proceed even if no alternatives directory exists, such situation - # occurs in buildroot environment (we can't buildrequire package - # itself). - mv -f var/lib/rpm/alternatives/* %{_localstatedir}/lib/alternatives/ || : - rmdir var/lib/rpm/alternatives ||: -fi - -touch %{_localstatedir}/log/alternatives.log +%post -p +-- Migrate to new location +if posix.access('var/lib/rpm/alternatives', 'x') then + print("migrating update alternatives database to new location") + -- We proceed even if no alternatives directory exists, such situation + -- occurs in buildroot environment + new_location=rpm.expand('%{_localstatedir}/lib/alternatives/') + for i,old_file in pairs(posix.dir("var/lib/rpm/alternatives/")) do +print(old_file.."\n") +new_file = string.gsub(old_file, "(.*/)(.*)", new_location .. "%2") +print(new_file.."\n") +os.rename(old_file, new_file) + end + posix.rmdir('var/lib/rpm/alternatives') +end +-- touch file +new_file = io.open(rpm.expand('%{_localstatedir}/log/alternatives.log'), "w") +new_file.close() %files %license COPYING
commit dpkg for openSUSE:Factory
Hello community, here is the log from the commit of package dpkg for openSUSE:Factory checked in at 2019-01-29 14:38:43 Comparing /work/SRC/openSUSE:Factory/dpkg (Old) and /work/SRC/openSUSE:Factory/.dpkg.new.28833 (New) Package is "dpkg" Tue Jan 29 14:38:43 2019 rev:26 rq:665996 version:1.19.0.5 Changes: --- /work/SRC/openSUSE:Factory/dpkg/dpkg.changes2018-07-07 21:52:01.243803943 +0200 +++ /work/SRC/openSUSE:Factory/.dpkg.new.28833/dpkg.changes 2019-01-29 14:38:45.303526858 +0100 @@ -1,0 +2,5 @@ +Mon Jan 14 15:48:48 CET 2019 - ku...@suse.de + +- Use %license instead of %doc [bsc#1082318] + +--- --- /work/SRC/openSUSE:Factory/dpkg/update-alternatives.changes 2018-07-07 21:52:07.731795680 +0200 +++ /work/SRC/openSUSE:Factory/.dpkg.new.28833/update-alternatives.changes 2019-01-29 14:38:45.351526801 +0100 @@ -1,0 +2,5 @@ +Mon Jan 14 15:49:09 CET 2019 - ku...@suse.de + +- Use %license instead of %doc [bsc#1082318] + +--- Other differences: -- ++ dpkg.spec ++ --- /var/tmp/diff_new_pack.tWUsSQ/_old 2019-01-29 14:38:46.007526008 +0100 +++ /var/tmp/diff_new_pack.tWUsSQ/_new 2019-01-29 14:38:46.011526004 +0100 @@ -1,7 +1,7 @@ # # spec file for package dpkg # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -153,7 +153,8 @@ %{_mandir}/??/man*/* %files -%doc ABOUT-NLS AUTHORS COPYING doc/triggers.txt NEWS README* THANKS TODO debian/changelog +%license COPYING +%doc ABOUT-NLS AUTHORS doc/triggers.txt NEWS README* THANKS TODO debian/changelog %{_mandir}/man*/* %exclude %{_mandir}/man*/update-alternatives* %dir %{_sysconfdir}/dpkg ++ update-alternatives.spec ++ --- /var/tmp/diff_new_pack.tWUsSQ/_old 2019-01-29 14:38:46.035525975 +0100 +++ /var/tmp/diff_new_pack.tWUsSQ/_new 2019-01-29 14:38:46.039525970 +0100 @@ -1,7 +1,7 @@ # # spec file for package update-alternatives # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -85,7 +85,7 @@ touch %{_localstatedir}/log/alternatives.log %files -%doc COPYING +%license COPYING %dir %{_sysconfdir}/alternatives %dir %{_localstatedir}/lib/alternatives %{_sbindir}/alternatives
commit dpkg for openSUSE:Factory
Hello community, here is the log from the commit of package dpkg for openSUSE:Factory checked in at 2018-07-07 21:51:57 Comparing /work/SRC/openSUSE:Factory/dpkg (Old) and /work/SRC/openSUSE:Factory/.dpkg.new (New) Package is "dpkg" Sat Jul 7 21:51:57 2018 rev:25 rq:619567 version:1.19.0.5 Changes: --- /work/SRC/openSUSE:Factory/dpkg/dpkg.changes2018-01-26 13:34:51.310309948 +0100 +++ /work/SRC/openSUSE:Factory/.dpkg.new/dpkg.changes 2018-07-07 21:52:01.243803943 +0200 @@ -1,0 +2,30 @@ +Thu Jun 28 11:01:28 UTC 2018 - tchva...@suse.com + +- Version update to 1.19.0.5: + * Fix directory traversal with dpkg-deb --raw-extract, by guaranteeing +that the DEBIAN pathname does not exist. Closes: #879982 +Reported by Jakub Wilk . + * Rename DPKG_GAIN_ROOT_CMD to DEB_GAIN_ROOT_CMD in the R³ support, as +the variable is expected to be set by any builder, not just dpkg. And +introduce ephemereal backwards compatibility even though there are no +known users. + * Do not set DEB_GAIN_ROOT_CMD in dpkg-buildpackage when the R³ value is +, following the specification. + * Specify that DEB_GAIN_ROOT_CMD in R³ should preserve the environment. +Proposed by Josh Triplett . + * Specify new DEB_RULES_REQUIRES_ROOT variable for R³ support. + * Declare R³ specification as "recommendation, stable" with version 1.0. + * Architecture support: +- Add support for riscv64 CPU. Closes: #822914 + Thanks to Manuel A. Fernandez Montecelo + * Perl modules: +- Dpkg::Vendor::Debian: Use proper %use_feature key. This was causing perl + errors on paths not accapted for fixdebugpath. + Reported by Mattia Rizzolo , on IRC. Closes: #881051 +- Check that $state->{seen} exists instead of $state being just defined. + Fixes regression in dpkg-gensymbols symbols output. + Thanks to Dmitry Shachnev . Closes: #880166 +- Mark hurd-i386 as having gcc builtin PIE in Dpkg::Vendor::Debian. + Requested by Samuel Thibault . + +--- --- /work/SRC/openSUSE:Factory/dpkg/update-alternatives.changes 2018-01-20 11:22:09.845131907 +0100 +++ /work/SRC/openSUSE:Factory/.dpkg.new/update-alternatives.changes 2018-07-07 21:52:07.731795680 +0200 @@ -1,0 +2,6 @@ +Thu Jun 28 11:01:07 UTC 2018 - tchva...@suse.com + +- Update to 1.19.0.5: + * no changes in update-alternatives code, only dpkg + +--- Old: dpkg_1.19.0.4.tar.xz New: dpkg_1.19.0.5.tar.xz Other differences: -- ++ dpkg.spec ++ --- /var/tmp/diff_new_pack.br2nKY/_old 2018-07-07 21:52:11.823790469 +0200 +++ /var/tmp/diff_new_pack.br2nKY/_new 2018-07-07 21:52:11.827790463 +0200 @@ -17,10 +17,10 @@ Name: dpkg -Version:1.19.0.4 +Version:1.19.0.5 Release:0 Summary:Debian package management system -License:GPL-2.0+ +License:GPL-2.0-or-later Group: System/Packages Url:http://www.debian.org Source0: http://ftp.de.debian.org/debian/pool/main/d/dpkg/dpkg_%{version}.tar.xz ++ update-alternatives.spec ++ --- /var/tmp/diff_new_pack.br2nKY/_old 2018-07-07 21:52:11.843790444 +0200 +++ /var/tmp/diff_new_pack.br2nKY/_new 2018-07-07 21:52:11.847790438 +0200 @@ -17,10 +17,10 @@ Name: update-alternatives -Version:1.19.0.4 +Version:1.19.0.5 Release:0 Summary:Maintain symbolic links determining default commands -License:GPL-2.0+ +License:GPL-2.0-or-later Group: System/Management Url:http://ftp.de.debian.org/debian/pool/main/d/dpkg/ Source0: http://ftp.de.debian.org/debian/pool/main/d/dpkg/dpkg_%{version}.tar.xz ++ dpkg_1.19.0.4.tar.xz -> dpkg_1.19.0.5.tar.xz ++ 4539 lines of diff (skipped)
commit dpkg for openSUSE:Factory
Hello community, here is the log from the commit of package dpkg for openSUSE:Factory checked in at 2018-01-26 13:34:48 Comparing /work/SRC/openSUSE:Factory/dpkg (Old) and /work/SRC/openSUSE:Factory/.dpkg.new (New) Package is "dpkg" Fri Jan 26 13:34:48 2018 rev:24 rq:568264 version:1.19.0.4 Changes: --- /work/SRC/openSUSE:Factory/dpkg/dpkg.changes2018-01-20 11:22:04.829366392 +0100 +++ /work/SRC/openSUSE:Factory/.dpkg.new/dpkg.changes 2018-01-26 13:34:51.310309948 +0100 @@ -1,0 +2,6 @@ +Mon Jan 22 18:10:46 UTC 2018 - tchva...@suse.com + +- Drop commented out selinux line that is not needed in current + buildsystem + +--- Other differences: -- ++ dpkg.spec ++ --- /var/tmp/diff_new_pack.ec1iUW/_old 2018-01-26 13:34:52.234266792 +0100 +++ /var/tmp/diff_new_pack.ec1iUW/_new 2018-01-26 13:34:52.238266605 +0100 @@ -91,7 +91,6 @@ %build autoreconf -fvi export CFLAGS="%{optflags}" -#export SELINUX_LIBS="-lselinux" %configure \ --disable-silent-rules \ --with-libselinux \
commit dpkg for openSUSE:Factory
Hello community, here is the log from the commit of package dpkg for openSUSE:Factory checked in at 2018-01-20 11:22:03 Comparing /work/SRC/openSUSE:Factory/dpkg (Old) and /work/SRC/openSUSE:Factory/.dpkg.new (New) Package is "dpkg" Sat Jan 20 11:22:03 2018 rev:23 rq:566413 version:1.19.0.4 Changes: --- /work/SRC/openSUSE:Factory/dpkg/dpkg.changes2017-12-19 10:42:43.420475359 +0100 +++ /work/SRC/openSUSE:Factory/.dpkg.new/dpkg.changes 2018-01-20 11:22:04.829366392 +0100 @@ -1,0 +2,7 @@ +Tue Jan 16 10:56:50 UTC 2018 - tchva...@suse.com + +- Version update to 1.19.0.4: + * Tons of architecture fixes + * Testsuite was expanded + +--- --- /work/SRC/openSUSE:Factory/dpkg/update-alternatives.changes 2017-11-30 12:33:05.416754826 +0100 +++ /work/SRC/openSUSE:Factory/.dpkg.new/update-alternatives.changes 2018-01-20 11:22:09.845131907 +0100 @@ -1,0 +2,11 @@ +Tue Jan 16 10:54:19 UTC 2018 - tchva...@suse.com + +- Update to 1.19.0.4: + * No changes in update-alternatives just match step with dpkg +- Drop patch 0001-In-case-of-equal-priority-rather-update.patch + * Causes issues on too eagerly regenerating stuff bsc#1075971 + * Reason for this patch should no longer be needed as all python +packages are singlespec + * Also drop the post override + +--- Old: 0001-In-case-of-equal-priority-rather-update.patch dpkg_1.18.23.tar.xz New: dpkg_1.19.0.4.tar.xz Other differences: -- ++ dpkg.spec ++ --- /var/tmp/diff_new_pack.OBR0XU/_old 2018-01-20 11:22:10.673093200 +0100 +++ /var/tmp/diff_new_pack.OBR0XU/_new 2018-01-20 11:22:10.673093200 +0100 @@ -1,7 +1,7 @@ # # spec file for package dpkg # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,23 +17,22 @@ Name: dpkg -Version:1.18.23 +Version:1.19.0.4 Release:0 Summary:Debian package management system License:GPL-2.0+ Group: System/Packages -URL:http://www.debian.org +Url:http://www.debian.org Source0: http://ftp.de.debian.org/debian/pool/main/d/dpkg/dpkg_%{version}.tar.xz Source3:sensible-editor # PATCH-FIX-OPENSUSE replace debian with opensuse. replace macros. update-alternatives temp directories' path and name from dpkg* to rpm*. Patch1: update-alternatives-suse.patch # PATCH-FIX-SUSE: tar of Leap 42.{2,3} does not recognize --sort=name, --clamp-mtime options Patch2: drop-tar-option.patch -# PATCH-FIX-SUSE: update if two alternatives have same priority bnc#969171 -Patch7: 0001-In-case-of-equal-priority-rather-update.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ +BuildRequires: gpg2 BuildRequires: libbz2-devel BuildRequires: libmd-devel BuildRequires: libselinux-devel @@ -88,15 +87,14 @@ %if 0%{?suse_version} == 1315 %patch2 -p1 %endif -%patch7 -p1 %build autoreconf -fvi export CFLAGS="%{optflags}" -export SELINUX_LIBS="-lselinux" +#export SELINUX_LIBS="-lselinux" %configure \ --disable-silent-rules \ ---with-selinux \ +--with-libselinux \ --localstatedir=%{_localstatedir}/lib \ --with-admindir=%{_localstatedir}/lib/dpkg @@ -122,7 +120,7 @@ make %{?_smp_mflags} %install -make install DESTDIR=%{?buildroot} +%make_install # remove update-alternatives stuff (included in separate package) rm -rf %{buildroot}%{_sysconfdir}/alternatives @@ -131,6 +129,7 @@ rm -rf %{buildroot}%{_sbindir}/update-alternatives rm -rf %{buildroot}%{_mandir}/man8/update-alternatives.8 rm -rf %{buildroot}%{_mandir}/*/man8/update-alternatives.8 +rm -rf %{buildroot}%{_datadir}/polkit-1/actions/org.dpkg.pkexec.update-alternatives.policy # locales %find_lang %{name} @@ -162,7 +161,7 @@ %config(noreplace) %{_sysconfdir}/dpkg/* %{_bindir}/* %{_sbindir}/* -%{_libdir}/dpkg +%{_libexecdir}/dpkg %{_datadir}/dpkg %{_localstatedir}/lib/dpkg %{perl_vendorlib}/Dpkg ++ update-alternatives.spec ++ --- /var/tmp/diff_new_pack.OBR0XU/_old 2018-01-20 11:22:10.705091704 +0100 +++ /var/tmp/diff_new_pack.OBR0XU/_new 2018-01-20 11:22:10.709091517 +0100 @@ -1,7 +1,7 @@ # # spec file for package update-alternatives # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the
commit dpkg for openSUSE:Factory
Hello community, here is the log from the commit of package dpkg for openSUSE:Factory checked in at 2017-12-19 10:42:40 Comparing /work/SRC/openSUSE:Factory/dpkg (Old) and /work/SRC/openSUSE:Factory/.dpkg.new (New) Package is "dpkg" Tue Dec 19 10:42:40 2017 rev:22 rq:556757 version:1.18.23 Changes: --- /work/SRC/openSUSE:Factory/dpkg/dpkg.changes2017-11-30 12:33:05.368756572 +0100 +++ /work/SRC/openSUSE:Factory/.dpkg.new/dpkg.changes 2017-12-19 10:42:43.420475359 +0100 @@ -1,0 +2,11 @@ +Wed Dec 13 15:55:48 UTC 2017 - mplus...@suse.com + +- Update test dependencies +- Build localised manpages + +--- +Sat Dec 9 09:03:19 UTC 2017 - kkae...@suse.com + +- fix Leap 42.2,42.3 build: add drop-tar-option.patch + +--- New: drop-tar-option.patch Other differences: -- ++ dpkg.spec ++ --- /var/tmp/diff_new_pack.FFWXxl/_old 2017-12-19 10:42:46.688317606 +0100 +++ /var/tmp/diff_new_pack.FFWXxl/_new 2017-12-19 10:42:46.692317413 +0100 @@ -22,11 +22,13 @@ Summary:Debian package management system License:GPL-2.0+ Group: System/Packages -Url:http://www.debian.org +URL:http://www.debian.org Source0: http://ftp.de.debian.org/debian/pool/main/d/dpkg/dpkg_%{version}.tar.xz Source3:sensible-editor # PATCH-FIX-OPENSUSE replace debian with opensuse. replace macros. update-alternatives temp directories' path and name from dpkg* to rpm*. Patch1: update-alternatives-suse.patch +# PATCH-FIX-SUSE: tar of Leap 42.{2,3} does not recognize --sort=name, --clamp-mtime options +Patch2: drop-tar-option.patch # PATCH-FIX-SUSE: update if two alternatives have same priority bnc#969171 Patch7: 0001-In-case-of-equal-priority-rather-update.patch BuildRequires: autoconf @@ -37,17 +39,19 @@ BuildRequires: libselinux-devel BuildRequires: libtool BuildRequires: ncurses-devel +BuildRequires: po4a BuildRequires: update-alternatives BuildRequires: xz-devel BuildRequires: zlib-devel BuildRequires: perl(Date::Parse) BuildRequires: perl(IO::String) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::Strict) Requires: cpio Requires: make Requires: patch Requires: update-alternatives Requires: perl(Date::Parse) -%{perl_requires} Requires(post): coreutils Recommends: perl(File::FcntlLock) Provides: deb = %{version} @@ -55,6 +59,7 @@ Provides: dpkg-dev = %{version} Provides: dpkg-doc = %{version} Provides: dselect = %{version} +%{perl_requires} %description This package contains tools for working with Debian packages. It makes @@ -80,6 +85,9 @@ %prep %setup -q %patch1 -p1 +%if 0%{?suse_version} == 1315 +%patch2 -p1 +%endif %patch7 -p1 %build @@ -144,6 +152,7 @@ exit 0 %files lang -f %{name}.lang +%{_mandir}/??/man*/* %files %doc ABOUT-NLS AUTHORS COPYING doc/triggers.txt NEWS README* THANKS TODO debian/changelog ++ update-alternatives.spec ++ --- /var/tmp/diff_new_pack.FFWXxl/_old 2017-12-19 10:42:46.724315868 +0100 +++ /var/tmp/diff_new_pack.FFWXxl/_new 2017-12-19 10:42:46.724315868 +0100 @@ -81,7 +81,7 @@ # We proceed even if no alternatives directory exists, such situation # occurs in buildroot environment (we can't buildrequire package # itself). - mv -f var/lib/rpm/alternatives/* /var/lib/alternatives/ || : + mv -f var/lib/rpm/alternatives/* %{_localstatedir}/lib/alternatives/ || : rmdir var/lib/rpm/alternatives ||: fi ++ drop-tar-option.patch ++ diff -ruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-dpkg-1.18.23/scripts/Dpkg/Source/Archive.pm ./scripts/Dpkg/Source/Archive.pm --- ../orig-dpkg-1.18.23/scripts/Dpkg/Source/Archive.pm 2017-02-22 22:50:39.0 +0100 +++ ./scripts/Dpkg/Source/Archive.pm2017-12-09 09:59:34.985938649 +0100 @@ -51,8 +51,8 @@ my $mtime = $opts{source_date} // $ENV{SOURCE_DATE_EPOCH} || time; # Call tar creation process $spawn_opts{delete_env} = [ 'TAR_OPTIONS' ]; -$spawn_opts{exec} = [ $Dpkg::PROGTAR, '-cf', '-', '--format=gnu', '--sort=name', - '--mtime', "\@$mtime", '--clamp-mtime', '--null', +$spawn_opts{exec} = [ $Dpkg::PROGTAR, '-cf', '-', '--format=gnu', + '--mtime', "\@$mtime", '--null', '--numeric-owner', '--owner=0', '--group=0', @{$opts{options}}, '-T', '-' ]; *$self->{pid} = spawn(%spawn_opts);
commit dpkg for openSUSE:Factory
Hello community, here is the log from the commit of package dpkg for openSUSE:Factory checked in at 2017-11-30 12:33:03 Comparing /work/SRC/openSUSE:Factory/dpkg (Old) and /work/SRC/openSUSE:Factory/.dpkg.new (New) Package is "dpkg" Thu Nov 30 12:33:03 2017 rev:21 rq:544383 version:1.18.23 Changes: --- /work/SRC/openSUSE:Factory/dpkg/dpkg.changes2017-04-03 11:04:23.793713105 +0200 +++ /work/SRC/openSUSE:Factory/.dpkg.new/dpkg.changes 2017-11-30 12:33:05.368756572 +0100 @@ -1,0 +2,6 @@ +Wed Nov 8 16:15:47 UTC 2017 - mplus...@suse.com + +- Small cleanup with spec-cleaner +- Update dependencies + +--- --- /work/SRC/openSUSE:Factory/dpkg/update-alternatives.changes 2017-08-14 12:34:22.079621817 +0200 +++ /work/SRC/openSUSE:Factory/.dpkg.new/update-alternatives.changes 2017-11-30 12:33:05.416754826 +0100 @@ -1,0 +2,28 @@ +Wed Nov 22 11:06:33 UTC 2017 - dims...@opensuse.org + +- Migrate u-a data from /var/lib/rpm instead of relying on dbpath: + no u-a version ever installed files explicitly into dbpath, but + always hard specified /var/lib/rpm. The fact that RPM moved its + database is irrelevant to update-alternatives. In case RPM moved + it's database, our files are still accessible via the + /var/lib/rpm symlink being put in place. +- Drop the arbitrary depenency on a specific rpm version: the idea + was to ensure to have an rpm with the new dbpath location in + place. For one, the dependency does not work as intended, and + 2nd, as the migration now happens explicitly from the old u-a + admindir without relying on dbpath, is no longer needed. + +--- +Mon Nov 20 14:50:53 UTC 2017 - mplus...@suse.com + +- Move update alternatives database to new location +- Update rpm requirements to avoid unnecessary builds + +--- +Tue Nov 7 19:57:49 UTC 2017 - mplus...@suse.com + +- Use dbpath macro for locationg rpm state directory +- Require exactly same version of rpm we had when building to make + sure dbpath matches + +--- Other differences: -- ++ dpkg.spec ++ --- /var/tmp/diff_new_pack.6jouoB/_old 2017-11-30 12:33:06.300722682 +0100 +++ /var/tmp/diff_new_pack.6jouoB/_new 2017-11-30 12:33:06.304722536 +0100 @@ -16,7 +16,6 @@ # -%define admindir %{_localstatedir}/lib/rpm/ Name: dpkg Version:1.18.23 Release:0 @@ -34,20 +33,21 @@ BuildRequires: automake BuildRequires: gcc-c++ BuildRequires: libbz2-devel +BuildRequires: libmd-devel BuildRequires: libselinux-devel BuildRequires: libtool BuildRequires: ncurses-devel BuildRequires: update-alternatives -BuildRequires: xz +BuildRequires: xz-devel BuildRequires: zlib-devel BuildRequires: perl(Date::Parse) BuildRequires: perl(IO::String) Requires: cpio Requires: make Requires: patch -Requires: perl = %{perl_version} Requires: update-alternatives Requires: perl(Date::Parse) +%{perl_requires} Requires(post): coreutils Recommends: perl(File::FcntlLock) Provides: deb = %{version} @@ -55,7 +55,6 @@ Provides: dpkg-dev = %{version} Provides: dpkg-doc = %{version} Provides: dselect = %{version} -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This package contains tools for working with Debian packages. It makes @@ -69,6 +68,7 @@ Summary:Development files for dpkg Group: Development/Libraries/C and C++ Requires: %{name} = %{version} +Requires: libmd-devel Provides: deb-devel = %{version} Obsoletes: deb-devel < %{version} @@ -144,10 +144,8 @@ exit 0 %files lang -f %{name}.lang -%defattr(-,root,root) %files -%defattr(-,root,root) %doc ABOUT-NLS AUTHORS COPYING doc/triggers.txt NEWS README* THANKS TODO debian/changelog %{_mandir}/man*/* %exclude %{_mandir}/man*/update-alternatives* @@ -164,7 +162,6 @@ %{perl_vendorlib}/Dselect/Ftp.pm %files devel -%defattr(-,root,root) %{_libdir}/libdpkg.a %{_libdir}/libdpkg.la %{_libdir}/pkgconfig/libdpkg.pc ++ update-alternatives.spec ++ --- /var/tmp/diff_new_pack.6jouoB/_old 2017-11-30 12:33:06.332721518 +0100 +++ /var/tmp/diff_new_pack.6jouoB/_new 2017-11-30 12:33:06.336721372 +0100 @@ -16,14 +16,13 @@ # -%define admindir %{_localstatedir}/lib/rpm/ Name: update-alternatives Version:1.18.23 Release:0 Summary:Maintain symbolic links determining default commands License:GPL-2.0+ Group: System/Management -Url:
commit dpkg for openSUSE:Factory
Hello community, here is the log from the commit of package dpkg for openSUSE:Factory checked in at 2017-08-14 12:34:20 Comparing /work/SRC/openSUSE:Factory/dpkg (Old) and /work/SRC/openSUSE:Factory/.dpkg.new (New) Package is "dpkg" Mon Aug 14 12:34:20 2017 rev:20 rq:515344 version:1.18.23 Changes: --- /work/SRC/openSUSE:Factory/dpkg/update-alternatives.changes 2017-04-03 11:04:24.365632304 +0200 +++ /work/SRC/openSUSE:Factory/.dpkg.new/update-alternatives.changes 2017-08-14 12:34:22.079621817 +0200 @@ -1,0 +2,6 @@ +Wed Aug 9 10:43:10 UTC 2017 - tchva...@suse.com + +- Silence the update-alternatives regen output wrt bsc#1050848 + it causes more confusion than benefits + +--- Other differences: -- ++ update-alternatives.spec ++ --- /var/tmp/diff_new_pack.AZ4Y7Q/_old 2017-08-14 12:34:23.063483664 +0200 +++ /var/tmp/diff_new_pack.AZ4Y7Q/_new 2017-08-14 12:34:23.067483102 +0200 @@ -82,8 +82,8 @@ # Fix broken alternatives list bnc#969171 cd %{_sysconfdir}/alternatives/ for i in $(ls .) ; do -# continue on errors but still print them out -update-alternatives --auto $i || : +# continue on errors +update-alternatives --auto $i 2>/dev/null || : done %files
commit dpkg for openSUSE:Factory
Hello community, here is the log from the commit of package dpkg for openSUSE:Factory checked in at 2017-04-03 11:04:22 Comparing /work/SRC/openSUSE:Factory/dpkg (Old) and /work/SRC/openSUSE:Factory/.dpkg.new (New) Package is "dpkg" Mon Apr 3 11:04:22 2017 rev:19 rq:482883 version:1.18.23 Changes: --- /work/SRC/openSUSE:Factory/dpkg/dpkg.changes2016-09-12 13:21:24.0 +0200 +++ /work/SRC/openSUSE:Factory/.dpkg.new/dpkg.changes 2017-04-03 11:04:23.793713105 +0200 @@ -1,0 +2,7 @@ +Mon Mar 27 12:31:08 UTC 2017 - tchva...@suse.com + +- Version update to 1.18.23: + * Various fixes all around + * Refreshed patch update-alternatives-suse.patch + +--- --- /work/SRC/openSUSE:Factory/dpkg/update-alternatives.changes 2016-09-12 13:21:24.0 +0200 +++ /work/SRC/openSUSE:Factory/.dpkg.new/update-alternatives.changes 2017-04-03 11:04:24.365632304 +0200 @@ -1,0 +2,8 @@ +Mon Mar 27 12:38:32 UTC 2017 - tchva...@suse.com + +- Update to 1.18.23: + * Various small fixes and memleaks removed +- Make sure to generate manpage +- Refresh patch update-alternatives-suse.patch + +--- Old: dpkg_1.18.10.tar.xz New: dpkg_1.18.23.tar.xz Other differences: -- ++ dpkg.spec ++ --- /var/tmp/diff_new_pack.8gUzvf/_old 2017-04-03 11:04:25.273504038 +0200 +++ /var/tmp/diff_new_pack.8gUzvf/_new 2017-04-03 11:04:25.277503473 +0200 @@ -1,7 +1,7 @@ # # spec file for package dpkg # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %define admindir %{_localstatedir}/lib/rpm/ Name: dpkg -Version:1.18.10 +Version:1.18.23 Release:0 Summary:Debian package management system License:GPL-2.0+ ++ update-alternatives.spec ++ --- /var/tmp/diff_new_pack.8gUzvf/_old 2017-04-03 11:04:25.305499517 +0200 +++ /var/tmp/diff_new_pack.8gUzvf/_new 2017-04-03 11:04:25.309498952 +0200 @@ -1,7 +1,7 @@ # # spec file for package update-alternatives # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %define admindir %{_localstatedir}/lib/rpm/ Name: update-alternatives -Version:1.18.10 +Version:1.18.23 Release:0 Summary:Maintain symbolic links determining default commands License:GPL-2.0+ @@ -64,6 +64,7 @@ make -C lib/compat %{?_smp_mflags} make -C utils/ %{?_smp_mflags} +make -C man/ %{?_smp_mflags} %install install -d -m 0755 %{buildroot}/%{_sbindir}/ @@ -92,7 +93,7 @@ %dir %{_localstatedir}/lib/rpm/alternatives %{_sbindir}/alternatives %{_sbindir}/update-alternatives -%{_mandir}/man1/update-alternatives.1* +%{_mandir}/man1/update-alternatives.1%{ext_man} %ghost %{_localstatedir}/log/alternatives.log %changelog ++ dpkg_1.18.10.tar.xz -> dpkg_1.18.23.tar.xz ++ 510815 lines of diff (skipped) ++ update-alternatives-suse.patch ++ --- /var/tmp/diff_new_pack.8gUzvf/_old 2017-04-03 11:04:27.609174050 +0200 +++ /var/tmp/diff_new_pack.8gUzvf/_new 2017-04-03 11:04:27.613173485 +0200 @@ -1,8 +1,8 @@ -Index: dpkg-1.18.10/man/update-alternatives.1 +Index: dpkg-1.18.23/man/update-alternatives.man === dpkg-1.18.10.orig/man/update-alternatives.1 -+++ dpkg-1.18.10/man/update-alternatives.1 -@@ -33,7 +33,7 @@ update\-alternatives \- maintain symboli +--- 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 @@ -11,7 +11,7 @@ .PP It is possible for several programs fulfilling the same or similar functions to be installed on a single system at the same time. -@@ -43,7 +43,7 @@ different editor, if desired, but makes +@@ -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 @@ -20,7 +20,7 @@ A generic name in the filesystem is shared by all files providing interchangeable functionality. The alternatives system and the
commit dpkg for openSUSE:Factory
Hello community, here is the log from the commit of package dpkg for openSUSE:Factory checked in at 2016-09-12 13:21:22 Comparing /work/SRC/openSUSE:Factory/dpkg (Old) and /work/SRC/openSUSE:Factory/.dpkg.new (New) Package is "dpkg" Changes: --- /work/SRC/openSUSE:Factory/dpkg/dpkg.changes2016-06-05 14:17:37.0 +0200 +++ /work/SRC/openSUSE:Factory/.dpkg.new/dpkg.changes 2016-09-12 13:21:24.0 +0200 @@ -1,0 +2,8 @@ +Wed Sep 7 12:40:11 UTC 2016 - tchva...@suse.com + +- Version update to 1.18.10: + * Various few fixes, see changelog file in the package + * Refresh patch update-alternatives-suse.patch + * Remove patch dpkg-sparc.diff + +--- --- /work/SRC/openSUSE:Factory/dpkg/update-alternatives.changes 2016-06-05 14:17:37.0 +0200 +++ /work/SRC/openSUSE:Factory/.dpkg.new/update-alternatives.changes 2016-09-12 13:21:24.0 +0200 @@ -1,0 +2,14 @@ +Wed Sep 7 12:41:35 UTC 2016 - tchva...@suse.com + +- Version update to 1.18.10: + * Various few fixes, see changelog file in the package + * Refresh patch update-alternatives-suse.patch + * Remove patch dpkg-sparc.diff + +--- +Wed Sep 7 12:31:05 UTC 2016 - tchva...@suse.com + +- Use ls . instead of * to avoid error when nothing is in alternatives + directory + +--- Old: dpkg-sparc.diff dpkg_1.18.4.tar.xz New: dpkg_1.18.10.tar.xz Other differences: -- ++ dpkg.spec ++ --- /var/tmp/diff_new_pack.zIpT9y/_old 2016-09-12 13:21:25.0 +0200 +++ /var/tmp/diff_new_pack.zIpT9y/_new 2016-09-12 13:21:25.0 +0200 @@ -18,7 +18,7 @@ %define admindir %{_localstatedir}/lib/rpm/ Name: dpkg -Version:1.18.4 +Version:1.18.10 Release:0 Summary:Debian package management system License:GPL-2.0+ @@ -28,13 +28,14 @@ Source3:sensible-editor # PATCH-FIX-OPENSUSE replace debian with opensuse. replace macros. update-alternatives temp directories' path and name from dpkg* to rpm*. Patch1: update-alternatives-suse.patch -# PATCH-FIX-UPSTREAM remove --utf8 since we only build En manpages. -Patch6: dpkg-sparc.diff # PATCH-FIX-SUSE: update if two alternatives have same priority bnc#969171 Patch7: 0001-In-case-of-equal-priority-rather-update.patch +BuildRequires: autoconf +BuildRequires: automake BuildRequires: gcc-c++ BuildRequires: libbz2-devel BuildRequires: libselinux-devel +BuildRequires: libtool BuildRequires: ncurses-devel BuildRequires: update-alternatives BuildRequires: xz @@ -79,10 +80,10 @@ %prep %setup -q %patch1 -p1 -%patch6 -p1 %patch7 -p1 %build +autoreconf -fvi export CFLAGS="%{optflags}" export SELINUX_LIBS="-lselinux" %configure \ @@ -99,7 +100,7 @@ %ifarch x86_64 %define debarch amd64 %endif -%ifarch %ix86 +%ifarch %{ix86} %define debarch i386 %endif %ifarch ppc powerpc @@ -148,7 +149,7 @@ %files %defattr(-,root,root) %doc ABOUT-NLS AUTHORS COPYING doc/triggers.txt NEWS README* THANKS TODO debian/changelog -%doc %{_mandir}/man*/* +%{_mandir}/man*/* %exclude %{_mandir}/man*/update-alternatives* %dir %{_sysconfdir}/dpkg %config(noreplace) %{_sysconfdir}/dpkg/* ++ update-alternatives.spec ++ --- /var/tmp/diff_new_pack.zIpT9y/_old 2016-09-12 13:21:25.0 +0200 +++ /var/tmp/diff_new_pack.zIpT9y/_new 2016-09-12 13:21:25.0 +0200 @@ -18,7 +18,7 @@ %define admindir %{_localstatedir}/lib/rpm/ Name: update-alternatives -Version:1.18.4 +Version:1.18.10 Release:0 Summary:Maintain symbolic links determining default commands License:GPL-2.0+ @@ -27,14 +27,17 @@ Source0: http://ftp.de.debian.org/debian/pool/main/d/dpkg/dpkg_%{version}.tar.xz Source3:sensible-editor Patch0: update-alternatives-suse.patch -Patch6: dpkg-sparc.diff # PATCH-FIX-SUSE: update if two alternatives have same priority bnc#969171 Patch7: 0001-In-case-of-equal-priority-rather-update.patch +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool BuildRequires: ncurses-devel +BuildRequires: pkgconfig BuildRequires: xz -Provides: alternatives = %{version} -Requires(post): update-alternatives Requires(post): coreutils +Requires(post): update-alternatives +Provides: alternatives = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -51,10 +54,10 @@ %prep %setup -q -n dpkg-%{version} %patch0 -p1 -%patch6 -p1 %patch7 -p1 %build +autoreconf -fvi %configure \
commit dpkg for openSUSE:Factory
Hello community, here is the log from the commit of package dpkg for openSUSE:Factory checked in at 2016-06-05 14:17:36 Comparing /work/SRC/openSUSE:Factory/dpkg (Old) and /work/SRC/openSUSE:Factory/.dpkg.new (New) Package is "dpkg" Changes: --- /work/SRC/openSUSE:Factory/dpkg/dpkg.changes2016-05-24 09:33:27.0 +0200 +++ /work/SRC/openSUSE:Factory/.dpkg.new/dpkg.changes 2016-06-05 14:17:37.0 +0200 @@ -1,0 +2,5 @@ +Tue May 31 11:48:19 UTC 2016 - tchva...@suse.com + +- Require touch in post phase bnc#982336 + +--- --- /work/SRC/openSUSE:Factory/dpkg/update-alternatives.changes 2016-05-24 09:33:27.0 +0200 +++ /work/SRC/openSUSE:Factory/.dpkg.new/update-alternatives.changes 2016-06-05 14:17:37.0 +0200 @@ -1,0 +2,5 @@ +Tue May 31 11:47:57 UTC 2016 - tchva...@suse.com + +- Require touch in post phase bnc#982336 + +--- Other differences: -- ++ dpkg.spec ++ --- /var/tmp/diff_new_pack.1zteal/_old 2016-06-05 14:17:38.0 +0200 +++ /var/tmp/diff_new_pack.1zteal/_new 2016-06-05 14:17:38.0 +0200 @@ -47,7 +47,7 @@ Requires: perl = %{perl_version} Requires: update-alternatives Requires: perl(Date::Parse) -Requires(pre): /bin/touch +Requires(post): coreutils Recommends: perl(File::FcntlLock) Provides: deb = %{version} Obsoletes: deb < %{version} ++ update-alternatives.spec ++ --- /var/tmp/diff_new_pack.1zteal/_old 2016-06-05 14:17:38.0 +0200 +++ /var/tmp/diff_new_pack.1zteal/_new 2016-06-05 14:17:38.0 +0200 @@ -34,6 +34,7 @@ BuildRequires: xz Provides: alternatives = %{version} Requires(post): update-alternatives +Requires(post): coreutils BuildRoot: %{_tmppath}/%{name}-%{version}-build %description
commit dpkg for openSUSE:Factory
Hello community, here is the log from the commit of package dpkg for openSUSE:Factory checked in at 2016-05-24 09:33:25 Comparing /work/SRC/openSUSE:Factory/dpkg (Old) and /work/SRC/openSUSE:Factory/.dpkg.new (New) Package is "dpkg" Changes: --- /work/SRC/openSUSE:Factory/dpkg/dpkg.changes2016-04-12 18:58:00.0 +0200 +++ /work/SRC/openSUSE:Factory/.dpkg.new/dpkg.changes 2016-05-24 09:33:27.0 +0200 @@ -46 +46 @@ -- Update to version 1.17.23 +- Update to version 1.17.23 also fixes bsc#941619 --- /work/SRC/openSUSE:Factory/dpkg/update-alternatives.changes 2016-04-12 18:58:00.0 +0200 +++ /work/SRC/openSUSE:Factory/.dpkg.new/update-alternatives.changes 2016-05-24 09:33:27.0 +0200 @@ -1,0 +2,5 @@ +Fri May 13 12:03:28 UTC 2016 - tchva...@suse.com + +- Provide alternatives binary and alternatives = %{version} symbol + +--- Other differences: -- ++ update-alternatives.spec ++ --- /var/tmp/diff_new_pack.Rk0pt4/_old 2016-05-24 09:33:28.0 +0200 +++ /var/tmp/diff_new_pack.Rk0pt4/_new 2016-05-24 09:33:28.0 +0200 @@ -32,6 +32,7 @@ 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}/%{_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 @@ %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
commit dpkg for openSUSE:Factory
Hello community, here is the log from the commit of package dpkg for openSUSE:Factory checked in at 2016-04-12 18:57:58 Comparing /work/SRC/openSUSE:Factory/dpkg (Old) and /work/SRC/openSUSE:Factory/.dpkg.new (New) Package is "dpkg" Changes: --- /work/SRC/openSUSE:Factory/dpkg/dpkg.changes2016-03-29 09:51:33.0 +0200 +++ /work/SRC/openSUSE:Factory/.dpkg.new/dpkg.changes 2016-04-12 18:58:00.0 +0200 @@ -1,0 +2,6 @@ +Wed Apr 6 18:20:13 UTC 2016 - tchva...@suse.com + +- Fix bnc#969171 by updating even with equal priority + * 0001-In-case-of-equal-priority-rather-update.patch + +--- --- /work/SRC/openSUSE:Factory/dpkg/update-alternatives.changes 2016-03-29 09:51:33.0 +0200 +++ /work/SRC/openSUSE:Factory/.dpkg.new/update-alternatives.changes 2016-04-12 18:58:00.0 +0200 @@ -1,0 +2,14 @@ +Wed Apr 6 18:20:13 UTC 2016 - tchva...@suse.com + +- Fix bnc#969171 by updating even with equal priority + * 0001-In-case-of-equal-priority-rather-update.patch +- Try to autorefresh all the alternatives in post in case some of + them were broken + +--- +Wed Apr 6 12:05:23 UTC 2016 - tchva...@suse.com + +- The logfile for update-alternatives is /var/log/alternatives.log + so stop using update-alternatives.log file which is empty + +--- New: 0001-In-case-of-equal-priority-rather-update.patch Other differences: -- ++ dpkg.spec ++ --- /var/tmp/diff_new_pack.Y3qJvn/_old 2016-04-12 18:58:01.0 +0200 +++ /var/tmp/diff_new_pack.Y3qJvn/_new 2016-04-12 18:58:01.0 +0200 @@ -30,6 +30,8 @@ Patch1: update-alternatives-suse.patch # PATCH-FIX-UPSTREAM remove --utf8 since we only build En manpages. Patch6: dpkg-sparc.diff +# PATCH-FIX-SUSE: update if two alternatives have same priority bnc#969171 +Patch7: 0001-In-case-of-equal-priority-rather-update.patch BuildRequires: gcc-c++ BuildRequires: libbz2-devel BuildRequires: libselinux-devel @@ -78,6 +80,7 @@ %setup -q %patch1 -p1 %patch6 -p1 +%patch7 -p1 %build export CFLAGS="%{optflags}" ++ update-alternatives.spec ++ --- /var/tmp/diff_new_pack.Y3qJvn/_old 2016-04-12 18:58:01.0 +0200 +++ /var/tmp/diff_new_pack.Y3qJvn/_new 2016-04-12 18:58:01.0 +0200 @@ -28,8 +28,11 @@ Source3:sensible-editor Patch0: update-alternatives-suse.patch Patch6: dpkg-sparc.diff +# PATCH-FIX-SUSE: update if two alternatives have same priority bnc#969171 +Patch7: 0001-In-case-of-equal-priority-rather-update.patch BuildRequires: ncurses-devel BuildRequires: xz +Requires(post): update-alternatives BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -47,6 +50,7 @@ %setup -q -n dpkg-%{version} %patch0 -p1 %patch6 -p1 +%patch7 -p1 %build %configure \ @@ -67,7 +71,13 @@ install -m 0644 man/%{name}.1 %{buildroot}/%{_mandir}/man1/ %post -touch %{_localstatedir}/log/%{name}.log +touch %{_localstatedir}/log/alternatives.log +# Fix broken alternatives list bnc#969171 +cd %{_sysconfdir}/alternatives/ +for i in * ; do +# continue on errors but still print them out +update-alternatives --auto $i || : +done %files %defattr(-,root,root,-) @@ -76,6 +86,6 @@ %dir %{_localstatedir}/lib/rpm/alternatives %{_sbindir}/update-alternatives %{_mandir}/man1/update-alternatives.1* -%ghost %{_localstatedir}/log/update-alternatives.log +%ghost %{_localstatedir}/log/alternatives.log %changelog ++ 0001-In-case-of-equal-priority-rather-update.patch ++ >From 9f73659ce9b9194ce2f0219afbfb77d27e90508b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?=Date: Wed, 6 Apr 2016 20:06:15 +0200 Subject: [PATCH] In case of equal priority rather update This is needed because in some cases priorities in openSUSE python packages were equal in priority yet pointing to different files. With forced refresh we unfortunately update in some un-needed cases but are safe against this kind of errors. --- utils/update-alternatives.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/update-alternatives.c b/utils/update-alternatives.c index 5dc3213..1af65a4 100644 --- a/utils/update-alternatives.c +++ b/utils/update-alternatives.c @@ -1437,7 +1437,8 @@ alternative_get_best(struct alternative *a) best = a->choices; for (fs = a->choices; fs; fs = fs->next) - if (fs->priority > best->priority) +/* In case of equal priority rather use the new alternative */ + if
commit dpkg for openSUSE:Factory
Hello community, here is the log from the commit of package dpkg for openSUSE:Factory checked in at 2015-06-06 09:53:53 Comparing /work/SRC/openSUSE:Factory/dpkg (Old) and /work/SRC/openSUSE:Factory/.dpkg.new (New) Package is dpkg Changes: --- /work/SRC/openSUSE:Factory/dpkg/dpkg.changes2015-04-07 09:28:14.0 +0200 +++ /work/SRC/openSUSE:Factory/.dpkg.new/dpkg.changes 2015-06-06 09:53:54.0 +0200 @@ -1,0 +2,16 @@ +Fri Jun 5 13:44:48 UTC 2015 - tchva...@suse.com + +- Exclude the update-alternatives manpage to avoid conflict + +--- +Thu Jun 4 11:14:05 UTC 2015 - tchva...@suse.com + +- Verion bump to 1.18.1: + * Bump to latest upstream release + * Plenty of fixes with too long changelog, see changelog file in +documentation + * Also fixes bnc#926749 CVE-2015-0840 + * Refresh patch: ++ update-alternatives-suse.patch + +--- --- /work/SRC/openSUSE:Factory/dpkg/update-alternatives.changes 2015-04-07 09:28:14.0 +0200 +++ /work/SRC/openSUSE:Factory/.dpkg.new/update-alternatives.changes 2015-06-06 09:53:54.0 +0200 @@ -1,0 +2,16 @@ +Fri Jun 5 07:44:29 UTC 2015 - tchva...@suse.com + +- Adjust to the new manpage location + +--- +Thu Jun 4 11:15:32 UTC 2015 - tchva...@suse.com + +- Verion bump to 1.18.1: + * Bump to latest upstream release + * Plenty of fixes with too long changelog, see changelog file in +documentation + * Also fixes bnc#926749 CVE-2015-0840 + * Refresh patch: ++ update-alternatives-suse.patch + +--- Old: dpkg_1.17.24.tar.xz New: dpkg_1.18.1.tar.xz Other differences: -- ++ dpkg.spec ++ --- /var/tmp/diff_new_pack.FYg4wG/_old 2015-06-06 09:53:55.0 +0200 +++ /var/tmp/diff_new_pack.FYg4wG/_new 2015-06-06 09:53:55.0 +0200 @@ -18,7 +18,7 @@ %define admindir %{_localstatedir}/lib/rpm/ Name: dpkg -Version:1.17.24 +Version:1.18.1 Release:0 Summary:Debian package management system License:GPL-2.0+ @@ -146,6 +146,7 @@ %defattr(-,root,root) %doc ABOUT-NLS AUTHORS COPYING doc/triggers.txt NEWS README* THANKS TODO debian/changelog %doc %{_mandir}/man*/* +%exclude %{_mandir}/man*/update-alternatives* %dir %{_sysconfdir}/dpkg %config(noreplace) %{_sysconfdir}/dpkg/* %{_bindir}/* ++ update-alternatives.spec ++ --- /var/tmp/diff_new_pack.FYg4wG/_old 2015-06-06 09:53:55.0 +0200 +++ /var/tmp/diff_new_pack.FYg4wG/_new 2015-06-06 09:53:55.0 +0200 @@ -18,7 +18,7 @@ %define admindir %{_localstatedir}/lib/rpm/ Name: update-alternatives -Version:1.17.24 +Version:1.18.1 Release:0 Summary:Maintain symbolic links determining default commands License:GPL-2.0+ @@ -58,13 +58,13 @@ %install install -d -m 0755 %{buildroot}/%{_sbindir}/ -install -d -m 0755 %{buildroot}/%{_mandir}/man8/ +install -d -m 0755 %{buildroot}/%{_mandir}/man1/ install -d -m 0755 %{buildroot}/%{_sysconfdir}/alternatives install -d -m 0755 %{buildroot}/%{admindir}/alternatives install -d -m 0755 %{buildroot}/%{_localstatedir}/log install -m 0755 utils/%{name} %{buildroot}/%{_sbindir} -install -m 0644 man/%{name}.8 %{buildroot}/%{_mandir}/man8/ +install -m 0644 man/%{name}.1 %{buildroot}/%{_mandir}/man1/ touch %{buildroot}/%{_localstatedir}/log/%{name}.log @@ -74,7 +74,7 @@ %dir %{_sysconfdir}/alternatives %dir %{_localstatedir}/lib/rpm/alternatives %{_sbindir}/update-alternatives -%{_mandir}/man8/update-alternatives.8* +%{_mandir}/man1/update-alternatives.1* %ghost %{_localstatedir}/log/update-alternatives.log %changelog ++ dpkg_1.17.24.tar.xz - dpkg_1.18.1.tar.xz ++ 741076 lines of diff (skipped) ++ update-alternatives-suse.patch ++ --- /var/tmp/diff_new_pack.FYg4wG/_old 2015-06-06 09:53:58.0 +0200 +++ /var/tmp/diff_new_pack.FYg4wG/_new 2015-06-06 09:53:58.0 +0200 @@ -1,6 +1,6 @@ -diff -ur dpkg-1.16.7.orig/man/update-alternatives.8 dpkg-1.16.7/man/update-alternatives.8 dpkg-1.16.7.orig/man/update-alternatives.8 2012-06-30 09:21:47.0 +0200 -+++ dpkg-1.16.7/man/update-alternatives.8 2012-07-07 00:38:09.628280915 +0200 +diff -ur dpkg-1.16.7.orig/man/update-alternatives.1 dpkg-1.16.7/man/update-alternatives.1 +--- dpkg-1.16.7.orig/man/update-alternatives.1 2012-06-30 09:21:47.0 +0200 dpkg-1.16.7/man/update-alternatives.1 2012-07-07 00:38:09.628280915 +0200 @@ -33,7 +33,7 @@ .SH DESCRIPTION .B
commit dpkg for openSUSE:Factory
Hello community, here is the log from the commit of package dpkg for openSUSE:Factory checked in at 2015-04-07 09:28:10 Comparing /work/SRC/openSUSE:Factory/dpkg (Old) and /work/SRC/openSUSE:Factory/.dpkg.new (New) Package is dpkg Changes: --- /work/SRC/openSUSE:Factory/dpkg/dpkg.changes2015-03-03 11:12:49.0 +0100 +++ /work/SRC/openSUSE:Factory/.dpkg.new/dpkg.changes 2015-04-07 09:28:14.0 +0200 @@ -1,0 +2,12 @@ +Wed Apr 1 12:59:58 UTC 2015 - tchva...@suse.com + +- Cleanup a bit with-spec-cleaner help + +--- +Wed Apr 1 12:54:48 UTC 2015 - tchva...@suse.com + +- Version bump to 1.17.24: + * Translation updates + * Various small fixes + +--- --- /work/SRC/openSUSE:Factory/dpkg/update-alternatives.changes 2015-03-03 11:12:49.0 +0100 +++ /work/SRC/openSUSE:Factory/.dpkg.new/update-alternatives.changes 2015-04-07 09:28:14.0 +0200 @@ -1,0 +2,12 @@ +Wed Apr 1 12:57:51 UTC 2015 - tchva...@suse.com + +- Cleanup with spec-cleaner + +--- +Wed Apr 1 12:55:43 UTC 2015 - tchva...@suse.com + +- Update to 1.11.24: + * Translation updates + * Various small fixes + +--- Old: dpkg_1.17.23.tar.xz New: dpkg_1.17.24.tar.xz Other differences: -- ++ dpkg.spec ++ --- /var/tmp/diff_new_pack.wazLR7/_old 2015-04-07 09:28:15.0 +0200 +++ /var/tmp/diff_new_pack.wazLR7/_new 2015-04-07 09:28:15.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package dpkg # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,9 +17,8 @@ %define admindir %{_localstatedir}/lib/rpm/ - Name: dpkg -Version:1.17.23 +Version:1.17.24 Release:0 Summary:Debian package management system License:GPL-2.0+ @@ -32,9 +31,10 @@ # PATCH-FIX-UPSTREAM remove --utf8 since we only build En manpages. Patch6: dpkg-sparc.diff BuildRequires: gcc-c++ +BuildRequires: libbz2-devel BuildRequires: libselinux-devel -%define use_selinux 1 BuildRequires: ncurses-devel +BuildRequires: update-alternatives BuildRequires: xz BuildRequires: zlib-devel BuildRequires: perl(Date::Parse) @@ -42,22 +42,17 @@ Requires: cpio Requires: make Requires: patch +Requires: perl = %{perl_version} +Requires: update-alternatives +Requires: perl(Date::Parse) +Requires(pre): /bin/touch +Recommends: perl(File::FcntlLock) Provides: deb = %{version} Obsoletes: deb %{version} Provides: dpkg-dev = %{version} Provides: dpkg-doc = %{version} Provides: dselect = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build -Requires(pre): /bin/touch - -%if 0%{?suse_version} -BuildRequires: libbz2-devel -BuildRequires: update-alternatives -Requires: perl = %{perl_version} -Requires: update-alternatives -Requires: perl(Date::Parse) -Recommends: perl(File::FcntlLock) -%endif %description This package contains tools for working with Debian packages. It makes @@ -70,43 +65,26 @@ %package devel Summary:Development files for dpkg Group: Development/Libraries/C and C++ +Requires: %{name} = %{version} Provides: deb-devel = %{version} Obsoletes: deb-devel %{version} -Requires: %{name} = %{version} %description devel Libraries and header files for dpkg. -%package lang -Summary:Languages for package %{name} -Group: System/Localization -Requires: %{name} = %{version} -Provides: %{name}-lang-all = %{version} -Provides: deb-lang = %{version} -Obsoletes: deb-lang %{version} -%if %{defined suse_version} -Supplements:packageand(bundle-lang-other:%{name}) -BuildArch: noarch -%endif - -%description lang -Provides translations to the package %{name} +%lang_package %prep %setup -q - %patch1 -p1 %patch6 -p1 %build export CFLAGS=%{optflags} -%if 0%{?use_selinux} export SELINUX_LIBS=-lselinux -%endif -%{configure}\ -%if 0%{?use_selinux} +%configure \ +--disable-silent-rules \ --with-selinux \ -%endif --localstatedir=%{_localstatedir}/lib \ --with-admindir=%{_localstatedir}/lib/dpkg @@ -132,7 +110,7 @@ make %{?_smp_mflags} %install -%{__make} install DESTDIR=%{?buildroot} +make install
commit dpkg for openSUSE:Factory
Hello community, here is the log from the commit of package dpkg for openSUSE:Factory checked in at 2015-03-03 11:12:48 Comparing /work/SRC/openSUSE:Factory/dpkg (Old) and /work/SRC/openSUSE:Factory/.dpkg.new (New) Package is dpkg Changes: --- /work/SRC/openSUSE:Factory/dpkg/dpkg.changes2014-08-28 21:05:12.0 +0200 +++ /work/SRC/openSUSE:Factory/.dpkg.new/dpkg.changes 2015-03-03 11:12:49.0 +0100 @@ -1,0 +2,27 @@ +Mon Jan 5 15:30:22 UTC 2015 - p.drou...@gmail.com + +- Update to version 1.17.23 + + 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 +trigger processing. Closes: bdo#771730 + + Fix out-of-bounds buffer read accesses when parsing field and trigger +names or checking package ownership of conffiles and directories. + + Add versioned Breaks on packages creating trigger cycles. Namely auctex, +apt-cudf, ccache, cups, distcc, fusionforge-plugin-mediawiki, gap-core, +gxine, hoogle, icecc, libjs-protoaculous, mcollective, pypy, wordpress +and xfonts-traditional. + + Update translations +- Remove unapplied patches; SLE11 support is disabled in project home + + dpkg-pod2man-no-utf8.patch + + dpkg-old-File-Path.patch + + dpkg-old-Test-More.patch +- Remove obsolete patches + * dpkg-ppc64le.diff + * dpkg-archive_tar_format_gnu.patch + * dpkg-archtable-suse.patch +- Rename updated patch + update-alternatives-1.16.8-suse.patch update-alternatives-suse.patch +- Clean up a bit specfile + +--- --- /work/SRC/openSUSE:Factory/dpkg/update-alternatives.changes 2014-05-13 20:46:08.0 +0200 +++ /work/SRC/openSUSE:Factory/.dpkg.new/update-alternatives.changes 2015-03-03 11:12:49.0 +0100 @@ -1,0 +2,27 @@ +Tue Feb 17 13:38:47 UTC 2015 - p.drou...@gmail.com + +- Update to version 1.17.23 + + 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 +trigger processing. Closes: bdo#771730 + + Fix out-of-bounds buffer read accesses when parsing field and trigger +names or checking package ownership of conffiles and directories. + + Add versioned Breaks on packages creating trigger cycles. Namely auctex, +apt-cudf, ccache, cups, distcc, fusionforge-plugin-mediawiki, gap-core, +gxine, hoogle, icecc, libjs-protoaculous, mcollective, pypy, wordpress +and xfonts-traditional. + + Update translations +- Remove unapplied patches; SLE11 support is disabled in project home + + dpkg-pod2man-no-utf8.patch + + dpkg-old-File-Path.patch + + dpkg-old-Test-More.patch +- Remove obsolete patches + * dpkg-ppc64le.diff + * dpkg-archive_tar_format_gnu.patch + * dpkg-archtable-suse.patch +- Rename updated patch + pdate-alternatives-1.16.8-suse.patch pdate-alternatives-suse.patch +- Clean up a bit specfile + +--- Old: dpkg-archive_tar_format_gnu.patch dpkg-archtable-suse.patch dpkg-old-File-Path.patch dpkg-old-Test-More.patch dpkg-pod2man-no-utf8.patch dpkg-ppc64le.diff dpkg_1.16.10.tar.xz update-alternatives-1.16.8-suse.patch New: dpkg_1.17.23.tar.xz update-alternatives-suse.patch Other differences: -- ++ dpkg.spec ++ --- /var/tmp/diff_new_pack.udwb97/_old 2015-03-03 11:12:50.0 +0100 +++ /var/tmp/diff_new_pack.udwb97/_new 2015-03-03 11:12:50.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package dpkg # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %define admindir %{_localstatedir}/lib/rpm/ Name: dpkg -Version:1.16.10 +Version:1.17.23 Release:0 Summary:Debian package management system License:GPL-2.0+ @@ -28,18 +28,9 @@ Source0: http://ftp.de.debian.org/debian/pool/main/d/dpkg/dpkg_%{version}.tar.xz Source3:sensible-editor # PATCH-FIX-OPENSUSE replace debian with opensuse. replace macros. update-alternatives temp directories' path and name from dpkg* to rpm*. -Patch1: update-alternatives-1.16.8-suse.patch -# PATCH-FIX-OPENSUSE add openSUSE supported architectures -Patch2: dpkg-archtable-suse.patch +Patch1: update-alternatives-suse.patch #
commit dpkg for openSUSE:Factory
Hello community, here is the log from the commit of package dpkg for openSUSE:Factory checked in at 2014-08-28 21:05:08 Comparing /work/SRC/openSUSE:Factory/dpkg (Old) and /work/SRC/openSUSE:Factory/.dpkg.new (New) Package is dpkg Changes: --- /work/SRC/openSUSE:Factory/dpkg/dpkg.changes2014-05-13 20:46:08.0 +0200 +++ /work/SRC/openSUSE:Factory/.dpkg.new/dpkg.changes 2014-08-28 21:05:12.0 +0200 @@ -1,0 +2,10 @@ +Mon Aug 25 13:35:42 UTC 2014 - jblu...@infradead.org + +- Add dpkg-archive_tar_format_gnu.patch: Make Dpkg::Source::Archive use tar --format=gnu + +--- +Sat Aug 23 19:02:35 UTC 2014 - dvla...@suse.com + +- Update pkg-ppc64le.diff to fix Debian name for ppc64le + +--- New: dpkg-archive_tar_format_gnu.patch Other differences: -- ++ dpkg.spec ++ --- /var/tmp/diff_new_pack.U5a15i/_old 2014-08-28 21:05:13.0 +0200 +++ /var/tmp/diff_new_pack.U5a15i/_new 2014-08-28 21:05:13.0 +0200 @@ -39,6 +39,7 @@ Patch5: dpkg-old-Test-More.patch Patch6: dpkg-sparc.diff Patch7: dpkg-ppc64le.diff +Patch8: dpkg-archive_tar_format_gnu.patch BuildRequires: gcc-c++ BuildRequires: libselinux-devel %define use_selinux 1 @@ -119,6 +120,9 @@ %endif %patch6 -p1 %patch7 -p1 +%if 0%{?suse_version} = 1220 +%patch8 -p1 +%endif %build export CFLAGS=%{optflags} ++ dpkg-archive_tar_format_gnu.patch ++ From: Jan Blunck jblu...@infradead.org Subject: Make Dpkg::Source::Archive use tar --format=gnu Some versions of tar (specifically on openSUSE 12.2) have different default tar format. So lets explicitly instruct Dpkg::Source::Archive to create the gnu tar format. http://anonscm.debian.org/gitweb/?p=dpkg/dpkg.git;h=3f0c739bff65e6167cc91626fa77145247560fda Signed-off-by: Jan Blunck jblu...@infradead.org Index: dpkg-1.16.10/scripts/Dpkg/Source/Archive.pm === --- dpkg-1.16.10.orig/scripts/Dpkg/Source/Archive.pm +++ dpkg-1.16.10/scripts/Dpkg/Source/Archive.pm @@ -48,7 +48,7 @@ sub create { # Call tar creation process $spawn_opts{delete_env} = [ TAR_OPTIONS ]; $spawn_opts{'exec'} = [ 'tar', '--null', '-T', '-', '--numeric-owner', -'--owner', '0', '--group', '0', +'--owner', '0', '--group', '0', '--format=gnu', @{$opts{options}}, '-cf', '-' ]; *$self-{pid} = spawn(%spawn_opts); *$self-{cwd} = getcwd(); ++ dpkg-ppc64le.diff ++ --- /var/tmp/diff_new_pack.U5a15i/_old 2014-08-28 21:05:13.0 +0200 +++ /var/tmp/diff_new_pack.U5a15i/_new 2014-08-28 21:05:13.0 +0200 @@ -6,7 +6,7 @@ mipselmipsel mipsel 32 little powerpc powerpc (powerpc|ppc) 32 big ppc64 powerpc64 (powerpc|ppc)64 64 big -+ppc64le powerpc64le (powerpc|ppc)64le 64 little ++ppc64el powerpc64le (powerpc|ppc)64le 64 little s390 s390s39032 big s390x s390x s390x 64 big sh3 sh3 sh3 32 little -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit dpkg for openSUSE:Factory
Hello community, here is the log from the commit of package dpkg for openSUSE:Factory checked in at 2014-05-13 20:46:08 Comparing /work/SRC/openSUSE:Factory/dpkg (Old) and /work/SRC/openSUSE:Factory/.dpkg.new (New) Package is dpkg Changes: --- /work/SRC/openSUSE:Factory/dpkg/dpkg.changes2013-12-03 14:25:42.0 +0100 +++ /work/SRC/openSUSE:Factory/.dpkg.new/dpkg.changes 2014-05-13 20:46:08.0 +0200 @@ -1,0 +2,5 @@ +Mon May 12 13:58:18 UTC 2014 - tchva...@suse.com + +- Use SUSE not SuSE. + +--- --- /work/SRC/openSUSE:Factory/dpkg/update-alternatives.changes 2013-12-03 14:25:42.0 +0100 +++ /work/SRC/openSUSE:Factory/.dpkg.new/update-alternatives.changes 2014-05-13 20:46:08.0 +0200 @@ -1,0 +2,5 @@ +Mon May 12 13:57:59 UTC 2014 - tchva...@suse.com + +- Use SUSE not SuSE. + +--- Other differences: -- ++ dpkg.spec ++ --- /var/tmp/diff_new_pack.HPviGk/_old 2014-05-13 20:46:09.0 +0200 +++ /var/tmp/diff_new_pack.HPviGk/_new 2014-05-13 20:46:09.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package dpkg # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed update-alternatives.spec: same change ++ update-alternatives-1.16.8-suse.patch ++ --- /var/tmp/diff_new_pack.HPviGk/_old 2014-05-13 20:46:09.0 +0200 +++ /var/tmp/diff_new_pack.HPviGk/_new 2014-05-13 20:46:09.0 +0200 @@ -6,7 +6,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. ++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. @@ -15,7 +15,7 @@ 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. ++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 @@ -29,7 +29,7 @@ -.B prerm -(install) scripts in Debian packages. +.B preun -+(install) scripts in SuSE packages. ++(install) 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 @@ -47,7 +47,7 @@ . .SH BUGS -If you find a bug, please report it using the Debian bug-tracking system. -+If you find a bug, please report it using the SuSE bug-tracking system. ++If you find a bug, please report it using the SUSE bug-tracking system. .PP If you find any discrepancy between the operation of .B update\-alternatives @@ -68,7 +68,7 @@ version(void) { - printf(_(Debian %s version %s.\n), PROGNAME, VERSION); -+ printf(_(SuSE %s version %s.\n), PROGNAME, VERSION); ++ printf(_(SUSE %s version %s.\n), PROGNAME, VERSION); printf(\n); printf(_( -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit dpkg for openSUSE:Factory
Hello community, here is the log from the commit of package dpkg for openSUSE:Factory checked in at 2013-12-03 14:25:41 Comparing /work/SRC/openSUSE:Factory/dpkg (Old) and /work/SRC/openSUSE:Factory/.dpkg.new (New) Package is dpkg Changes: --- /work/SRC/openSUSE:Factory/dpkg/dpkg.changes2013-07-09 20:51:54.0 +0200 +++ /work/SRC/openSUSE:Factory/.dpkg.new/dpkg.changes 2013-12-03 14:25:42.0 +0100 @@ -1,0 +2,5 @@ +Mon Dec 2 21:31:13 UTC 2013 - dval...@suse.com + +- add dpkg-ppc64le.diff to fix ppc64 LE build + +--- --- /work/SRC/openSUSE:Factory/dpkg/update-alternatives.changes 2013-07-09 20:51:54.0 +0200 +++ /work/SRC/openSUSE:Factory/.dpkg.new/update-alternatives.changes 2013-12-03 14:25:42.0 +0100 @@ -1,0 +2,5 @@ +Mon Dec 2 21:27:10 UTC 2013 - dval...@suse.com + +- add dpkg-ppc64le.diff (adds ppc64le architecture) + +--- New: dpkg-ppc64le.diff Other differences: -- ++ dpkg.spec ++ --- /var/tmp/diff_new_pack.Cic054/_old 2013-12-03 14:25:42.0 +0100 +++ /var/tmp/diff_new_pack.Cic054/_new 2013-12-03 14:25:42.0 +0100 @@ -38,6 +38,7 @@ # PATCH-FIX-SUSE support for old Test::More (SLES11) Patch5: dpkg-old-Test-More.patch Patch6: dpkg-sparc.diff +Patch7: dpkg-ppc64le.diff BuildRequires: gcc-c++ BuildRequires: libselinux-devel %define use_selinux 1 @@ -117,6 +118,7 @@ %patch5 -p1 %endif %patch6 -p1 +%patch7 -p1 %build export CFLAGS=%{optflags} ++ update-alternatives.spec ++ --- /var/tmp/diff_new_pack.Cic054/_old 2013-12-03 14:25:42.0 +0100 +++ /var/tmp/diff_new_pack.Cic054/_new 2013-12-03 14:25:42.0 +0100 @@ -30,6 +30,7 @@ Patch0: update-alternatives-1.16.8-suse.patch Patch1: dpkg-archtable-suse.patch Patch6: dpkg-sparc.diff +Patch7: dpkg-ppc64le.diff BuildRequires: ncurses-devel BuildRequires: xz BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -51,6 +52,7 @@ %patch0 -p1 %patch1 -p1 %patch6 -p1 +%patch7 -p1 %build %{configure} \ ++ dpkg-ppc64le.diff ++ Index: dpkg-1.16.10/cputable === --- dpkg-1.16.10.orig/cputable +++ dpkg-1.16.10/cputable @@ -31,6 +31,7 @@ mips mipsmips(eb)? 32 big mipsel mipsel mipsel 32 little powerpcpowerpc (powerpc|ppc) 32 big ppc64 powerpc64 (powerpc|ppc)64 64 big +ppc64lepowerpc64le (powerpc|ppc)64le 64 little s390 s390s39032 big s390x s390x s390x 64 big sh3sh3 sh3 32 little -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit dpkg for openSUSE:Factory
Hello community, here is the log from the commit of package dpkg for openSUSE:Factory checked in at 2013-07-09 20:51:54 Comparing /work/SRC/openSUSE:Factory/dpkg (Old) and /work/SRC/openSUSE:Factory/.dpkg.new (New) Package is dpkg Changes: --- /work/SRC/openSUSE:Factory/dpkg/dpkg.changes2013-03-28 13:10:26.0 +0100 +++ /work/SRC/openSUSE:Factory/.dpkg.new/dpkg.changes 2013-07-09 20:51:54.0 +0200 @@ -1,0 +2,5 @@ +Wed Jul 3 09:57:49 UTC 2013 - jeng...@inai.de + +- Add dpkg-sparc.diff to unbreak compilation on sparcv9 build + +--- update-alternatives.changes: same change New: dpkg-sparc.diff Other differences: -- ++ dpkg.spec ++ --- /var/tmp/diff_new_pack.5PomBf/_old 2013-07-09 20:51:55.0 +0200 +++ /var/tmp/diff_new_pack.5PomBf/_new 2013-07-09 20:51:55.0 +0200 @@ -37,6 +37,7 @@ Patch4: dpkg-old-File-Path.patch # PATCH-FIX-SUSE support for old Test::More (SLES11) Patch5: dpkg-old-Test-More.patch +Patch6: dpkg-sparc.diff BuildRequires: gcc-c++ BuildRequires: libselinux-devel %define use_selinux 1 @@ -115,6 +116,7 @@ %patch4 -p1 %patch5 -p1 %endif +%patch6 -p1 %build export CFLAGS=%{optflags} ++ update-alternatives.spec ++ --- /var/tmp/diff_new_pack.5PomBf/_old 2013-07-09 20:51:55.0 +0200 +++ /var/tmp/diff_new_pack.5PomBf/_new 2013-07-09 20:51:55.0 +0200 @@ -29,6 +29,7 @@ Source3:sensible-editor Patch0: update-alternatives-1.16.8-suse.patch Patch1: dpkg-archtable-suse.patch +Patch6: dpkg-sparc.diff BuildRequires: ncurses-devel BuildRequires: xz BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -49,6 +50,7 @@ %patch0 -p1 %patch1 -p1 +%patch6 -p1 %build %{configure} \ ++ dpkg-sparc.diff ++ From: Jan Engelhardt jeng...@inai.de Date: 2013-07-03 11:48:39.034294424 +0200 X-Upstream: General patch applicable for all distributions. cputable: support invocation via `./configure --host=sparcv9-linux-gnu` autoconf knows to handle sparc*, but the dpkg specific m4/dpkg-arch.m4 does not. --- cputable |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: dpkg-1.16.10/cputable === --- dpkg-1.16.10.orig/cputable +++ dpkg-1.16.10/cputable @@ -37,5 +37,5 @@ sh3 sh3 sh3 32 little sh3eb sh3eb sh3eb 32 big sh4sh4 sh4 32 little sh4eb sh4eb sh4eb 32 big -sparc sparc sparc 32 big -sparc64sparc64 sparc64 64 big +sparc64sparc64 sparc64.* 64 big +sparc sparc sparc.* 32 big -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit dpkg for openSUSE:Factory
Hello community, here is the log from the commit of package dpkg for openSUSE:Factory checked in at 2013-03-28 13:10:24 Comparing /work/SRC/openSUSE:Factory/dpkg (Old) and /work/SRC/openSUSE:Factory/.dpkg.new (New) Package is dpkg, Maintainer is Changes: --- /work/SRC/openSUSE:Factory/dpkg/dpkg.changes2012-10-12 14:22:00.0 +0200 +++ /work/SRC/openSUSE:Factory/.dpkg.new/dpkg.changes 2013-03-28 13:10:26.0 +0100 @@ -1,0 +2,26 @@ +Tue Mar 26 13:22:40 UTC 2013 - frank.lichtenh...@sophos.com + +- Enable test suite +- Fix dpkg-source for SLES 11. Quilt.pm was depending on a + newer API of File::Path. + +--- +Mon Mar 25 20:25:54 UTC 2013 - frank.lichtenh...@sophos.com + +- update to dpkg-1.16.10 +* Add missing @LIBLZMA_LIBS@ to Libs.Private in libdpkg.pc.in +* Fix OpenPGP armored signature parsing, to be resilient against doctored + input, including source package control files. deb#695919 +* Fix warning in Dpkg::Source::Archive with «perl -w» due to redefinition + of getcwd() by removing unused POSIX modules usage. deb#700978 +- update to dpkg-1.16.9 +* Fix regression on old-style binNMUs for packages that specify an + explicit binary version to dpkg-gencontrol, by always fixing up the + source version. deb#690823 +* Fix dpkg-source regression in 3.0 (quilt) source packages while + unapplying patches that remove all files in a directory. deb#683547 +* Fix segfault in field format parsing on empty strings, affecting + «dpkg-query -W -f ''» and «dpkg-deb -W --showformat=''». lp#1035512 +- see /usr/share/doc/packages/dpkg/changelog for details + +--- --- /work/SRC/openSUSE:Factory/dpkg/update-alternatives.changes 2012-10-08 20:28:55.0 +0200 +++ /work/SRC/openSUSE:Factory/.dpkg.new/update-alternatives.changes 2013-03-28 13:10:26.0 +0100 @@ -1,0 +2,10 @@ +Mon Mar 25 20:35:24 UTC 2013 - frank.lichtenh...@sophos.com + +- update to 1.16.10 +* Fix update-alternatives test suite to behave correctly on non-Debian + binary paths. Known to be affecting at least Gentoo and Mac OS X. +* Do not leak subcall command arguments in update-alternatives. +* Fix segfault on update-alternatives when passing --slave without any + action at all. lp#1037431 + +--- Old: dpkg_1.16.8.tar.xz New: dpkg-old-File-Path.patch dpkg-old-Test-More.patch dpkg_1.16.10.tar.xz Other differences: -- ++ dpkg.spec ++ --- /var/tmp/diff_new_pack.Jp6GQ4/_old 2013-03-28 13:10:28.0 +0100 +++ /var/tmp/diff_new_pack.Jp6GQ4/_new 2013-03-28 13:10:28.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package dpkg # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %define admindir %{_localstatedir}/lib/rpm/ Name: dpkg -Version:1.16.8 +Version:1.16.10 Release:0 Summary:Debian package management system License:GPL-2.0+ @@ -28,17 +28,23 @@ Source0: http://ftp.de.debian.org/debian/pool/main/d/dpkg/dpkg_%{version}.tar.xz Source3:sensible-editor # PATCH-FIX-OPENSUSE replace debian with opensuse. replace macros. update-alternatives temp directories' path and name from dpkg* to rpm*. -Patch1: update-alternatives-%{version}-suse.patch +Patch1: update-alternatives-1.16.8-suse.patch # PATCH-FIX-OPENSUSE add openSUSE supported architectures Patch2: dpkg-archtable-suse.patch # PATCH-FIX-UPSTREAM remove --utf8 since we only build En manpages. Patch3: dpkg-pod2man-no-utf8.patch +# PATCH-FIX-SUSE support for old File::Path (SLES11) +Patch4: dpkg-old-File-Path.patch +# PATCH-FIX-SUSE support for old Test::More (SLES11) +Patch5: dpkg-old-Test-More.patch BuildRequires: gcc-c++ BuildRequires: libselinux-devel %define use_selinux 1 BuildRequires: ncurses-devel BuildRequires: xz BuildRequires: zlib-devel +BuildRequires: perl(Date::Parse) +BuildRequires: perl(IO::String) Requires: cpio Requires: make Requires: patch @@ -106,6 +112,8 @@ %patch2 -p1 %if 0%{?suse_version} 0%{?suse_version} 1130 %patch3 -p1 +%patch4 -p1 +%patch5 -p1 %endif %build @@ -161,6 +169,9 @@ # extras install -m 755 %{SOURCE3} %{buildroot}%{_bindir} +%check +%{__make} check + %post cd %{_localstatedir}/lib/dpkg for f in diversions statoverride status ; do
commit dpkg for openSUSE:Factory
Hello community, here is the log from the commit of package dpkg for openSUSE:Factory checked in at 2012-10-12 14:16:19 Comparing /work/SRC/openSUSE:Factory/dpkg (Old) and /work/SRC/openSUSE:Factory/.dpkg.new (New) Package is dpkg, Maintainer is Changes: --- /work/SRC/openSUSE:Factory/dpkg/dpkg.changes2012-10-08 20:28:55.0 +0200 +++ /work/SRC/openSUSE:Factory/.dpkg.new/dpkg.changes 2012-10-12 14:22:00.0 +0200 @@ -1,0 +2,6 @@ +Thu Oct 11 18:55:33 UTC 2012 - frank.lichtenh...@sophos.com + +- add Recommends on File::FcntlLock, Dpkg::File will + use it if available + +--- Other differences: -- ++ dpkg.spec ++ --- /var/tmp/diff_new_pack.GKeZ48/_old 2012-10-12 14:22:01.0 +0200 +++ /var/tmp/diff_new_pack.GKeZ48/_new 2012-10-12 14:22:01.0 +0200 @@ -53,9 +53,10 @@ %if 0%{?suse_version} BuildRequires: libbz2-devel BuildRequires: update-alternatives +Requires: perl = %{perl_version} Requires: update-alternatives Requires: perl(Date::Parse) -Requires: perl = %{perl_version} +Recommends: perl(File::FcntlLock) %if 0%{?suse_version} 1120 %define _libexecdir /usr/lib %endif -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org