diff options
author | Slávek Banko <[email protected]> | 2025-02-17 18:40:32 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2025-02-17 23:35:41 +0100 |
commit | 8b4a12b77376ef043fdcf155d654494175dc59c8 (patch) | |
tree | 3abff96344fb4e371effbdf549c37175becb110a /ubuntu/_base/dependencies/libcaldav/debian/rules | |
parent | fa88a4179b9e094c6a15563524011468a69968eb (diff) | |
download | tde-packaging-8b4a12b77376ef043fdcf155d654494175dc59c8.tar.gz tde-packaging-8b4a12b77376ef043fdcf155d654494175dc59c8.zip |
in the cleaning phase and not to return the changes back. This is workaround
due to newer dpkg, where cdbs rules for debhelper do not reflect additional
changes in the control file made during build.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'ubuntu/_base/dependencies/libcaldav/debian/rules')
-rwxr-xr-x | ubuntu/_base/dependencies/libcaldav/debian/rules | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ubuntu/_base/dependencies/libcaldav/debian/rules b/ubuntu/_base/dependencies/libcaldav/debian/rules index 9b371a62d..612de3dff 100755 --- a/ubuntu/_base/dependencies/libcaldav/debian/rules +++ b/ubuntu/_base/dependencies/libcaldav/debian/rules @@ -59,6 +59,12 @@ ifeq ($(DEB_TIME64_API),true) ls -d debian/* | \ grep -E "/libcaldav$(DEB_TIME64_SUFFIX)\." | \ xargs -r rm + [ -f debian/control.t64 ] || \ + sed -i.t64 \ + -e "s/^Package: \\(libcaldav\\)$$/Package: \\1$(DEB_TIME64_SUFFIX)\\nReplaces: \\1\\nBreaks: \\1/" \ + -e "s/\\(libcaldav\\) (=/\\1$(DEB_TIME64_SUFFIX) (=/" \ + debian/control +else [ ! -f debian/control.t64 ] || \ mv debian/control.t64 debian/control endif |