Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9a7bced9ad | ||
|
|
2271262b57 | ||
|
|
10d56bc2c4 |
||
|
|
14362dd7a8 |
4 changed files with 22 additions and 9 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -3,3 +3,4 @@
|
|||
/python-test-utils-1.3.2.tar.gz
|
||||
/python-test-utils-1.3.3.tar.gz
|
||||
/python-test-utils-1.4.0.tar.gz
|
||||
/google-cloud-testutils-1.7.1.tar.gz
|
||||
|
|
|
|||
15
generate-tarball.sh
Executable file
15
generate-tarball.sh
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
VERSION=${1:?Usage: $0 <version>}
|
||||
TAG="google-cloud-testutils-v${VERSION}"
|
||||
workdir=$(mktemp -d)
|
||||
|
||||
trap 'rm -rf "${workdir}"' EXIT
|
||||
|
||||
git clone --depth 1 --branch "${TAG}" \
|
||||
https://github.com/googleapis/google-cloud-python "${workdir}/repo"
|
||||
|
||||
tar czf "google-cloud-testutils-${VERSION}.tar.gz" \
|
||||
--transform "s,^repo/packages/google-cloud-testutils,google-cloud-testutils-${VERSION}," \
|
||||
-C "${workdir}" repo/packages/google-cloud-testutils
|
||||
|
|
@ -2,18 +2,15 @@
|
|||
%bcond_without tests
|
||||
|
||||
%global srcname google-cloud-testutils
|
||||
%global forgeurl https://github.com/googleapis/python-test-utils
|
||||
Version: 1.4.0
|
||||
%global tag v%{version}
|
||||
%forgemeta
|
||||
|
||||
Name: python-%{srcname}
|
||||
Version: 1.7.1
|
||||
Release: %autorelease
|
||||
Summary: Python test utilities for Google Cloud APIs
|
||||
|
||||
License: Apache-2.0
|
||||
URL: %forgeurl
|
||||
Source0: %forgesource
|
||||
URL: https://github.com/googleapis/google-cloud-python
|
||||
Source0: %{srcname}-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
|
|
@ -38,7 +35,7 @@ Summary: %{summary}
|
|||
%description -n python3-%{srcname} %{_description}
|
||||
|
||||
%prep
|
||||
%forgesetup
|
||||
%autosetup -n %{srcname}-%{version}
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires
|
||||
|
|
@ -63,7 +60,7 @@ rm %{buildroot}%{_bindir}/lower-bound-checker
|
|||
%endif
|
||||
|
||||
%files -n python3-%{srcname} -f %{pyproject_files}
|
||||
%doc README.rst CHANGELOG.md CODE_OF_CONDUCT.md
|
||||
%doc README.rst CHANGELOG.md
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (python-test-utils-1.4.0.tar.gz) = 912903f1dbdcc28288425aa99674723e8deeaaf594f9cd0d15bd328c12236388c7cb9fd2dc72260ac18df62f2177bf15bfeb9ed7de41e664a397392440859642
|
||||
SHA512 (google-cloud-testutils-1.7.1.tar.gz) = a0d7c1b3220bd5f97f2cfc363e67551da5428d0788679c5c9178dbf03d3a7351e78aa2a8aad0bfa159d4016a6bf1893696199ccb18818b412653f503e3447014
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue