debian/rules: fix openkylin vendor

This commit is contained in:
luoyaoming 2022-06-05 22:23:27 +08:00
parent 5dcf4c9fe1
commit dad2066ce0
2 changed files with 9 additions and 0 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
openjpeg2 (2.3.1-ok2) yangtze; urgency=medium
* debian/rules: fix openkylin vendor
-- Luoyaoming <luoyaoming@kylinos.cn> Fri, 03 Jun 2022 16:32:58 +0800
openjpeg2 (2.3.1-ok1) yangtze; urgency=medium openjpeg2 (2.3.1-ok1) yangtze; urgency=medium
* Build for openKylin. * Build for openKylin.

3
debian/rules vendored
View File

@ -9,6 +9,9 @@ export DEB_CFLAGS_MAINT_APPEND = -fvisibility=hidden
ifeq ($(shell dpkg-vendor --is Ubuntu && echo yes) $(DEB_HOST_ARCH), yes i386) ifeq ($(shell dpkg-vendor --is Ubuntu && echo yes) $(DEB_HOST_ARCH), yes i386)
BUILD_PACKAGES += -Nlibopenjpip-server BUILD_PACKAGES += -Nlibopenjpip-server
endif 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) dh $@ --parallel --with apache2 $(DH_ADDONS) $(BUILD_PACKAGES)