diff options
| author | Slávek Banko <slavek.banko@axis.cz> | 2025-02-17 18:40:32 +0100 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2025-02-17 23:35:41 +0100 |
| commit | 8b4a12b77376ef043fdcf155d654494175dc59c8 (patch) | |
| tree | 3abff96344fb4e371effbdf549c37175becb110a /debian/_base/applications | |
| parent | fa88a4179b9e094c6a15563524011468a69968eb (diff) | |
| download | tde-packaging-8b4a12b77376ef043fdcf155d654494175dc59c8.tar.gz tde-packaging-8b4a12b77376ef043fdcf155d654494175dc59c8.zip | |
DEB: Make adjustments for time64 ABI in the 'control' file before building -
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 <slavek.banko@axis.cz>
Diffstat (limited to 'debian/_base/applications')
| -rwxr-xr-x | debian/_base/applications/multimedia/k3b/debian/rules | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/_base/applications/multimedia/k3b/debian/rules b/debian/_base/applications/multimedia/k3b/debian/rules index 0cd87b24d..70fead837 100755 --- a/debian/_base/applications/multimedia/k3b/debian/rules +++ b/debian/_base/applications/multimedia/k3b/debian/rules @@ -57,6 +57,13 @@ ifeq ($(DEB_TIME64_API),true) ls -d debian/* | \ grep -E "/libk3b3$(DEB_TIME64_SUFFIX)-" | \ xargs -r rm + [ -f debian/control.t64 ] || \ + sed -i.t64 \ + -e "s/^Package: \\(libk3b3\\)-trinity$$/Package: \\1$(DEB_TIME64_SUFFIX)-trinity/" \ + -e "s/^\\(Replaces\\|Breaks\\):\\(.*\\)\\(libk3b3-trinity\\)\\( [^,]*\|$$\)/\\1:\\2\\3/" \ + -e "s/\\(libk3b3\\)-trinity (=/\\1$(DEB_TIME64_SUFFIX)-trinity (=/" \ + debian/control +else [ ! -f debian/control.t64 ] || \ mv debian/control.t64 debian/control endif |
