## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: python-irodsclient Version: 2.2.0 Release: %autorelease Summary: A python API for iRODS # SPDX License: BSD-3-Clause URL: https://github.com/irods/python-irodsclient Source: %{pypi_source python-irodsclient} BuildArch: noarch BuildRequires: python3-devel %global common_description %{expand: iRODS (https://www.irods.org/) is an open source distributed data management system. This is a client API implemented in Python.} %description %{common_description} %package -n python3-irodsclient Summary: %{summary} # https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_provides_for_importable_modules %py_provides python3-irods %description -n python3-irodsclient %{common_description} %prep %autosetup -n python-irodsclient-%{version} -p1 # Remove useless shebangs in files that will be installed without executable # permission. The pattern of selecting files before modifying them with sed # keeps us from unnecessarily discarding the original mtimes on unmodified # files. find 'irods' -type f -name '*.py' \ -exec gawk '/^#!/ { print FILENAME }; { nextfile }' '{}' '+' | xargs -r sed -r -i '1{/^#!/d}' %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l irods %check # * The test runner module requires xmlrunner, which is no longer packaged. # * Merely importing ssl_test_client requires configured iRODS credentials. %pyproject_check_import -e irods.test.runner -e irods.test.ssl_test_client # All tests require network access and a valid account on a running iRODS grid. # See irods/test/README.rst. %files -n python3-irodsclient -f %{pyproject_files} %doc CHANGELOG.md %doc README.md %changelog ## START: Generated by rpmautospec * Tue Oct 15 2024 Benjamin A. Beasley - 2.2.0-1 - Update to 2.2.0 (close RHBZ#2318580) * Sun Aug 25 2024 Benjamin A. Beasley - 2.1.0-1 - Initial commit (close RHBZ#2307614) ## END: Generated by rpmautospec