public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Maxwell G <gotmax@e.email>
To: git-commits@fedoraproject.org
Subject: [rpms/ansible-collection-community-docker] epel10: Update to 2.5.0. Fixes rhbz#2086185.
Date: Tue, 10 Nov 2026 21:11:40 GMT [thread overview]
Message-ID: <179434510003.1.1132138638984118207.rpms-ansible-collection-community-docker-259326e91b24@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/ansible-collection-community-docker
Branch : epel10
Commit : 259326e91b24c025620eabe80625d4e1954b920f
Author : Maxwell G <gotmax@e.email>
Date : 2022-05-14T22:15:17-05:00
Stats : +40/-13 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/ansible-collection-community-docker/c/259326e91b24c025620eabe80625d4e1954b920f?branch=epel10
Log:
Update to 2.5.0. Fixes rhbz#2086185.
Run unit tests.
Rebuild for new ansible-packaging.
---
diff --git a/.gitignore b/.gitignore
index bc75f48..bfe4caf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
/community.docker-2.0.2.tar.gz
/community.docker-2.3.0.tar.gz
/community.docker-2.4.0.tar.gz
+/community.docker-2.5.0.tar.gz
diff --git a/ansible-collection-community-docker.spec b/ansible-collection-community-docker.spec
index e0e5cf4..dc9c430 100644
--- a/ansible-collection-community-docker.spec
+++ b/ansible-collection-community-docker.spec
@@ -2,14 +2,16 @@
%global collection_name docker
%global forgeurl https://github.com/ansible-collections/%{collection_namespace}.%{collection_name}
-# Tests are excluded, for now. They require network access and a specific build directory layout.
-%bcond_with tests
+# Only run tests where %%generate_buildrequires and test deps are available.
+%if 0%{?fedora}
+%bcond_without tests
+%else
+%bcond_with tests
+%endif
-# Docs are not built, for now.
-%bcond_with docs
Name: ansible-collection-%{collection_namespace}-%{collection_name}
-Version: 2.4.0
+Version: 2.5.0
%global tag %{version}
%forgemeta
Release: 1%{?dist}
@@ -19,15 +21,20 @@ License: GPLv3+
URL: %{ansible_collection_url}
Source0: %{forgesource}
Source1: %{name}.rpmlintrc
+Patch0: build_ignore-unnecessary-files.patch
+
+BuildArch: noarch
# Needed for %%py3_shebang_fix.
Buildrequires: python3-devel
BuildRequires: ansible-packaging
-# Prefer ansible-core
-Suggests: ansible-core
-
-BuildArch: noarch
+# The new ansible-core, specifically, is required for the `build_ignore:` patch and ansible-test to work properly.
+# Therefore, we cannot rely on ansible-packaging which might pull in ansible 2.9.
+BuildRequires: ansible-core
+%if %{with tests}
+BuildRequires: /usr/bin/ansible-test
+%endif
%description
@@ -37,13 +44,17 @@ working with Docker.
%prep
-%forgeautosetup
-find -type f -name '.gitignore' -print -delete
-rm -vr .github .azure-pipelines changelogs/fragments/.keep %{!?with_tests:tests} %{!?with_docs:docs}
+%forgeautosetup -p1
%global py3_shbang_opts %{nil}
%py3_shebang_fix .
+%if %{with tests}
+%generate_buildrequires
+%pyproject_buildrequires -N tests/unit/requirements.txt %{python3_sitelib}/ansible_test/_data/requirements/units.txt
+%endif
+
+
%build
%ansible_collection_build
@@ -53,6 +64,16 @@ rm -vr .github .azure-pipelines changelogs/fragments/.keep %{!?with_tests:tests}
%check
+%if %{with tests}
+mkdir -p ../ansible_collections/%{collection_namespace}
+cp -a $(pwd) ../ansible_collections/%{collection_namespace}/%{collection_name}
+pushd ../ansible_collections/%{collection_namespace}/%{collection_name}
+# mkdir -p ansible_collections/%%{collection_namespace}
+# ln -sr . ansible_collections/%%{collection_namespace}/%%{collection_name}
+# pushd ansible_collections/%%{collection_namespace}/%%{collection_name}
+ansible-test units --python-interpreter %{__python3} --local
+popd
+%endif
%files
@@ -62,6 +83,11 @@ rm -vr .github .azure-pipelines changelogs/fragments/.keep %{!?with_tests:tests}
%changelog
+* Sat May 14 2022 Maxwell G <gotmax@e.email> - 2.5.0-1
+- Update to 2.5.0. Fixes rhbz#2086185.
+- Run unit tests.
+- Rebuild for new ansible-packaging.
+
* Mon Apr 25 2022 Maxwell G <gotmax@e.email> - 2.4.0-1
- Update to 2.4.0.
diff --git a/sources b/sources
index bd7b1ee..e60277d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (community.docker-2.4.0.tar.gz) = 227edb91031437c2b6702fca9a98d1b0318fa72e99b880e4d4f0c5b571e6504a99e1946acf688df074d2cf247753e3f6ab57e7613be1185564a67ae7d78bb70c
+SHA512 (community.docker-2.5.0.tar.gz) = eae1676ab1d3d1c9bef22f24f202f22b9a0155fc749c00d9f53cb7a4552b93fe75e0954b002521bde5005157ed58de54b3668bdaae52f94c458f6b3394239b1b
reply other threads:[~2026-11-10 21:11 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=179434510003.1.1132138638984118207.rpms-ansible-collection-community-docker-259326e91b24@fedoraproject.org \
--to=gotmax@e.email \
--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