Name: python-cram Version: 0.7 Release: 19%{?dist} Summary: Simple testing framework for command line applications License: GPL-2.0-or-later URL: https://bitheap.org/cram/ Source: %{pypi_source cram} BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: Cram is a functional testing framework for command line applications. Cram tests look like snippets of interactive shell sessions. Cram runs each command and compares the command output in the test with the command's actual output.} %description %_description %package -n python3-cram Summary: %{summary} %description -n python3-cram %_description %prep %autosetup -n cram-%{version} # Fix shebang in script for tests %py3_shebang_fix scripts/cram %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files cram %check # dist.t needs check-manifest which isn't packaged # pep8.t needs pep8 which has been retired PYTHONPATH=%{buildroot}%{python3_sitelib} PYTHON=%python3 scripts/cram -v tests %files -n python3-cram -f %{pyproject_files} %doc NEWS.rst README.rst TODO.md %{_bindir}/cram %changelog * Fri Jan 26 2024 Fedora Release Engineering - 0.7-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.7-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 27 2023 Carl George - 0.7-17 - Convert to pyproject macros - Switch to SPDX license identifier - Rebuild for Python 3.12, resolves rhbz#2226174 * Fri Jul 21 2023 Fedora Release Engineering - 0.7-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 20 2023 Python Maint - 0.7-15 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.7-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.7-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.7-12 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.7-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.7-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.7-9 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.7-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.7-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.7-6 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.7-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Nov 23 2019 Orion Poplawski - 0.7-4 - Fix cram shebang * Fri Nov 22 2019 Orion Poplawski - 0.7-3 - Fix license (GPLv2+) * Thu Nov 21 2019 Orion Poplawski - 0.7-2 - Run tests properly in mock * Thu Nov 21 2019 Orion Poplawski - 0.7-1 - Update to 0.7 * Thu Oct 03 2019 Miro Hrončok - 0.6-22 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.6-21 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.6-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.6-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek - 0.6-18 - Subpackage python2-cram has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Fri Jul 13 2018 Fedora Release Engineering - 0.6-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.6-16 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 0.6-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.6-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.6-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 0.6-12 - Rebuild for Python 3.6 * Tue Jul 19 2016 Fedora Release Engineering - 0.6-11 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Thu Feb 04 2016 Fedora Release Engineering - 0.6-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Dec 07 2015 Ken Dreyer - 0.6-9 - Use %%{summary} macro in py2/py3 subpackages (thanks zbyszek@in.waw.pl) (rhbz#1179484) - Drop old py3 minimum version numbers (thanks zbyszek@in.waw.pl) (rhbz#1179484) * Mon Dec 07 2015 Ken Dreyer - 0.6-8 - BR: python2-devel instead of python-devel (thanks zbyszek@in.waw.pl) (rhbz#1179484) - rm Group tag from py3 subpackage (thanks zbyszek@in.waw.pl) (rhbz#1179484) - Only package a single executable, /usr/bin/cram (thanks zbyszek@in.waw.pl) (rhbz#1179484) * Sun Dec 06 2015 Ken Dreyer - 0.6-7 - Correct Summary for python3-cram subpackage (thanks zbyszek@in.waw.pl) (rhbz#1179484) - rm py3dir macro (thanks zbyszek@in.waw.pl) (rhbz#1179484) * Sun Dec 06 2015 Ken Dreyer - 0.6-6 - Update for latest Python packaging guidelines (thanks zbyszek@in.waw.pl) (rhbz#1179484) - rm Group tag - drop support for el6 * Sat Apr 04 2015 Ken Dreyer - 0.6-5 - Use %%license macro (RHBZ #1179484) * Thu Jan 08 2015 Ken Dreyer - 0.6-4 - Correct License tag (RHBZ #1179484) * Wed Jan 07 2015 Ken Dreyer - 0.6-3 - Do not ship examples files in package. These are more like test files. (RHBZ #1179484) * Tue Jan 06 2015 Ken Dreyer - 0.6-2 - Fix bad copy-and-paste for %%description in python3 subpackage - Fix shebangs to satisfy rpmlint's non-executable-script errors * Tue Jan 06 2015 Ken Dreyer - 0.6-1 - initial package