Drop py3dir
Drop obsolete dependency on python-gflags
This commit is contained in:
parent
c35c14c91f
commit
5f4347c41c
@ -9,8 +9,8 @@ diff -up oauth2client-3.0.0/docs/conf.py.doc oauth2client-3.0.0/docs/conf.py
|
|||||||
-version = distro.version
|
-version = distro.version
|
||||||
-release = distro.version
|
-release = distro.version
|
||||||
+#distro = get_distribution('oauth2client')
|
+#distro = get_distribution('oauth2client')
|
||||||
+version = '4.1.2'
|
+version = '4.1.3'
|
||||||
+release = '4.1.2'
|
+release = '4.1.3'
|
||||||
|
|
||||||
exclude_patterns = ['_build']
|
exclude_patterns = ['_build']
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
Name: python-%{srcname}
|
Name: python-%{srcname}
|
||||||
Version: 4.1.3
|
Version: 4.1.3
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
Summary: %{sum}
|
Summary: %{sum}
|
||||||
|
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
@ -35,7 +35,6 @@ Summary: %{sum}
|
|||||||
%{?python_provide:%python_provide python3-%{srcname}}
|
%{?python_provide:%python_provide python3-%{srcname}}
|
||||||
|
|
||||||
Requires: python3-pyOpenSSL
|
Requires: python3-pyOpenSSL
|
||||||
Requires: python3-gflags
|
|
||||||
Requires: python3-fasteners
|
Requires: python3-fasteners
|
||||||
|
|
||||||
%description -n python3-%{srcname}
|
%description -n python3-%{srcname}
|
||||||
@ -59,25 +58,14 @@ rm -f docs/source/oauth2client.contrib.appengine.rst oauth2client/appengine.py
|
|||||||
# Remove keyring support
|
# Remove keyring support
|
||||||
rm oauth2client/contrib/keyring_storage.py tests/contrib/test_keyring_storage.py docs/source/oauth2client.contrib.keyring_storage.rst
|
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
|
%build
|
||||||
|
|
||||||
pushd %{py3dir}
|
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
pushd %{py3dir}
|
|
||||||
%py3_install
|
%py3_install
|
||||||
popd
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
|
||||||
pushd %{py3dir}
|
|
||||||
#tox -v --sitepackages -e py%%{python3_version_nodots}
|
#tox -v --sitepackages -e py%%{python3_version_nodots}
|
||||||
popd
|
|
||||||
|
|
||||||
# We remove tests currently, we will ship them eventually
|
# 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
|
# 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
|
%{python3_sitelib}/%{srcname}*.egg-info
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 4.1.3-7
|
||||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user