Drop py3dir

Drop obsolete dependency on python-gflags
This commit is contained in:
Orion Poplawski 2019-10-26 21:09:14 -06:00
parent c35c14c91f
commit 5f4347c41c
2 changed files with 7 additions and 15 deletions

View File

@ -9,8 +9,8 @@ diff -up oauth2client-3.0.0/docs/conf.py.doc oauth2client-3.0.0/docs/conf.py
-version = distro.version
-release = distro.version
+#distro = get_distribution('oauth2client')
+version = '4.1.2'
+release = '4.1.2'
+version = '4.1.3'
+release = '4.1.3'
exclude_patterns = ['_build']

View File

@ -5,7 +5,7 @@
Name: python-%{srcname}
Version: 4.1.3
Release: 7%{?dist}
Release: 8%{?dist}
Summary: %{sum}
License: ASL 2.0
@ -35,7 +35,6 @@ Summary: %{sum}
%{?python_provide:%python_provide python3-%{srcname}}
Requires: python3-pyOpenSSL
Requires: python3-gflags
Requires: python3-fasteners
%description -n python3-%{srcname}
@ -59,25 +58,14 @@ rm -f docs/source/oauth2client.contrib.appengine.rst oauth2client/appengine.py
# Remove keyring support
rm oauth2client/contrib/keyring_storage.py tests/contrib/test_keyring_storage.py docs/source/oauth2client.contrib.keyring_storage.rst
rm -rf %{py3dir}
cp -a . %{py3dir}
%build
pushd %{py3dir}
%py3_build
%install
pushd %{py3dir}
%py3_install
popd
%check
pushd %{py3dir}
#tox -v --sitepackages -e py%%{python3_version_nodots}
popd
# We remove tests currently, we will ship them eventually
# This is a bit of a hack until I package the test scripts in a separate package
@ -91,6 +79,10 @@ rm -r $(find %{_buildrootdir} -type d -name 'tests') || /bin/true
%{python3_sitelib}/%{srcname}*.egg-info
%changelog
* Sat Oct 26 2019 Orion Poplawski <orion@nwra.com> - 4.1.3-8
- Drop py3dir
- Drop obsolete dependency on python-gflags
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 4.1.3-7
- Rebuilt for Python 3.8.0rc1 (#1748018)