mirror of https://gitee.com/openkylin/cups.git
build(rules): 去除rules标记
This commit is contained in:
parent
26fb869b6f
commit
b9e5277cc6
File diff suppressed because it is too large
Load Diff
|
@ -1,9 +1,5 @@
|
|||
Source: cups
|
||||
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
|
||||
XSBC-Original-Maintainer: Debian Printing Team <debian-printing@lists.debian.org>
|
||||
Uploaders:
|
||||
Till Kamppeter <till.kamppeter@gmail.com>,
|
||||
Thorsten Alteholz <debian@alteholz.de>,
|
||||
Maintainer: OpenKylin Developers <packaging@lists.openkylin.top>
|
||||
Section: net
|
||||
Priority: optional
|
||||
Build-Depends:
|
||||
|
@ -27,15 +23,15 @@ Build-Depends:
|
|||
po4a,
|
||||
zlib1g-dev,
|
||||
libapparmor-dev,
|
||||
libsnapd-glib-dev (>= 1.61),
|
||||
libsnapd-glib-dev,
|
||||
Build-Depends-Arch:
|
||||
dh-apparmor,
|
||||
# libgmp-dev is not GPL-2 compatible before it's 6 release, which makes it also GPL-2+
|
||||
Build-Conflicts:
|
||||
libgmp-dev (<< 2:6),
|
||||
Standards-Version: 4.6.0
|
||||
Vcs-Browser: https://salsa.debian.org/printing-team/cups
|
||||
Vcs-Git: https://salsa.debian.org/printing-team/cups.git
|
||||
Vcs-Browser: https://gitee.com/openkylin/cups
|
||||
Vcs-Git: https://gitee.com/openkylin/cups
|
||||
Homepage: https://github.com/OpenPrinting/cups/
|
||||
Rules-Requires-Root: no
|
||||
|
||||
|
|
|
@ -3,14 +3,14 @@
|
|||
# temporarily deactivate tests
|
||||
export LOCAL_DEB_BUILD_OPTIONS = nocheck
|
||||
|
||||
derives_from_ubuntu := $(shell (dpkg-vendor --derives-from Ubuntu && echo "yes") || echo "no")
|
||||
derives_from_openkylin := $(shell (dpkg-vendor --derives-from openKylin && echo "yes") || echo "no")
|
||||
|
||||
# Enabling PIE globally doesn't work, but ./configure already enables PIE
|
||||
# where necessary.
|
||||
# temporarily deactivate tests
|
||||
export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie
|
||||
|
||||
ifeq ($(shell dpkg-vendor --is Ubuntu && echo yes) $(DEB_HOST_ARCH), yes i386)
|
||||
ifeq ($(shell dpkg-vendor --is openKylin && echo yes) $(DEB_HOST_ARCH), yes i386)
|
||||
skip_packages = -Ncups -Ncups-core-drivers
|
||||
endif
|
||||
|
||||
|
@ -29,7 +29,7 @@ else
|
|||
CONFIG_LIBUSB=--enable-libusb
|
||||
endif
|
||||
|
||||
ifeq ($(derives_from_ubuntu),yes)
|
||||
ifeq ($(derives_from_openkylin),yes)
|
||||
CUPS_CONFIGURE_DISTRO_OPTIONS=--disable-browsing
|
||||
else
|
||||
CUPS_CONFIGURE_DISTRO_OPTIONS=
|
||||
|
|
Loading…
Reference in New Issue