build(rules): 去除rules标记

This commit is contained in:
jiangdingyuan 2023-10-26 10:51:11 +08:00 committed by openkylin-cibot
parent 26fb869b6f
commit b9e5277cc6
3 changed files with 10 additions and 9232 deletions

9224
debian/changelog vendored

File diff suppressed because it is too large Load Diff

12
debian/control vendored
View File

@ -1,9 +1,5 @@
Source: cups Source: cups
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> Maintainer: OpenKylin Developers <packaging@lists.openkylin.top>
XSBC-Original-Maintainer: Debian Printing Team <debian-printing@lists.debian.org>
Uploaders:
Till Kamppeter <till.kamppeter@gmail.com>,
Thorsten Alteholz <debian@alteholz.de>,
Section: net Section: net
Priority: optional Priority: optional
Build-Depends: Build-Depends:
@ -27,15 +23,15 @@ Build-Depends:
po4a, po4a,
zlib1g-dev, zlib1g-dev,
libapparmor-dev, libapparmor-dev,
libsnapd-glib-dev (>= 1.61), libsnapd-glib-dev,
Build-Depends-Arch: Build-Depends-Arch:
dh-apparmor, dh-apparmor,
# libgmp-dev is not GPL-2 compatible before it's 6 release, which makes it also GPL-2+ # libgmp-dev is not GPL-2 compatible before it's 6 release, which makes it also GPL-2+
Build-Conflicts: Build-Conflicts:
libgmp-dev (<< 2:6), libgmp-dev (<< 2:6),
Standards-Version: 4.6.0 Standards-Version: 4.6.0
Vcs-Browser: https://salsa.debian.org/printing-team/cups Vcs-Browser: https://gitee.com/openkylin/cups
Vcs-Git: https://salsa.debian.org/printing-team/cups.git Vcs-Git: https://gitee.com/openkylin/cups
Homepage: https://github.com/OpenPrinting/cups/ Homepage: https://github.com/OpenPrinting/cups/
Rules-Requires-Root: no Rules-Requires-Root: no

6
debian/rules vendored
View File

@ -3,14 +3,14 @@
# temporarily deactivate tests # temporarily deactivate tests
export LOCAL_DEB_BUILD_OPTIONS = nocheck 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 # Enabling PIE globally doesn't work, but ./configure already enables PIE
# where necessary. # where necessary.
# temporarily deactivate tests # temporarily deactivate tests
export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie 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 skip_packages = -Ncups -Ncups-core-drivers
endif endif
@ -29,7 +29,7 @@ else
CONFIG_LIBUSB=--enable-libusb CONFIG_LIBUSB=--enable-libusb
endif endif
ifeq ($(derives_from_ubuntu),yes) ifeq ($(derives_from_openkylin),yes)
CUPS_CONFIGURE_DISTRO_OPTIONS=--disable-browsing CUPS_CONFIGURE_DISTRO_OPTIONS=--disable-browsing
else else
CUPS_CONFIGURE_DISTRO_OPTIONS= CUPS_CONFIGURE_DISTRO_OPTIONS=