## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## 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 %global pypi_name extractcode-7z-system-provided %global pypi_name_with_underscore %(echo "%{pypi_name}" | sed "s/-/_/g") %global wheel_name extractcode-7z %global wheel_name_with_underscore %(echo "%{wheel_name}" | sed "s/-/_/g") Name: python-%{wheel_name} Version: 33.0.1 Release: %autorelease Summary: ScanCode Toolkit plugin to use pre-installed 7zip executables # LICENSE.txt is only if we bundle License: Apache-2.0 URL: https://github.com/aboutcode-org/scancode-plugins Source: %{pypi_source %{pypi_name_with_underscore}} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(plugincode) %global common_description %{expand: The path of 7zip is either determined by distro data or explicitily taken from EXTRACTCODE_7Z_PATH environment variable.} %description %{common_description} %package -n python3-%{wheel_name} Summary: %{summary} Requires: p7zip-plugins %description -n python3-%{wheel_name} %{common_description} %prep %autosetup -p1 -n %{pypi_name_with_underscore}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{wheel_name_with_underscore} %check %pyproject_check_import %files -n python3-%{wheel_name} -f %{pyproject_files} %doc README.rst %changelog ## START: Generated by rpmautospec * Tue Sep 16 2025 Robert-André Mauchin - 33.0.1-1 - Update to 33.0.1 * Fri Aug 15 2025 Python Maint - 21.5.31-10 - Rebuilt for Python 3.14.0rc2 bytecode * Fri Jul 25 2025 Fedora Release Engineering - 21.5.31-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Wed Jun 11 2025 Python Maint - 21.5.31-8 - Rebuilt for Python 3.14 * Wed May 14 2025 Nils Philippsen - 21.5.31-7 - Cope with 7zip * Sat Jan 18 2025 Fedora Release Engineering - 21.5.31-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Fri Jul 19 2024 Fedora Release Engineering - 21.5.31-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 21.5.31-4 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 21.5.31-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 21.5.31-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Oct 29 2023 Robert-André Mauchin - 21.5.31-1 - Initial import ## END: Generated by rpmautospec