## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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-pytest-home Version: 0.5.1 Release: %autorelease Summary: A temporary home directory fixture License: MIT URL: https://github.com/jaraco/pytest-home Source: %{pypi_source pytest-home} BuildArch: noarch BuildRequires: python3-devel # for tests BuildRequires: git-core %global _description %{expand: Configures the home directory to a temporary directory, hiding the user's dotfiles and other home-bound state. Before the fixture is enacted, home resolves to the user's usual home dir.} %description %_description %package -n python3-pytest-home Summary: %{summary} %description -n python3-pytest-home %_description %prep %autosetup -p1 -n pytest-home-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files pytest_home %check mv pytest_home _pytest_home %pytest %files -n python3-pytest-home -f %{pyproject_files} %doc README.* %changelog ## START: Generated by rpmautospec * Fri Jun 07 2024 Python Maint - 0.5.1-2 - Rebuilt for Python 3.13 * Wed Mar 06 2024 Tomáš Hrnčiar - 0.5.1-1 - Initial import (fedora#2268133). ## END: Generated by rpmautospec