From dad2066ce0537588b94391238635082412c22968 Mon Sep 17 00:00:00 2001 From: luoyaoming Date: Sun, 5 Jun 2022 22:23:27 +0800 Subject: [PATCH] debian/rules: fix openkylin vendor --- debian/changelog | 6 ++++++ debian/rules | 3 +++ 2 files changed, 9 insertions(+) diff --git a/debian/changelog b/debian/changelog index 3fd5a62..956482e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +openjpeg2 (2.3.1-ok2) yangtze; urgency=medium + + * debian/rules: fix openkylin vendor + + -- Luoyaoming Fri, 03 Jun 2022 16:32:58 +0800 + openjpeg2 (2.3.1-ok1) yangtze; urgency=medium * Build for openKylin. diff --git a/debian/rules b/debian/rules index 8ab82e2..01e8bd9 100755 --- a/debian/rules +++ b/debian/rules @@ -9,6 +9,9 @@ export DEB_CFLAGS_MAINT_APPEND = -fvisibility=hidden ifeq ($(shell dpkg-vendor --is Ubuntu && echo yes) $(DEB_HOST_ARCH), yes i386) BUILD_PACKAGES += -Nlibopenjpip-server endif +ifeq ($(shell dpkg-vendor --is openKylin && echo yes) $(DEB_HOST_ARCH), yes i386) + BUILD_PACKAGES += -Nlibopenjpip-server +endif %: dh $@ --parallel --with apache2 $(DH_ADDONS) $(BUILD_PACKAGES)