diff options
| author | Slávek Banko <slavek.banko@axis.cz> | 2026-02-12 00:19:01 +0100 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2026-02-12 08:29:40 +0100 |
| commit | 5812b4fabbdae0a2d3f91b4db4752735578378ae (patch) | |
| tree | c5641b3f4b71a85e6d248f37ded6b4d31aebf458 /debian | |
| parent | 6fabe0508858da141967fea90bc2abdabd1fdb07 (diff) | |
| download | tde-packaging-master.tar.gz tde-packaging-master.zip | |
This completes the changes related to renaming the libarddav package to
libcardav0 in #537. For time64 variant the package got incorrect name
libcarddav00t64 and was empty.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'debian')
| -rwxr-xr-x | debian/_base/dependencies/libcarddav/debian/rules | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/_base/dependencies/libcarddav/debian/rules b/debian/_base/dependencies/libcarddav/debian/rules index da07780af..6dc35900d 100755 --- a/debian/_base/dependencies/libcarddav/debian/rules +++ b/debian/_base/dependencies/libcarddav/debian/rules @@ -5,7 +5,7 @@ include /usr/share/cdbs/1/rules/debhelper.mk DEB_TIME64_API = $(shell echo | cc $(dpkg-buildflags --get CPPFLAGS) -dM -E -x c++ - | grep -q "_TIME_BITS 64" && echo true || false) ifeq ($(DEB_TIME64_API),true) -DEB_TIME64_SUFFIX = 0t64 +DEB_TIME64_SUFFIX = t64 else DEB_TIME64_SUFFIX = endif @@ -31,11 +31,11 @@ post-patches:: ifeq ($(DEB_TIME64_API),true) # update library package name for TIME64 ABI ls -d debian/* | \ - grep -E "/libcarddav\." | \ + grep -E "/libcarddav0\." | \ grep -v "\.t64$$" | \ while read a; do \ [ -d $$a ] || [ -f $$a.t64 ] || \ - (cp -a $$a debian/libcarddav$(DEB_TIME64_SUFFIX).$${a##*.} && mv $$a $$a.t64); \ + (cp -a $$a debian/libcarddav0$(DEB_TIME64_SUFFIX).$${a##*.} && mv $$a $$a.t64); \ done [ -f debian/control.t64 ] || \ sed -i.t64 \ @@ -57,7 +57,7 @@ ifeq ($(DEB_TIME64_API),true) mv $$a $${a%.t64}; \ done ls -d debian/* | \ - grep -E "/libcarddav$(DEB_TIME64_SUFFIX)\." | \ + grep -E "/libcarddav0$(DEB_TIME64_SUFFIX)\." | \ xargs -r rm [ -f debian/control.t64 ] || \ sed -i.t64 \ |
