public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-httmock] epel10.2: Subpackage python2-httmock has been removed
@ 2026-10-10  7:53 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-10-10  7:53 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-httmock
Branch : epel10.2
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.2

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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-10  7:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-10  7:53 [rpms/python-httmock] epel10.2: Subpackage python2-httmock has been removed 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox