liblopsub (1.0.5-3)
[PTS] [DDPO]
COMMITS: VCS has seen 1 commit since the v1.0.5-2 tag
- Git: https://git.tuebingen.mpg.de/lopsub.git
-
- Branch: debian
- Path: debian/changelog
- Repo size: 335872
- Browser: https://git.tuebingen.mpg.de/lopsub.git
- Last scan: 2025-02-09 11:06:05+00
- Next scan: 2025-02-10 14:34:00+00
- Debian changelog in Git:
liblopsub (1.0.5-3) experimental; urgency=low
* Support rootless builds. Closes: #1089365
-- Andre Noll <maan@tuebingen.mpg.de> Tue, 10 Dec 2024 18:40:23 +0100
- This branch is 1 commit ahead of tag v1.0.5-2
- Git log:
commit 8c31cdf4e9866ab39a5a7da637269cbded023af7
Author: Andre Noll <maan@tuebingen.mpg.de>
Date: Mon Dec 9 19:29:01 2024 +0100
debian: Enable `Rules-Requires-Root: no`.
During a test rebuild for building packages with `Rules-Requires-Root:
no` as the default in `dpkg`, liblopsub failed to rebuild.
The problem is the rule of the `binary` target in `debian/rules` which
runs `install(1)` with -o root -g root to set the owner and group ID of
the files and directories being installed. With `Rules-Requires-Root:
no`, this fails due to insufficient permissions. This commit removes
the problematic options in favor of running `dh_fixperms(1)` just
before `dh_makeshlibs(1)`.
With these changes in place, the build no longer requires any form of
root during the `binary` target. Consequently, we may enable rootless
builds in `debian/control`.
Reported-by: Niels Thykier <niels@thykier.net>
Suggested-by: Niels Thykier <niels@thykier.net>
Reviewed--by: Niels Thykier <niels@thykier.net>