Commit Graph

56 Commits

Author SHA256 Message Date
2e6429b69d - use-clamp-from-C-STD-library.patch: removed, upstreamed
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=83
2021-06-08 12:56:50 +00:00
28727f17d6 Accepting request 898417 from system:packagemanager
- use-clamp-from-C-STD-library.patch: actually remove the clamp
  macro instead of using fragile preprocessor patches

OBS-URL: https://build.opensuse.org/request/show/898417
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=82
2021-06-08 12:46:29 +00:00
a34a7702db Accepting request 890017 from home:glaubitz:branches:system:packagemanager
- 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
2021-06-07 13:39:12 +00:00
Frank Schreiner
94626ae7d9 Accepting request 887978 from home:marxin:branches:system:packagemanager
- Add use-clamp-from-C-STD-library.patch in order to fix
  clamp clash (boo#1181867).

OBS-URL: https://build.opensuse.org/request/show/887978
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=79
2021-05-10 07:11:20 +00:00
Frank Schreiner
4ddd505dd7 Accepting request 863143 from home:lnussel:usrmove
- don't remove slave links that turned into master. Happens on usrmerge
  (boo#1180939, update-alternatives-slavetomaster.patch)

OBS-URL: https://build.opensuse.org/request/show/863143
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=77
2021-02-03 15:49:49 +00:00
Tomáš Chvátal
e1ad218e08 Accepting request 829570 from home:marxin:branches:system:packagemanager
- Add ncurses-fix.patch in order to fix ncurses issue.

OBS-URL: https://build.opensuse.org/request/show/829570
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=75
2020-08-25 14:53:21 +00:00
Tomáš Chvátal
3d31cf805e Accepting request 720442 from home:marxin:static
Use FAT LTO objects in order to provide proper static library.

OBS-URL: https://build.opensuse.org/request/show/720442
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=73
2019-08-02 07:32:33 +00:00
Tomáš Chvátal
f9d0cc4872 Accepting request 690787 from home:Andreas_Schwab:Factory
- Remove useless uses of rpm.expand
- Fix use of file:close

OBS-URL: https://build.opensuse.org/request/show/690787
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=71
2019-04-02 21:28:24 +00:00
Tomáš Chvátal
03729a1ecb Accepting request 684638 from home:coolo:branches:openSUSE:Factory
- my attempt to rewrite %post in lua (bsc#1129036)

OBS-URL: https://build.opensuse.org/request/show/684638
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=69
2019-03-13 10:05:44 +00:00
Tomáš Chvátal
11299112e6 Accepting request 665982 from home:kukuk:branches:system:packagemanager
- Use %license instead of %doc [bsc#1082318]

- Use %license instead of %doc [bsc#1082318]

OBS-URL: https://build.opensuse.org/request/show/665982
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=67
2019-01-14 15:25:08 +00:00
Tomáš Chvátal
279b62307c - 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 <jwilk@jwilk.net>.
  * 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
    <implementations-keywords>, following the specification.
  * Specify that DEB_GAIN_ROOT_CMD in R³ should preserve the environment.
    Proposed by Josh Triplett <josh@joshtriplett.org>.
  * 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 <mafm@debian.org>
  * 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 <mattia@debian.org>, 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 <mitya57@debian.org>. Closes: #880166
    - Mark hurd-i386 as having gcc builtin PIE in Dpkg::Vendor::Debian.
      Requested by Samuel Thibault <sthibault@debian.org>.
- split the u-a to separate spec file to reduce a build cycle
- update to debhelper-7.3.12
- update to debhelper-7.2.16
  * dh_scrollkeeper: Now a deprecated no-op.

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=65
2018-06-28 11:05:57 +00:00
Tomáš Chvátal
102090b92a - Drop commented out selinux line that is not needed in current
buildsystem

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=63
2018-01-22 18:11:13 +00:00
Tomáš Chvátal
fe1e82d148 * Also drop the post override
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=61
2018-01-16 13:27:49 +00:00
Tomáš Chvátal
14270076fc - Version update to 1.19.0.4:
* Tons of architecture fixes
  * Testsuite was expanded

- 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

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=60
2018-01-16 11:17:17 +00:00
Tomáš Chvátal
7a05a04155 Accepting request 556721 from home:pluskalm:branches:system:packagemanager
- Update test dependencies
- Build localised manpages

OBS-URL: https://build.opensuse.org/request/show/556721
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=58
2017-12-13 17:31:44 +00:00
Tomáš Chvátal
0d1473e699 Accepting request 555504 from CrossToolchain:avr
OBS-URL: https://build.opensuse.org/request/show/555504
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=57
2017-12-11 09:54:46 +00:00
Tomáš Chvátal
5cf1016a45 Accepting request 544381 from home:dimstar:Factory
- 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.

OBS-URL: https://build.opensuse.org/request/show/544381
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=55
2017-11-22 11:15:53 +00:00
Tomáš Chvátal
8fd2b11c37 Accepting request 543913 from home:pluskalm:branches:system:packagemanager
- Update rpm requirements to avoid unnecessary builds

OBS-URL: https://build.opensuse.org/request/show/543913
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=54
2017-11-20 14:53:02 +00:00
Tomáš Chvátal
a6e5a74596 Accepting request 543853 from home:pluskalm:branches:system:packagemanager
- Move update alternatives database to new location

OBS-URL: https://build.opensuse.org/request/show/543853
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=53
2017-11-20 12:45:54 +00:00
Tomáš Chvátal
0af91d4729 Accepting request 539941 from home:pluskalm:branches:system:packagemanager
- Update dependencies

OBS-URL: https://build.opensuse.org/request/show/539941
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=52
2017-11-08 16:27:49 +00:00
Tomáš Chvátal
798bb709e0 Accepting request 539795 from home:pluskalm:branches:system:packagemanager
- Small cleanup with spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/539795
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=51
2017-11-08 15:54:17 +00:00
Tomáš Chvátal
40daab7072 Accepting request 539792 from home:pluskalm:branches:system:packagemanager
- Require exactly same version of rpm we had when building to make
  sure dbpath matches

OBS-URL: https://build.opensuse.org/request/show/539792
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=50
2017-11-08 08:53:04 +00:00
Tomáš Chvátal
872cac8901 Accepting request 539790 from home:pluskalm:branches:system:packagemanager
- Use dbpath macro for locationg rpm state directory
- Use dbpath macro for locationg rpm state directory

OBS-URL: https://build.opensuse.org/request/show/539790
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=49
2017-11-08 08:48:08 +00:00
Tomáš Chvátal
1e7382397f Accepting request 539675 from home:pluskalm:branches:system:packagemanager
- Update location of rpm state directory

- Update location of rpm state directory

OBS-URL: https://build.opensuse.org/request/show/539675
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=48
2017-11-08 06:57:40 +00:00
Tomáš Chvátal
9afa8d40f0 - Silence the update-alternatives regen output wrt bsc#1050848
it causes more confusion than benefits

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=46
2017-08-09 10:42:13 +00:00
Tomáš Chvátal
fe4dc5fb31 - Refresh patch update-alternatives-suse.patch
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=44
2017-03-27 12:40:00 +00:00
Tomáš Chvátal
bc4a075dbc - Version update to 1.18.23:
* Various fixes all around
  * Refreshed patch update-alternatives-suse.patch

- Update to 1.18.23:
  * Various small fixes and memleaks removed
- Make sure to generate manpage

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=43
2017-03-27 12:39:18 +00:00
Tomáš Chvátal
93e5bae1d9 - 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

- 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

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=41
2016-09-07 12:46:37 +00:00
Tomáš Chvátal
ab142c15b4 - Use ls . instead of * to avoid error when nothing is in alternatives
directory

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=40
2016-09-07 12:31:49 +00:00
Tomáš Chvátal
3a63d9d005 - Require touch in post phase bnc#982336
- Require touch in post phase bnc#982336

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=38
2016-05-31 11:48:28 +00:00
Tomáš Chvátal
10e5eaa599 - Provide alternatives binary and alternatives = %{version} symbol
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=36
2016-05-13 12:04:06 +00:00
Tomáš Chvátal
a65785c80b - 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
2016-04-29 13:14:30 +00:00
Tomáš Chvátal
484aa89b3d OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=33 2016-04-07 10:27:18 +00:00
Tomáš Chvátal
d15c01c5ed - Try to autorefresh all the alternatives in post in case some of
them were broken

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=32
2016-04-07 10:21:16 +00:00
Tomáš Chvátal
8f7f8b5cc0 - Fix bnc#969171 by updating even with equal priority
* 0001-In-case-of-equal-priority-rather-update.patch

- Fix bnc#969171 by updating even with equal priority
  * 0001-In-case-of-equal-priority-rather-update.patch

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=31
2016-04-06 18:21:31 +00:00
Tomáš Chvátal
62f21a3cc6 - The logfile for update-alternatives is /var/log/alternatives.log
so stop using update-alternatives.log file which is empty

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=30
2016-04-06 12:10:40 +00:00
Tomáš Chvátal
b8c0f0e219 - Version update to 1.18.4:
* Various fixes from upstream debian, see changelog file distributed
    with the package
  * Refreshed patch update-alternatives-suse.patch

- Update to the 1.18.4:
  * Rebase patch update-alternatives-suse.patch
  * Touch the gost file in post

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=28
2016-03-25 09:50:39 +00:00
Tomáš Chvátal
40867eca5e - Exclude the update-alternatives manpage to avoid conflict
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=26
2015-06-05 13:45:03 +00:00
Tomáš Chvátal
03ead47211 - Adjust to the new manpage location
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=25
2015-06-05 07:44:43 +00:00
Tomáš Chvátal
82111c0d76 * Refresh patch:
+ update-alternatives-suse.patch
  * Refresh patch:
    + update-alternatives-suse.patch

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=24
2015-06-04 11:17:05 +00:00
Tomáš Chvátal
cb3311ced9 - 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

- 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

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=23
2015-06-04 11:16:27 +00:00
Tomáš Chvátal
75cfd16202 - Cleanup a bit with-spec-cleaner help
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=21
2015-04-01 13:01:26 +00:00
Tomáš Chvátal
8344784a15 - Cleanup with spec-cleaner
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=20
2015-04-01 12:58:11 +00:00
Tomáš Chvátal
44138b67b3 - Version bump to 1.17.24:
* Translation updates
  * Various small fixes

- Update to 1.11.24:
  * Translation updates
  * Various small fixes

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=19
2015-04-01 12:56:02 +00:00
Tomáš Chvátal
719a30a537 Accepting request 287774 from home:posophe:branches:system:packagemanager
fixed. Stupid mistake :)

OBS-URL: https://build.opensuse.org/request/show/287774
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=17
2015-03-01 11:01:24 +00:00
Frank Lichtenheld
73fd5f3d7b OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=16 2014-08-26 13:17:01 +00:00
Frank Lichtenheld
4ac6329295 Accepting request 246358 from home:jblunck:branches:system:packagemanager
- Make Dpkg::Source::Archive use tar --format=gnu

OBS-URL: https://build.opensuse.org/request/show/246358
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=15
2014-08-25 13:50:18 +00:00
Frank Lichtenheld
55c6cd397b Accepting request 246120 from home:k0da:ppc
- Update pkg-ppc64le.diff to fix Debian name for ppc64le

OBS-URL: https://build.opensuse.org/request/show/246120
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=14
2014-08-25 10:04:09 +00:00
Tomáš Chvátal
04e9635247 - Use SUSE not SuSE.
- Use SUSE not SuSE.

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=12
2014-05-12 13:58:33 +00:00
Frank Lichtenheld
f2b7fcf6c8 Accepting request 209203 from home:k0da:ppc64le
- add dpkg-ppc64le.diff to fix ppc64 LE build

- add dpkg-ppc64le.diff (adds ppc64le architecture)

OBS-URL: https://build.opensuse.org/request/show/209203
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/dpkg?expand=0&rev=10
2013-12-03 08:38:01 +00:00