# # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. # You may only use this file in accordance with the terms of version # 1.0 of the CDDL. # # A full copy of the text of the CDDL should have accompanied this # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # # Copyright 2022 Marcel Telka # %patch% 01-no-shebang.patch %hook-no-license% # The license does not match any SPDX license. LICENSE="BSD-like" %hook-manifest% # Do not generate dependencies on pkg_resources for usr/bin files otherwise we would end with duplicate dependencies on setuptools. printf ' add pkg.depend.bypass-generate .*/pkg_resources.* >\n' >> "$DISTRIBUTION-PYVER.p5m"