D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/pyff-2.0.0-5.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.5VV8vI Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.LQB1kW + umask 022 + cd /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build + rm -rf pyFF-2.0.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/pyFF-2.0.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pyFF-2.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.YyBbpM + umask 022 + cd /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build + cd pyFF-2.0.0 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + for f in pyproject.toml setup.py setup.cfg + '[' -f pyproject.toml ']' + for f in pyproject.toml setup.py setup.cfg + '[' -f setup.py ']' + sed -i -E -e '/^requires/s/(['\''"]\s*flit_core\s*>=\s*[0-9]+(\.[0-9]+)+)\s*,\s*<\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\4/' setup.py + sed -i -E -e '/python_requires/s/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/' setup.py + sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9a-z]+)*)\s*,\s*(<|!=|<=)\s*[0-9]+(\.[0-9a-z]+)*(-?dev[0-9]*)?(\.\*)*(\s*['\''"]?)/\1\7/g' setup.py + sed -i -E -e 's/(['\''"]\w+\s*)!=(\s*([0-9])+(\.[0-9]+)*\s*['\''"])/\1>\2/g' setup.py + sed -i -E -e 's/(['\''"]\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\5/g' setup.py + sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/g' setup.py + sed -i -E -e 's/(['\''"]\s*)\^(\s*[0-9]+(\.[0-9]+)*\s*['\''"])/\1>=\2/g' setup.py + sed -i -e 's/~=/>=/g' setup.py + sed -i -E -e 's/(['\''"]\s*\S*\s*)==(\s*[0-9]+(\.[0-9]+)*)\.\*(\s*['\''"])/\1>=\2\4/g' setup.py + sed -i -E -e 's/(['\''"]?\w*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)[0-9]+(\.[0-9]+)*\s*(['\''"]?)/\1\5/g' setup.py + for f in pyproject.toml setup.py setup.cfg + '[' -f setup.cfg ']' + sed -i -E -e '/^requires/s/(['\''"]\s*flit_core\s*>=\s*[0-9]+(\.[0-9]+)+)\s*,\s*<\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\4/' setup.cfg + sed -i -E -e '/python_requires/s/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/' setup.cfg + sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9a-z]+)*)\s*,\s*(<|!=|<=)\s*[0-9]+(\.[0-9a-z]+)*(-?dev[0-9]*)?(\.\*)*(\s*['\''"]?)/\1\7/g' setup.cfg + sed -i -E -e 's/(['\''"]\w+\s*)!=(\s*([0-9])+(\.[0-9]+)*\s*['\''"])/\1>\2/g' setup.cfg + sed -i -E -e 's/(['\''"]\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\5/g' setup.cfg + sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/g' setup.cfg + sed -i -E -e 's/(['\''"]\s*)\^(\s*[0-9]+(\.[0-9]+)*\s*['\''"])/\1>=\2/g' setup.cfg + sed -i -e 's/~=/>=/g' setup.cfg + sed -i -E -e 's/(['\''"]\s*\S*\s*)==(\s*[0-9]+(\.[0-9]+)*)\.\*(\s*['\''"])/\1>=\2\4/g' setup.cfg + sed -i -E -e 's/(['\''"]?\w*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)[0-9]+(\.[0-9]+)*\s*(['\''"]?)/\1\5/g' setup.cfg + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/pyFF-2.0.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + CXX=g++ + TMPDIR=/home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/pyFF-2.0.0/.pyproject-builddir + RPM_TOXENV=py313 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/pyFF-2.0.0/pyproject-wheeldir --output /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/pyff-2.0.0-5.mga10.noarch-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 78.1.0) /usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) /usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'test_suite' warnings.warn(msg) warning: no files found matching '*.js' under directory 'src/pyff' warning: no files found matching '*.css' under directory 'src/pyff' warning: no files found matching '*.html' under directory 'src/pyff' warning: no files found matching '*.xrd' under directory 'src/pyff' warning: no files found matching '*.po' under directory 'src/pyff' warning: no files found matching '*pot' under directory 'src/pyff' warning: no files found matching '*.js' under directory 'src/pyff' warning: no files found matching '*.css' under directory 'src/pyff' warning: no files found matching '*.html' under directory 'src/pyff' warning: no files found matching '*.xrd' under directory 'src/pyff' warning: no files found matching '*.po' under directory 'src/pyff' warning: no files found matching '*pot' under directory 'src/pyff' Handling mako from hook generated metadata: Requires-Dist (pyFF) Requirement satisfied: mako (installed: mako 1.3.9) Handling lxml>=4.1.1 from hook generated metadata: Requires-Dist (pyFF) Requirement satisfied: lxml>=4.1.1 (installed: lxml 5.3.2) Handling pyyaml>=3.10 from hook generated metadata: Requires-Dist (pyFF) Requirement satisfied: pyyaml>=3.10 (installed: pyyaml 6.0.1) Handling pyXMLSecurity>=0.15 from hook generated metadata: Requires-Dist (pyFF) Requirement satisfied: pyXMLSecurity>=0.15 (installed: pyXMLSecurity 1.0.0) Handling iso8601>=0.1.4 from hook generated metadata: Requires-Dist (pyFF) Requirement satisfied: iso8601>=0.1.4 (installed: iso8601 2.1.0) Handling simplejson>=2.6.2 from hook generated metadata: Requires-Dist (pyFF) Requirement satisfied: simplejson>=2.6.2 (installed: simplejson 3.19.3) Handling httplib2>=0.7.7 from hook generated metadata: Requires-Dist (pyFF) Requirement satisfied: httplib2>=0.7.7 (installed: httplib2 0.22.0) Handling six>=1.11.0 from hook generated metadata: Requires-Dist (pyFF) Requirement satisfied: six>=1.11.0 (installed: six 1.16.0) Handling ipaddr from hook generated metadata: Requires-Dist (pyFF) Requirement satisfied: ipaddr (installed: ipaddr 2.2.0) Handling redis-collections from hook generated metadata: Requires-Dist (pyFF) Requirement satisfied: redis-collections (installed: redis-collections 0.11.0) Handling redis from hook generated metadata: Requires-Dist (pyFF) Requirement satisfied: redis (installed: redis 5.2.1) Handling requests from hook generated metadata: Requires-Dist (pyFF) Requirement satisfied: requests (installed: requests 2.32.3) Handling requests_cache from hook generated metadata: Requires-Dist (pyFF) Requirement satisfied: requests_cache (installed: requests_cache 1.2.0) Handling requests_file from hook generated metadata: Requires-Dist (pyFF) Requirement satisfied: requests_file (installed: requests_file 2.0.0) Handling pyconfig from hook generated metadata: Requires-Dist (pyFF) Requirement satisfied: pyconfig (installed: pyconfig 3.2.3) Handling pyyaml from hook generated metadata: Requires-Dist (pyFF) Requirement satisfied: pyyaml (installed: pyyaml 6.0.1) Handling whoosh from hook generated metadata: Requires-Dist (pyFF) Requirement satisfied: whoosh (installed: whoosh 2.7.4) Handling pyramid from hook generated metadata: Requires-Dist (pyFF) Requirement satisfied: pyramid (installed: pyramid 2.0.2) Handling accept_types>=0.4.1 from hook generated metadata: Requires-Dist (pyFF) Requirement satisfied: accept_types>=0.4.1 (installed: accept_types 0.4.1) Handling apscheduler from hook generated metadata: Requires-Dist (pyFF) Requirement satisfied: apscheduler (installed: apscheduler 3.10.4) Handling cachetools from hook generated metadata: Requires-Dist (pyFF) Requirement satisfied: cachetools (installed: cachetools 5.5.2) Handling xmldiff from hook generated metadata: Requires-Dist (pyFF) Requirement satisfied: xmldiff (installed: xmldiff 2.4) Handling gunicorn from hook generated metadata: Requires-Dist (pyFF) Requirement satisfied: gunicorn (installed: gunicorn 23.0.0) + cat /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/pyff-2.0.0-5.mga10.noarch-pyproject-buildrequires + rm -rfv pyff-2.0.0.dist-info/ removed 'pyff-2.0.0.dist-info/entry_points.txt' removed 'pyff-2.0.0.dist-info/top_level.txt' removed 'pyff-2.0.0.dist-info/METADATA' removed 'pyff-2.0.0.dist-info/licenses/LICENSE.txt' removed directory 'pyff-2.0.0.dist-info/licenses' removed directory 'pyff-2.0.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.muizJj + umask 022 + cd /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pyFF-2.0.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/pyFF-2.0.0/.pyproject-builddir + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + CXX=g++ + TMPDIR=/home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/pyFF-2.0.0/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/pyFF-2.0.0/pyproject-wheeldir Processing /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/pyFF-2.0.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) /usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) /usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'test_suite' warnings.warn(msg) warning: no files found matching '*.js' under directory 'src/pyff' warning: no files found matching '*.css' under directory 'src/pyff' warning: no files found matching '*.html' under directory 'src/pyff' warning: no files found matching '*.xrd' under directory 'src/pyff' warning: no files found matching '*.po' under directory 'src/pyff' warning: no files found matching '*pot' under directory 'src/pyff' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: pyFF Building wheel for pyFF (pyproject.toml): started Running command Building wheel for pyFF (pyproject.toml) /usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) /usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'test_suite' warnings.warn(msg) warning: no files found matching '*.js' under directory 'src/pyff' warning: no files found matching '*.css' under directory 'src/pyff' warning: no files found matching '*.html' under directory 'src/pyff' warning: no files found matching '*.xrd' under directory 'src/pyff' warning: no files found matching '*.po' under directory 'src/pyff' warning: no files found matching '*pot' under directory 'src/pyff' /usr/lib/python3.13/site-packages/setuptools/command/build_py.py:212: _Warning: Package 'pyff.schema' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'pyff.schema' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'pyff.schema' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'pyff.schema' to be distributed and are already explicitly excluding 'pyff.schema' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) /usr/lib/python3.13/site-packages/setuptools/command/build_py.py:212: _Warning: Package 'pyff.test.data.images' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'pyff.test.data.images' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'pyff.test.data.images' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'pyff.test.data.images' to be distributed and are already explicitly excluding 'pyff.test.data.images' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) /usr/lib/python3.13/site-packages/setuptools/command/build_py.py:212: _Warning: Package 'pyff.xslt' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'pyff.xslt' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'pyff.xslt' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'pyff.xslt' to be distributed and are already explicitly excluding 'pyff.xslt' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) Building wheel for pyFF (pyproject.toml): finished with status 'done' Created wheel for pyFF: filename=pyff-2.0.0-py3-none-any.whl size=167995 sha256=a9a1e144c6ed88690fb7389e5fc052267f1d474bc7c470f7cdc194de21ad0485 Stored in directory: /home/pterjan/.cache/pip/wheels/59/ad/86/f624d3a2387eb1f697c2f31d9007b2bf5745ec45d26a54d26d Successfully built pyFF + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.OMzHdw + umask 022 + cd /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build + mkdir /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pyFF-2.0.0 + '[' 1 -eq 1 ']' ++ ls /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/pyFF-2.0.0/pyproject-wheeldir/pyff-2.0.0-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=pyff==2.0.0 + '[' -z pyff==2.0.0 ']' + TMPDIR=/home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/pyFF-2.0.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/BUILDROOT --prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/pyFF-2.0.0/pyproject-wheeldir pyff==2.0.0 Using pip 25.0.1 from /usr/lib/python3.13/site-packages/pip (python 3.13) Looking in links: /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/pyFF-2.0.0/pyproject-wheeldir Processing ./pyproject-wheeldir/pyff-2.0.0-py3-none-any.whl Installing collected packages: pyff changing mode of /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/BUILDROOT/usr/bin/pyff to 755 changing mode of /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/BUILDROOT/usr/bin/pyffd to 755 changing mode of /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/BUILDROOT/usr/bin/samldiff to 755 Successfully installed pyff-2.0.0 + '[' -d /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/BUILDROOT/usr/bin ']' + '[' -z sP ']' + shebang_flags=-kasP + /usr/bin/python3 -B /usr/lib/rpm/redhat/pathfix.py -pni /usr/bin/python3 -kasP /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/BUILDROOT/usr/bin/mirror-mdq.sh /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/BUILDROOT/usr/bin/pyff /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/BUILDROOT/usr/bin/pyffd /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/BUILDROOT/usr/bin/samldiff /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/BUILDROOT/usr/bin/mirror-mdq.sh: no change /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/BUILDROOT/usr/bin/pyff: updating /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/BUILDROOT/usr/bin/pyffd: updating /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/BUILDROOT/usr/bin/samldiff: updating + rm -rfv /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/BUILDROOT/usr/bin/__pycache__ + rm -f /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/pyff-2.0.0-5.mga10.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + site_dirs+=("/usr/lib/python3.13/site-packages") + '[' /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/BUILDROOT/usr/lib64/python3.13/site-packages '!=' /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + '[' -d /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/BUILDROOT/usr/lib64/python3.13/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.13/site-packages/pyff-2.0.0.dist-info' + sed -i s/pip/rpm/ /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pyff-2.0.0.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/BUILDROOT --record /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pyff-2.0.0.dist-info/RECORD --output /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/pyff-2.0.0-5.mga10.noarch-pyproject-record + rm -fv /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pyff-2.0.0.dist-info/RECORD removed '/home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pyff-2.0.0.dist-info/RECORD' + rm -fv /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pyff-2.0.0.dist-info/REQUESTED removed '/home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pyff-2.0.0.dist-info/REQUESTED' ++ wc -l /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/pyff-2.0.0-5.mga10.noarch-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + RPM_FILES_ESCAPE=4.19 + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/pyff-2.0.0-5.mga10.noarch-pyproject-files --output-modules /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/pyff-2.0.0-5.mga10.noarch-pyproject-modules --buildroot /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/BUILDROOT --sitelib /usr/lib/python3.13/site-packages --sitearch /usr/lib64/python3.13/site-packages --python-version 3.13 --pyproject-record /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/pyff-2.0.0-5.mga10.noarch-pyproject-record --prefix /usr pyff + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/mirror-mdq.sh from /bin/bash to #!/usr/bin/bash + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 Bytecompiling .py files below /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/BUILDROOT/usr/lib/python3.13 using python3.13 Not clamping source mtimes, $SOURCE_DATE_EPOCH not set /usr/lib/python3.13/site-packages/pyff/builtins.py:37: SyntaxWarning: invalid escape sequence '\s' /usr/lib/python3.13/site-packages/pyff/builtins.py:1430: SyntaxWarning: invalid escape sequence '\+' /usr/lib/python3.13/site-packages/pyff/builtins.py:1476: SyntaxWarning: invalid escape sequence '\s' /usr/lib/python3.13/site-packages/pyff/builtins.py:1477: SyntaxWarning: invalid escape sequence '\s' /usr/lib/python3.13/site-packages/pyff/store.py:709: SyntaxWarning: invalid escape sequence '\S' /usr/lib/python3.13/site-packages/pyff/store.py:710: SyntaxWarning: invalid escape sequence '\S' /usr/lib/python3.13/site-packages/pyff/builtins.py:37: SyntaxWarning: invalid escape sequence '\s' /usr/lib/python3.13/site-packages/pyff/utils.py:362: SyntaxWarning: invalid escape sequence '\d' /usr/lib/python3.13/site-packages/pyff/builtins.py:1430: SyntaxWarning: invalid escape sequence '\+' /usr/lib/python3.13/site-packages/pyff/builtins.py:1476: SyntaxWarning: invalid escape sequence '\s' /usr/lib/python3.13/site-packages/pyff/builtins.py:1477: SyntaxWarning: invalid escape sequence '\s' /usr/lib/python3.13/site-packages/pyff/store.py:709: SyntaxWarning: invalid escape sequence '\S' /usr/lib/python3.13/site-packages/pyff/store.py:710: SyntaxWarning: invalid escape sequence '\S' /usr/lib/python3.13/site-packages/pyff/utils.py:362: SyntaxWarning: invalid escape sequence '\d' + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: pyff-2.0.0-5.mga10.noarch Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.smApD1 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build + cd pyFF-2.0.0 + DOCDIR=/home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/BUILDROOT/usr/share/doc/pyff + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/BUILDROOT/usr/share/doc/pyff + cp -pr /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/pyFF-2.0.0/NEWS.txt /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/BUILDROOT/usr/share/doc/pyff + cp -pr /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/pyFF-2.0.0/README.rst /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/BUILDROOT/usr/share/doc/pyff + cp -pr /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/pyFF-2.0.0/examples /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/BUILDROOT/usr/share/doc/pyff + RPM_EC=0 ++ jobs -p + exit 0 Provides: pyff = 2.0.0-5.mga10 python3.13dist(pyff) = 2 python3dist(pyff) = 2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.13 python3.13dist(accept-types) >= 0.4.1 python3.13dist(apscheduler) python3.13dist(cachetools) python3.13dist(gunicorn) python3.13dist(httplib2) >= 0.7.7 python3.13dist(ipaddr) python3.13dist(iso8601) >= 0.1.4 python3.13dist(lxml) >= 4.1.1 python3.13dist(mako) python3.13dist(pyconfig) python3.13dist(pyramid) python3.13dist(pyxmlsecurity) >= 0.15 python3.13dist(pyyaml) >= 3.10 python3.13dist(redis) python3.13dist(redis-collections) python3.13dist(requests) python3.13dist(requests-cache) python3.13dist(requests-file) python3.13dist(simplejson) >= 2.6.2 python3.13dist(six) >= 1.11 python3.13dist(whoosh) python3.13dist(xmldiff) Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/pyff-2.0.0-5.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.RDDTxc + umask 022 + cd /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build + test -d /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build + rm -rf /home/pterjan/rpmbuild/BUILD/pyff-2.0.0-build + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!