Group :: Development/Python3
RPM: python3-module-pifpaf
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define oname pifpaf
Summary: Suite of tools and fixtures to manage daemons for testing
Name: python3-module-%oname
Version: 3.1.5
Release: alt1
Url: https://pypi.org/project/pifpaf
Source: %oname-%version.tar.gz
License: Apache-2.0
Group: Development/Python3
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-pbr
BuildRequires: python3-module-cliff
BuildRequires: python3-module-jinja2
BuildRequires: python3-module-six
BuildRequires: python3-module-fixtures
%add_python3_req_skip swift.common
%description
Pifpaf is a suite of fixtures and a command-line tool that allows to start
and stop daemons for a quick throw-away usage. This is typically useful when
needing these daemons to run integration testing. It originaly evolved from
its precussor overtest.
%package tests
Summary: Tests for %oname
Group: Development/Python3
Requires: %name = %EVR
%description tests
This package contains tests for %oname.
%prep
%setup -n %oname-%version
%build
export LANG=en_US.UTF-8
%python3_build
%install
export LANG=en_US.UTF-8
%python3_install
%files
%doc README.rst
%_bindir/pifpaf
%python3_sitelibdir/*
%exclude %python3_sitelibdir/*/tests
%files tests
%python3_sitelibdir/*/tests
%changelog
…
Todas as alterações você pod ver aqui
Summary: Suite of tools and fixtures to manage daemons for testing
Name: python3-module-%oname
Version: 3.1.5
Release: alt1
Url: https://pypi.org/project/pifpaf
Source: %oname-%version.tar.gz
License: Apache-2.0
Group: Development/Python3
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-pbr
BuildRequires: python3-module-cliff
BuildRequires: python3-module-jinja2
BuildRequires: python3-module-six
BuildRequires: python3-module-fixtures
%add_python3_req_skip swift.common
%description
Pifpaf is a suite of fixtures and a command-line tool that allows to start
and stop daemons for a quick throw-away usage. This is typically useful when
needing these daemons to run integration testing. It originaly evolved from
its precussor overtest.
%package tests
Summary: Tests for %oname
Group: Development/Python3
Requires: %name = %EVR
%description tests
This package contains tests for %oname.
%prep
%setup -n %oname-%version
%build
export LANG=en_US.UTF-8
%python3_build
%install
export LANG=en_US.UTF-8
%python3_install
%files
%doc README.rst
%_bindir/pifpaf
%python3_sitelibdir/*
%exclude %python3_sitelibdir/*/tests
%files tests
%python3_sitelibdir/*/tests
%changelog
…
Todas as alterações você pod ver aqui