public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/python-httmock] epel10.2: Enable python dependency generator
Date: Sat, 10 Oct 2026 07:53:04 GMT [thread overview]
Message-ID: <179161878416.1.4962246653979136026.rpms-python-httmock-a651d5250761@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-httmock
Branch : epel10.2
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.2
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
reply other threads:[~2026-10-10 7:53 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=179161878416.1.4962246653979136026.rpms-python-httmock-a651d5250761@fedoraproject.org \
--to=ignatenkobrain@fedoraproject.org \
--cc=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