public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-httmock] epel10: Enable python dependency generator
@ 2026-10-10 7:52 Igor Gnatenko
0 siblings, 0 replies; only message in thread
From: Igor Gnatenko @ 2026-10-10 7:52 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-httmock
Branch : epel10
Commit : a651d52507610e93dc1cdec9e48c9d4d1e012425
Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
Date : 2019-01-04T21:47:37+01:00
Stats : +8/-6 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-httmock/c/a651d52507610e93dc1cdec9e48c9d4d1e012425?branch=epel10
Log:
Enable python dependency generator
References: https://fedoraproject.org/wiki/Changes/EnablingPythonGeneratorsByDefault
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
---
diff --git a/python-httmock.spec b/python-httmock.spec
index bb2c61e..df363e3 100644
--- a/python-httmock.spec
+++ b/python-httmock.spec
@@ -1,9 +1,10 @@
+%{?python_enable_dependency_generator}
# Created by pyp2rpm-3.3.0
%global pypi_name httmock
Name: python-%{pypi_name}
Version: 1.2.6
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: A mocking library for requests
License: ASL 2.0
@@ -12,10 +13,6 @@ Source0: https://files.pythonhosted.org/packages/source/h/httmock/httmock
Source1: https://raw.githubusercontent.com/patrys/httmock/%{version}/tests.py
BuildArch: noarch
-BuildRequires: python3-devel
-BuildRequires: python3dist(requests) >= 1.0.0
-BuildRequires: python3dist(setuptools)
-
%description
A mocking library for requests for Python.
You can use it to mock third-party APIs and test libraries
@@ -24,8 +21,10 @@ that use requests internally.
%package -n python3-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3dist(requests) >= 1.0.0
-Requires: python3dist(requests) >= 1.0.0
%description -n python3-%{pypi_name}
A mocking library for requests for Python.
You can use it to mock third-party APIs and test libraries
@@ -54,6 +53,9 @@ cp %{SOURCE1} .
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
%changelog
+* Fri Jan 04 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.2.6-5
+- Enable python dependency generator
+
* 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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-10 7:52 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:52 [rpms/python-httmock] epel10: Enable python dependency generator Igor Gnatenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox