Update package responses of version 0.18.0

This commit is contained in:
han-guangyu 2022-05-19 01:27:18 +00:00
parent 12a702ef22
commit b6c1ce06ad
3 changed files with 8 additions and 6 deletions

View File

@ -1,12 +1,11 @@
%global _empty_manifest_terminate_build 0
%global __requires_exclude cookies
Name: python-responses
Version: 0.12.1
Version: 0.18.0
Release: 1
Summary: A utility library for mocking out the `requests` Python library.
License: Apache-2.0
URL: https://github.com/getsentry/responses
Source0: https://files.pythonhosted.org/packages/88/98/bf9e777a482ac076a6d75fad7d62b064f535244bf1771c3b2a7d41fd5920/responses-0.12.1.tar.gz
Source0: https://files.pythonhosted.org/packages/03/a5/186653e51cb20fe3ac793403334d4d077fbb7bb18a9c5c2fce8304d5a2e2/responses-0.18.0.tar.gz
BuildArch: noarch
%description
A utility library for mocking out the requests Python library.
@ -14,6 +13,7 @@ A utility library for mocking out the requests Python library.
%package -n python3-responses
Summary: A utility library for mocking out the `requests` Python library.
Provides: python-responses
# Base build requires
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pbr
@ -37,14 +37,14 @@ Provides: python3-responses-doc
A utility library for mocking out the requests Python library.
%prep
%autosetup -n responses-0.12.1
%autosetup -n responses-%{version}
%build
%py3_build
%install
%py3_install
install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
@ -74,10 +74,12 @@ mv %{buildroot}/doclist.lst .
%files -n python3-responses -f filelist.lst
%dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Wed May 18 2022 OpenStack_SIG <openstack@openeuler.org> - 0.18.0-1
- Upgrade package python3-responses to version 0.18.0
* Mon Aug 09 2021 OpenStack_SIG <openstack@openeuler.org> - 0.12.1-1
- Package Spec generate

Binary file not shown.

BIN
responses-0.18.0.tar.gz Normal file

Binary file not shown.