public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/python-httmock] epel10.3: Subpackage python2-httmock has been removed
Date: Sat, 10 Oct 2026 07:52:41 GMT [thread overview]
Message-ID: <179161876157.1.2701529260345688061.rpms-python-httmock-ba5b941d389d@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-httmock
Branch : epel10.3
Commit : ba5b941d389db8e8e354f16ce62393b48bd2258c
Author : Miro Hrončok <miro@hroncok.cz>
Date : 2019-01-04T15:20:15+01:00
Stats : +5/-26 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-httmock/c/ba5b941d389db8e8e354f16ce62393b48bd2258c?branch=epel10.3
Log:
Subpackage python2-httmock has been removed
---
diff --git a/python-httmock.spec b/python-httmock.spec
index 63f8d65..bb2c61e 100644
--- a/python-httmock.spec
+++ b/python-httmock.spec
@@ -3,7 +3,7 @@
Name: python-%{pypi_name}
Version: 1.2.6
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: A mocking library for requests
License: ASL 2.0
@@ -12,10 +12,6 @@ Source0: https://files.pythonhosted.org/packages/source/h/httmock/httmock
Source1: https://raw.githubusercontent.com/patrys/httmock/%{version}/tests.py
BuildArch: noarch
-BuildRequires: python2-devel
-BuildRequires: python2dist(requests) >= 1.0.0
-BuildRequires: python2dist(setuptools)
-
BuildRequires: python3-devel
BuildRequires: python3dist(requests) >= 1.0.0
BuildRequires: python3dist(setuptools)
@@ -25,16 +21,6 @@ A mocking library for requests for Python.
You can use it to mock third-party APIs and test libraries
that use requests internally.
-%package -n python2-%{pypi_name}
-Summary: %{summary}
-%{?python_provide:%python_provide python2-%{pypi_name}}
-
-Requires: python2dist(requests) >= 1.0.0
-%description -n python2-%{pypi_name}
-A mocking library for requests for Python.
-You can use it to mock third-party APIs and test libraries
-that use requests internally.
-
%package -n python3-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
@@ -52,25 +38,14 @@ rm -rf %{pypi_name}.egg-info
cp %{SOURCE1} .
%build
-%py2_build
%py3_build
%install
-# Must do the default python version install last because
-# the scripts in /usr/bin are overwritten with every setup.py install.
-%py2_install
%py3_install
%check
-%{__python2} setup.py test
%{__python3} setup.py test
-%files -n python2-%{pypi_name}
-%license LICENSE
-%doc README.md
-%{python2_sitelib}/%{pypi_name}.py*
-%{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
-
%files -n python3-%{pypi_name}
%license LICENSE
%doc README.md
@@ -79,6 +54,10 @@ cp %{SOURCE1} .
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
%changelog
+* Fri Jan 04 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.6-4
+- Subpackage python2-httmock has been removed
+ See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
+
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
reply other threads:[~2026-10-10 7:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179161876157.1.2701529260345688061.rpms-python-httmock-ba5b941d389d@fedoraproject.org \
--to=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox