diff --git a/.gitignore b/.gitignore index 0fe5b27..ce523ab 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /python-test-utils-1.3.1.tar.gz /python-test-utils-1.3.2.tar.gz /python-test-utils-1.3.3.tar.gz +/python-test-utils-1.4.0.tar.gz diff --git a/python-google-cloud-testutils.spec b/python-google-cloud-testutils.spec index 1bcb985..0b0cfdc 100644 --- a/python-google-cloud-testutils.spec +++ b/python-google-cloud-testutils.spec @@ -1,11 +1,9 @@ -# F35: Do not update past 1.3.1. F35's protobuf is too old. - # tests are enabled by default %bcond_without tests %global srcname google-cloud-testutils %global forgeurl https://github.com/googleapis/python-test-utils -Version: 1.3.3 +Version: 1.4.0 %global tag v%{version} %forgemeta @@ -20,6 +18,7 @@ Source0: %forgesource BuildArch: noarch BuildRequires: python3-devel +BuildRequires: python3-google-auth %if %{with tests} BuildRequires: python3dist(pytest) @@ -38,27 +37,21 @@ Summary: %{summary} %description -n python3-%{srcname} %{_description} - %prep %forgesetup - %generate_buildrequires %pyproject_buildrequires - %build %pyproject_wheel - %install %pyproject_install %pyproject_save_files test_utils # Remove extra scripts and tests. -rm -rf %{buildroot}%{python3_sitelib}/{scripts,tests} -rm -f %{buildroot}%{_bindir}/lower-bound-checker - +rm %{buildroot}%{_bindir}/lower-bound-checker %check %pyproject_check_import -e "tests*" @@ -69,10 +62,9 @@ rm -f %{buildroot}%{_bindir}/lower-bound-checker %pytest --disable-warnings --ignore tests/unit/test_lower_bound_checker.py %endif - %files -n python3-%{srcname} -f %{pyproject_files} %doc README.rst CHANGELOG.md CODE_OF_CONDUCT.md - +%license LICENSE %changelog %autochangelog diff --git a/sources b/sources index 74d4d5e..ed3872b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-test-utils-1.3.3.tar.gz) = 1d54cf4414a2febc7aa5d3cfb9a1ee3f7ef55d8f19fcae0af81e39bfa506788d867c73c9c1eb075b2ca6c1efae770dc5c5648ce66e3b7a99c96c25f338fc1e5c +SHA512 (python-test-utils-1.4.0.tar.gz) = 912903f1dbdcc28288425aa99674723e8deeaaf594f9cd0d15bd328c12236388c7cb9fd2dc72260ac18df62f2177bf15bfeb9ed7de41e664a397392440859642