diff --git a/.gitignore b/.gitignore index 18a7387..a816d12 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /rpmautospec_core-0.1.0.tar.gz +/rpmautospec_core-0.1.1.tar.gz diff --git a/python-rpmautospec-core.spec b/python-rpmautospec-core.spec index a3dea33..8551fd8 100644 --- a/python-rpmautospec-core.spec +++ b/python-rpmautospec-core.spec @@ -2,7 +2,7 @@ %global canonicalname %{py_dist_name %{srcname}} Name: python-%{canonicalname} -Version: 0.1.0 +Version: 0.1.1 Release: %autorelease Summary: Minimum functionality for rpmautospec @@ -11,10 +11,13 @@ URL: https://github.com/fedora-infra/%{canonicalname} Source0: %{pypi_source %{srcname}} BuildArch: noarch BuildRequires: python3-devel >= 3.6.0 +# The dependencies needed for testing don’t get auto-generated. +BuildRequires: python3dist(pytest) +BuildRequires: python3dist(pytest-cov) BuildRequires: sed %generate_buildrequires -%pyproject_buildrequires -t +%pyproject_buildrequires %global _description %{expand: This package contains minimum functionality to determine if an RPM spec file @@ -40,7 +43,7 @@ Summary: %{summary} sed -i -e 's|^\(.*/LICENSE\)|%%license \1|g' %{pyproject_files} %check -%tox +%pytest %files -n python3-%{canonicalname} -f %{pyproject_files} %doc README.md diff --git a/sources b/sources index e70047e..f493279 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rpmautospec_core-0.1.0.tar.gz) = 47d71cf81d10ca08498abefd6362aa3e0be48aebfb1ad8978546b27ad1a103564463283a236f9df374e073773c61dd0b8a6ed2e60b6349e0a9fd57edf36b82cb +SHA512 (rpmautospec_core-0.1.1.tar.gz) = 0b59d6d5bb7f240b51d31286a7d50ea022fccc86dbceef3434d52a1d21d76f1c8325e331da23fd660183e693cb8c3b6e474b2b8059f7eb2c2276421eca808ef4